I access a lot of files from a certain directory which is not ~ but say: D:\Mijn documenten\My Dropbox.

What is the quickest way to 'find' a file in that directory within a new Emacs session? Using bookmarks?

link|improve this question

38% accept rate
feedback

4 Answers

up vote 1 down vote accepted

I typically switch to another buffer editing a file in that common directory so that when I C-x C-f to find a new file, the path is already showing the directory I want.

This works for new sessions because I have desktop-save-mode enabled to save my session when I exit emacs (and the only time I exit emacs is if I'm updating emacs or have to reboot my machine).

link|improve this answer
feedback

ido is really nice for this exact reason. These are the sites where I first read about it:

link|improve this answer
feedback

You can open any directory you choose in dired. (C-xd and directory name.) You can search for the filename in the dired buffer.

If you simply want to change the current directory to be /something/else instead of ~, you can do M-x cd and change it to the directory you want. The next time you do C-x C-f to open a file, you will be in the different directory.

link|improve this answer
feedback

Also take a look at Speedbar.

Speedbar is another frame which displays information about the current buffer, allowing you to better navigate your sources.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.