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