emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: AW <alexander.willand@t-online.de>
To: Nicolas Richard <theonewiththeevillook@yahoo.fr>
Cc: emacs-orgmode@gnu.org
Subject: Re: minor mode recentf: show only *.tex and *.org files?!
Date: Tue, 25 Jun 2013 15:21:02 +0200	[thread overview]
Message-ID: <1765245.ETjRFNIUMu@linux-ik7b.site> (raw)
In-Reply-To: <51C98F96.9080005@yahoo.fr>

Am Dienstag, 25. Juni 2013, 14:39:50 schrieb Nicolas Richard:
> Le 25/06/2013 14:30, AW a écrit :
> >  (setq recentf-exclude '(
> >  
> >    "/diary[0-9]\{4\}[a-zA-Z]\{2,4\}$"
> > 
> > ))
> 
> You have to double the backslashes. Reason is that when lisp reads the
> string, it translates it into
> /diary[0-9]{4}[a-zA-Z]{2,4}$
> which is not the regexp you want.

I get lots of lines like "c:/Users/aw/AppData/Local/Temp/diary1234ABc" , 
despite duplication of backlashes.

Hm. Tried with leading "/" and without, same result. So I inserted a whole 
filename including path instead of an regex and this failed as well. It seems 
the whole recentf-exclude does not work, at least under windows 7. I created a 
testfile Test.org and tried to exclude it in various ways, but without success.

Dammit. Can it be the leading "/"?

However, thank you for your very appreciated help!

Regards,

Alexander

  reply	other threads:[~2013-06-25 13:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-25 10:06 minor mode recentf: show only *.tex and *.org files?! AW
2013-06-25 10:34 ` Nicolas Richard
2013-06-25 12:30   ` AW
2013-06-25 12:39     ` Nicolas Richard
2013-06-25 13:21       ` AW [this message]
2013-06-25 14:24         ` Nicolas Richard
2013-06-25 14:10       ` AW

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.orgmode.org/

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

  git send-email \
    --in-reply-to=1765245.ETjRFNIUMu@linux-ik7b.site \
    --to=alexander.willand@t-online.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=theonewiththeevillook@yahoo.fr \
    /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 public inbox

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

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).