As pointed out in the Emacs wiki, recentf.el lacks a minibuffer
    interface, and several ways of accessing recent files from the
    minibuffer are presented there (see
    http://www.emacswiki.org/cgi-bin/wiki/RecentFiles).

FYI - I have added your code to that Web page. Thanks. Please consider
posting it as a library to both [email protected] and
http://www.emacswiki.org/cgi-bin/wiki/ElispArea.

    These all use just the unstructured recentf-list. But one of the
    features of recentf.el that I find most useful is the possibility
    of filtering recentf-list and structuring the recent file menu in
    accordance with the filter.

FYI - An alternative to using your code is to access recentf structured
menus (from filtering) using `icicle-menu.el'
(http://www.emacswiki.org/cgi-bin/wiki/icicles-menu.el).

For example, if you've chosen to structure recentf menus by directory
(`recentf-arrange-by-dir') and you type "recent" at the
`icicle-execute-menu-command' prompt, then you will see completion
candidates like this:

 File > Open Recent > /my-lisp/ (34) > icicle-menu.el
 File > Open Recent > /my-lisp/my-subdir/ (2) > recentf-berman.el



_______________________________________________
gnu-emacs-sources mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources

Reply via email to