unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Customizing recentf
@ 2006-08-25 15:53 Michael Mauger
  2006-08-28  9:52 ` Richard Stallman
  0 siblings, 1 reply; 10+ messages in thread
From: Michael Mauger @ 2006-08-25 15:53 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2006-08-31 17:11 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-25 15:53 Customizing recentf Michael Mauger
2006-08-28  9:52 ` 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

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).