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 22:22:45 -0500	[thread overview]
Message-ID: <pan.2007.01.16.03.22.45.195560@gmail.com> (raw)
In-Reply-To: eoh3kf$s1s$1@gargoyle.oit.duke.edu

On Mon, 15 Jan 2007 18:44:14 -0500, Roland Rau wrote:

> Greg Bognar wrote:
>> 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)
>>>>
>> 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?
> 
> When I included the aforementioned code snipped in my .emacs file, I had
> the same behavior again as I had in my initial post. So I decided to map
> it to one key and then, surprisingly, everything works...

Do you have the file that holds the list of recent files, that is,
~/.Emacs/.recentfiles (or whatever you set that variable or, if you don't
set it, ~/.recentf, which I think is that default)?  Have you modified the
menus?  What happens if you run Emacs with an ~/.emacs which only
contains the line (recentf-mode 1)?  Do you get the submenu in the File
menu?

  reply	other threads:[~2007-01-16  3:22 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
2007-01-15 23:44       ` Roland Rau
2007-01-16  3:22         ` Greg Bognar [this message]
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.16.03.22.45.195560@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).