[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 16:10:38 +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 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.
Maybe the description of the variable "recentf-exclude" should be amended:
"The variable recentf-exclude has to be set before your require recentf."
When I put my setting before (require 'recentf), it works!
Regards,
Alexander