help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bookmarks and find-file


From: Andreas Politz
Subject: Re: bookmarks and find-file
Date: Wed, 08 Dec 2010 15:18:28 -0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Andrea Crotti <andrea.crotti.0@gmail.com> writes:

> I'm still looking for the holy grail of fast access...
> 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...

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]