On Mon, Aug 01 2005, David Reitter wrote: > How can I get recentf to show abbreviated paths in the "Open Recent" > menu? That is, show paths just like in buffer names, where path > names are shown only where necessary in order to distinguish between > existing buffers.
[ In Emacs 22 (CVS)...] (setq recentf-menu-filter 'recentf-show-basenames) or `M-x customize-variable RET recentf-menu-filter RET' > At least, I'd like to be able to replace my home folder with a tilde where > possible. (defun rs-recentf-filename-handler (name) (replace-regexp-in-string (concat "\\`" (expand-file-name "~")) "~" name)) (setq recentf-filename-handler 'rs-recentf-filename-handler) Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/ _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs