all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Reiner Steib <reinersteib+from-uce@imap.cc>
Subject: Re: recentf: abbreviate paths? tilde for home folder?
Date: Mon, 01 Aug 2005 16:18:00 +0200	[thread overview]
Message-ID: <v93bptd9lz.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: mailman.2231.1122900523.20277.help-gnu-emacs@gnu.org

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/

       reply	other threads:[~2005-08-01 14:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.2231.1122900523.20277.help-gnu-emacs@gnu.org>
2005-08-01 14:18 ` Reiner Steib [this message]
     [not found]   ` <v93bptd9lz.fsf-WZbs9ZYJ0ya4nSHvGpykACzlmkwuQ7VwhC4ANOJQIlc@public.gmane.org>
2005-08-01 14:53     ` Making recentf-menu-filter a list (was: recentf: abbreviate paths? tilde for home folder?) Jochen Küpper
2005-08-02 17:25   ` recentf: abbreviate paths? tilde for home folder? Kevin Rodgers
     [not found]   ` <mailman.2244.1122908513.20277.help-gnu-emacs@gnu.org>
2005-08-02 18:14     ` Making recentf-menu-filter a list Reiner Steib
2005-08-04 18:00       ` Kevin Rodgers
     [not found]   ` <mailman.2353.1123004606.20277.help-gnu-emacs@gnu.org>
2005-08-02 18:47     ` recentf: abbreviate paths? tilde for home folder? Reiner Steib
2005-08-04 17:12 David Reitter
  -- strict thread matches above, loose matches on Subject: below --
2005-08-01 12:44 David Reitter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=v93bptd9lz.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+from-uce@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.