From: Andreas Politz <politza@fh-trier.de>
To: help-gnu-emacs@gnu.org
Subject: Re: recentf exclude question
Date: Thu, 10 Sep 2009 01:43:31 +0200 [thread overview]
Message-ID: <87vdjr8z18.fsf@fh-trier.de> (raw)
In-Reply-To: _Kmdna1L97JMhjXXnZ2dnUVZ_jqdnZ2d@sysmatrix.net
"B. T. Raven" <nihil@nihilo.net> writes:
> I want only .txt, .tex, and the .emacs files listed in recentf (under
> Open Recent). Is there some way to construct a regular expression to
> prevent other opened files from being added to the list?
>
> Thanks,
> Ed
Try this.
(setq recentf-exclude nil
recentf-include '("\\.t\\(ex\\|xt\\)\\'" "\\`\\.emacs\\'"))
-ap
next prev parent reply other threads:[~2009-09-09 23:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-09 21:19 recentf exclude question B. T. Raven
2009-09-09 23:43 ` Andreas Politz [this message]
[not found] ` <mailman.6340.1252539848.2239.help-gnu-emacs@gnu.org>
2009-09-10 1:07 ` B. T. Raven
2009-09-10 8:00 ` Peter Dyballa
2009-09-10 12:32 ` Andreas Politz
[not found] ` <mailman.6383.1252585965.2239.help-gnu-emacs@gnu.org>
2009-09-10 17:39 ` B. T. Raven
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=87vdjr8z18.fsf@fh-trier.de \
--to=politza@fh-trier.de \
--cc=help-gnu-emacs@gnu.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.