all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Sebastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
To: help-gnu-emacs-mXXj517/zsQ@public.gmane.org
Subject: How to load recentf only after opening/saving a file for the first time?
Date: Fri, 07 Sep 2012 15:45:56 +0200	[thread overview]
Message-ID: <80txvarlnv.fsf@somewhere.org> (raw)

Hello,

Always with the same performance-oriented analysis of my .emacs file, I'm
trying to require recentf not during the startup, but later, as soon as it's
really needed. Not that heavy, but every little flow participate in the big
ocean...

I guess the right time to require recentf is the first time we open or save a
file.

Though, for opening, the only hook available is run after find-file, so too
late to save the first opened file, it seems.

What would be a correct way to delay the require of recentf?

Best regards,
Seb

-- 
Sebastien Vauban


             reply	other threads:[~2012-09-07 13:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-07 13:45 Sebastien Vauban [this message]
2012-09-07 14:34 ` How to load recentf only after opening/saving a file for the firsttime? Drew Adams
     [not found] ` <mailman.8316.1347028472.855.help-gnu-emacs@gnu.org>
2012-09-07 14:57   ` Sebastien Vauban
2012-09-07 15:48     ` How to load recentf only after opening/saving a file for thefirsttime? Drew Adams
     [not found]     ` <mailman.8322.1347032903.855.help-gnu-emacs@gnu.org>
2012-09-13  7:37       ` Sebastien Vauban
2012-09-13 13:15         ` Stefan Monnier
2012-09-13 14:48         ` How to load recentf only after opening/saving a file forthefirsttime? Drew Adams

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=80txvarlnv.fsf@somewhere.org \
    --to=wxhgmqzgwmuf-genee64ty+gs+fvcfc7uqw@public.gmane.org \
    --cc=help-gnu-emacs-mXXj517/zsQ@public.gmane.org \
    /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.