So what I normally do is just jump to the bookmark and then find-file
from there, which is a bit slow...
Any idea to make them work together?
Something like
C-x C-f <bookmark name>/file.xyz
would be nice...
Have a look at `anything' (http://www.emacswiki.org/emacs/Anything). It's a
great package for "finding" and opening files on your file system...
Best regards,
Seb
--
Sébastien Vauban
In Icicles, anytime you use a file-access command such as `C-x C-f' you can
access file bookmarks by using `C-x m' in the minibuffer.
The completion candidates are only the file bookmarks (not Info, desktop, Gnus,
Man, W3M, etc. bookmarks). You can access any number of files through their
bookmarks in a single `C-x C-f' command, because it is a multi-command.
Similarly, you can access Dired bookmarks whenever you use `C-x d', buffer
bookmarks when you use `C-x b', Info bookmarks when you use `g' (goto-node) in
Info, etc.
http://www.emacswiki.org/emacs/Icicles_-_File-Name_Input
http://www.emacswiki.org/emacs/Icicles_-_Bookmark_Enhancements
http://www.emacswiki.org/emacs/Icicles_-_More_About_Multi-Commands
You also need Bookmark+ to use this Icicles feature.
Change `ido-temp-list' inside a `ido-make-file-list-hook'.
(add-hook 'ido-make-file-list-hook
(lambda nil
(setq ido-temp-list
(append ido-temp-list
(delq nil (mapcar 'bookmark-get-filename
bookmark-alist))))))
-ap
Here's what I do:
http://scottfrazersblog.blogspot.com/2009/12/emacs-using-bookmarked-directories.html
Scott
> I'm still looking for the holy grail of fast access...
I find anything to be quite cool, loads of oportunity for you to plug
your own sources behaving the way you want, very extensible.
> The thing is that now I have my nice bookmarks to some directories, but
> when I do find-file (ido-find-file actually) I have no access to them.
>
>
> So what I normally do is just jump to the bookmark and then find-file
> from there, which is a bit slow...
> Any idea to make them work together?
>
> Something like
> C-x C-f <bookmark name>/file.xyz
> would be nice...
You can check it out on:
- http://www.emacswiki.org/emacs/Anything
cheers,
Glauber.
a rather crude solution (that works) would be to put
(setenv "bm1" "mydirectory1")
(setenv "bm2" "mydirectory2")
...
in your .emacs
then you could do:
C-x C-f $bm1/some_file