From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Richard Subject: Re: minor mode recentf: show only *.tex and *.org files?! Date: Tue, 25 Jun 2013 16:24:41 +0200 Message-ID: <87bo6ue09i.fsf@yahoo.fr> References: <1491756.k2ybY6NjeE@linux-ik7b.site> <2970376.3AR5okv97l@linux-ik7b.site> <51C98F96.9080005@yahoo.fr> <1765245.ETjRFNIUMu@linux-ik7b.site> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36093) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UrUAn-0008SO-Es for emacs-orgmode@gnu.org; Tue, 25 Jun 2013 10:24:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UrUAl-0005pM-5m for emacs-orgmode@gnu.org; Tue, 25 Jun 2013 10:24:45 -0400 Received: from mxin.ulb.ac.be ([164.15.128.112]:23815) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UrUAk-0005pA-TX for emacs-orgmode@gnu.org; Tue, 25 Jun 2013 10:24:43 -0400 In-Reply-To: <1765245.ETjRFNIUMu@linux-ik7b.site> (AW's message of "Tue, 25 Jun 2013 15:21:02 +0200") 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: AW Cc: emacs-orgmode@gnu.org AW writes: > I get lots of lines like "c:/Users/aw/AppData/Local/Temp/diary1234ABc" , > despite duplication of backlashes. As you noticed in your next mesasge, you should activate recentf only after setting this variable. Alternatively, you can call (recentf-cleanup) after you set the variable. Sorry I didn't mention it, when testing I called recentf-cleanup without even thinking about it. For the record, I also looked at the variable recentf-exclude description and I see that you can also add predicates to it, hence my suggestion for "only org and tex files" could be very much simplified (at least de-obfuscated) by writing a small lisp function. -- Nico.