From mboxrd@z Thu Jan 1 00:00:00 1970 From: AW Subject: Re: minor mode recentf: show only *.tex and *.org files?! Date: Tue, 25 Jun 2013 16:10:38 +0200 Message-ID: <2725935.odC4siv4gP@linux-ik7b.site> References: <1491756.k2ybY6NjeE@linux-ik7b.site> <2970376.3AR5okv97l@linux-ik7b.site> <51C98F96.9080005@yahoo.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58700) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UrTs0-0007YY-C1 for emacs-orgmode@gnu.org; Tue, 25 Jun 2013 10:05:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UrTrw-0007Ma-VH for emacs-orgmode@gnu.org; Tue, 25 Jun 2013 10:05:20 -0400 Received: from mailout09.t-online.de ([194.25.134.84]:40656) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UrTrw-0007L0-N0 for emacs-orgmode@gnu.org; Tue, 25 Jun 2013 10:05:16 -0400 In-Reply-To: <51C98F96.9080005@yahoo.fr> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Cc: Nicolas Richard Am Dienstag, 25. Juni 2013, 14:39:50 schrieb Nicolas Nicolas Richard: > Le 25/06/2013 14:30, AW a =E9crit : > > (setq recentf-exclude '( > > =20 > > "/diary[0-9]\{4\}[a-zA-Z]\{2,4\}$" > >=20 > > )) >=20 > You have to double the backslashes. Reason is that when lisp reads th= e > 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 amend= ed:=20 "The variable recentf-exclude has to be set before your require recentf= ."=20 When I put my setting before (require 'recentf), it works! Regards, Alexander