From: Tak Ota <Takaaki.Ota@am.sony.com>
To: david@dponce.com, emacs-devel@gnu.org
Subject: recentf ignores directory
Date: Mon, 8 Dec 2008 18:43:36 -0800 [thread overview]
Message-ID: <20081208.184336.84301573.Takaaki.Ota@am.sony.com> (raw)
I don't find a way to customize recentf to remember opened directory
names as well as file names. So I have the following customization in
my .emacs. Don't you think it is generally useful if the recentf
remembers directory names as well?
(defun recentf-track-opened-directory (dir)
"Insert the name of the directory just opened into the recent list."
(recentf-add-file dir)
nil)
(add-to-list 'recentf-used-hooks '(find-directory-functions recentf-track-opened-directory))
-Tak
I don't subscribe to the emacs-devel list so please include the
address explicitly for the correspondence.
next reply other threads:[~2008-12-09 2:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-09 2:43 Tak Ota [this message]
2008-12-09 13:58 ` recentf ignores directory Stephen Berman
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=20081208.184336.84301573.Takaaki.Ota@am.sony.com \
--to=takaaki.ota@am.sony.com \
--cc=david@dponce.com \
--cc=emacs-devel@gnu.org \
/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.