From: Michael Mauger <mmaug@yahoo.com>
Subject: Customizing recentf
Date: Fri, 25 Aug 2006 15:53:14 +0000 (UTC) [thread overview]
Message-ID: <loom.20060825T173731-201@post.gmane.org> (raw)
I updated my w32 build two days ago to replace a late-June build (via a make
bootstrap). The first thing I noticed was that my recentf list of recently
editted files was missing.
I use Customize to enable and configure recentf. I have the following in my
custom-set-variables:
'(recentf-mode t)
'(recentf-save-file "~/.emacs-recentf")
Debugging the issue, it appears that recentf was being enabled before the
recentf-save-file variable was set. So it was reading the (non-existent)
~/.recentf (thus an empty list of recently used files), but when I left Emacs
it was saving to the file I had customized.
If I changed the recentf-mode line to:
'(recentf-mode t nil (recentf))
it works as desired. However, if I customize anything, the line reverts back
to the original. Obviously, getting rid of the save-file customization would
work too.
I dug a little deeper, and saw that activation of minor modes under customize
should be delayed to address just this issue, but the process of trying to
figure out what went wrong began to make my brain go "owwwie".
Anyone else seeing this? I can provide additional info if it would be helpful.
This is GNU Emacs 22.0.50.1 (i386-mingw-nt5.1.2600)
of 2006-08-23 on ASSHOLE1
(Yes, that is the name of my machine ;-) )
-- Michael Mauger
next reply other threads:[~2006-08-25 15:53 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-25 15:53 Michael Mauger [this message]
2006-08-28 9:52 ` Customizing recentf Richard Stallman
2006-08-28 15:02 ` Stefan Monnier
2006-08-29 11:47 ` Richard Stallman
2006-08-29 19:04 ` Stefan Monnier
2006-08-29 23:09 ` Michael Mauger
2006-08-30 0:32 ` Michael Mauger
2006-08-30 17:17 ` Stefan Monnier
2006-08-30 17:58 ` Richard Stallman
2006-08-31 17:11 ` Stefan Monnier
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20060825T173731-201@post.gmane.org \
--to=mmaug@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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).