[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] minor mode recentf: show only *.tex and *.org files?!
From: |
AW |
Subject: |
Re: [O] minor mode recentf: show only *.tex and *.org files?! |
Date: |
Tue, 25 Jun 2013 15:21:02 +0200 |
User-agent: |
KMail/4.10.4 (Linux/3.9.6-13.g8ead728-desktop; KDE/4.10.80; x86_64; ; ) |
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