all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: recentf: abbreviate paths? tilde for home folder?
Date: Tue, 02 Aug 2005 11:25:21 -0600	[thread overview]
Message-ID: <dcoaa3$9ph$1@sea.gmane.org> (raw)
In-Reply-To: <v93bptd9lz.fsf@marauder.physik.uni-ulm.de>

Reiner Steib wrote:
 > On Mon, Aug 01 2005, David Reitter wrote:
 >>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)

Why not just (setq recentf-filename-handler 'abbreviate-file-name)

-- 
Kevin Rodgers

  parent reply	other threads:[~2005-08-02 17:25 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   ` Kevin Rodgers [this message]
     [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='dcoaa3$9ph$1@sea.gmane.org' \
    --to=ihs_4664@yahoo.com \
    /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.