all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "rgb" <rbielaws@i1.net>
Subject: Re: recentf-mode works 'by hand' but not if started from .emacs
Date: 16 Jan 2007 10:05:41 -0800	[thread overview]
Message-ID: <1168970738.841790.271720@l53g2000cwa.googlegroups.com> (raw)
In-Reply-To: eoj1ib$sjd$1@gargoyle.oit.duke.edu

> >> 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?
> >> I get the same error message as in my initial post.
> >>
> >> Thanks again. Do you have any other idea?
> >>
> > You need (require 'recentf) in your .emacs!
> >
> But this does not give me the menu on top, right?
> If I include and have it followed by the (recentf-mode t), I have again
> the same error. :-(
>
As I re-read this post 2 things jump out at me.
1) When it 'works' you are doing something that makes recentf autoload
   Thus my suggestion that you need (require 'recentf)
2) every time you get the error you are using (recentf-mode t)
rather than putting '(recentf-mode t) in your (custom-set-variables ...
section.

There is obviously a difference although I have no idea what it might
be.  Turning on debug-on-error should show a trace of the activity that
leads to your error.

  reply	other threads:[~2007-01-16 18:05 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
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 [this message]
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1168970738.841790.271720@l53g2000cwa.googlegroups.com \
    --to=rbielaws@i1.net \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.