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: Tue, 02 Aug 2005 20:47:06 +0200	[thread overview]
Message-ID: <v9psswch1x.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: mailman.2353.1123004606.20277.help-gnu-emacs@gnu.org

On Tue, Aug 02 2005, Kevin Rodgers wrote:

> Reiner Steib wrote:
[...]
>  > (defun rs-recentf-filename-handler (name)
>  >   (replace-regexp-in-string (concat "\\`" (expand-file-name "~")) "~"
>      name))
>  > (setq recentf-filename-handler 'rs-recentf-filename-handler)
>
> Why not just (setq recentf-filename-handler 'abbreviate-file-name)

Thanks for pointing this out.  I think `abbreviate-file-name' should
be added as a choice in the defcustom of `recentf-filename-handler'.

[ BTW: Emacs 21 doesn't offer `recentf-filename-handler' so it might
  not be useful for David. ]

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

  parent reply	other threads:[~2005-08-02 18:47 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 ` recentf: abbreviate paths? tilde for home folder? Reiner Steib
     [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     ` Reiner Steib [this message]
2005-08-04 17:12 recentf: abbreviate paths? tilde for home folder? 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=v9psswch1x.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.