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 15:40:14 -0500	[thread overview]
Message-ID: <pan.2007.01.15.20.40.13.291531@gmail.com> (raw)
In-Reply-To: eogebe$h5r$2@gargoyle.oit.duke.edu

On Mon, 15 Jan 2007 12:41:00 -0500, Roland Rau wrote:

> Greg Bognar wrote:
>> 
>> 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.
>> 
>> 
> Thanks, surprisingly the behavior of 'my' emacs did not change. :-(
> 
> I thought the simplest solution is to do a global keymapping:
> (global-set-key [f8] 'recentf-mode)

I am a bit confused.  Here's an excerpt from recentf.el:

;;; recentf.el --- setup a menu of recently opened files
[...]
;;; Commentary:

;; This package maintains a menu for visiting files that were operated
;; on recently.  When enabled a new "Open Recent" sub menu is
;; displayed in the "Files" menu. 
[...]

Why do you want to bind it to any key?  You should just put the code in
your .emacs, and use the submenu of the file menu to open recent files. 
Does that work?

  reply	other threads:[~2007-01-15 20:40 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
2007-01-15 17:41   ` Roland Rau
2007-01-15 20:40     ` Greg Bognar [this message]
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.20.40.13.291531@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).