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