LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Auto opening files / ftp location in XEmacs (https://www.linuxquestions.org/questions/linux-software-2/auto-opening-files-ftp-location-in-xemacs-608947/)

hackop 12-24-2007 03:47 PM

Auto opening files / ftp location in XEmacs
 
Hello,

I've been using XEmacs for a while, but I've never really dug into the dirty parts of configuring it. Recently I decided to try my hand at having it automate some of the process that I go through each time I open the app.

Usually, I open XEmacs, connect to a FTP site (using EFS), and begin my coding from there.

So far I've managed to save the username/password for the ftp site so that I need not enter it any more when I connect. My next step would be to have XEmacs automatically connect to the site when it opens.

I tried adding (find-file "ftp://name@myftphost.com:/") into my custom.el file and it does attempt to open it, but just not quite correctly.

Instead of opening "ftp://name@myftphost.com:/" it opens "/some/directory/path/ftp://name@myftphost.com:/"

It appears to be appending my URL to whatever is, by default, in the file open buffer.

How do I make it open just my URL without all the other stuff?


All times are GMT -5. The time now is 05:58 PM.