unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Greg Bognar <greg.bognar@gmail.com>
Subject: Re: recentf-mode works 'by hand' but not if started from .emacs
Date: Mon, 15 Jan 2007 02:38:36 -0500	[thread overview]
Message-ID: <pan.2007.01.15.07.38.36.865929@gmail.com> (raw)
In-Reply-To: 1168614875.355310.217590@q2g2000cwa.googlegroups.com

On Fri, 12 Jan 2007 07:14:36 -0800, roland.rau wrote:

> Dear all,
> 
> I wanted to enable the recentf-mode in GNU Emacs. If I do
> M-x recentf-mode
> it works fine.
> If I write down
> (recentf-mode t)
> in a Lisp Interaction Bufffer and 'C-x,C-e' it, it also works.
> 
> If I put, however, the same code at the end of my .emacs file
> (recentf-mode t)
> I get an error (without it, I have no errors during startup).
> 
> Can somebody tell me what I did wrong? Thanks,

I have this:

(recentf-mode 1)
(setq recentf-save-file "~/.Emacs/.recentfiles"
      recentf-max-menu-items 18
      recentf-menu-filter 'recentf-show-basenames-ascending)
(load recentf-save-file)

... and it works perfectly.

  parent reply	other threads:[~2007-01-15  7:38 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-12 15:14 recentf-mode works 'by hand' but not if started from .emacs roland.rau
2007-01-13  0:09 ` B. T. Raven
2007-01-15 17:40   ` Roland Rau
2007-01-15  7:38 ` Greg Bognar [this message]
2007-01-15 17:41   ` Roland Rau
2007-01-15 20:40     ` Greg Bognar
2007-01-15 23:44       ` Roland Rau
2007-01-16  3:22         ` Greg Bognar
2007-01-16 15:20           ` Roland Rau
2007-01-16 16:53             ` rgb
2007-01-16 17:21               ` Roland Rau
2007-01-16 18:05                 ` rgb
2007-01-16 18:48                   ` Drew Adams
2007-01-16 20:08                   ` Roland Rau
2007-01-17  4:29                     ` Greg Bognar

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=pan.2007.01.15.07.38.36.865929@gmail.com \
    --to=greg.bognar@gmail.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.
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).