From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Goldman Subject: Re: Org agenda and recent files list.... Date: Fri, 10 Aug 2012 15:39:26 -0500 Message-ID: <5025717E.5010108@sift.info> References: <502487A7.7060307@sift.info> <87wr1743go.fsf@gnu.org> Reply-To: rpgoldman@sift.info Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41850) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SzvzV-0003Y8-L8 for emacs-orgmode@gnu.org; Fri, 10 Aug 2012 16:39:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SzvzU-0005pC-Gs for emacs-orgmode@gnu.org; Fri, 10 Aug 2012 16:39:29 -0400 Received: from 23-25-144-217-static.hfc.comcastbusiness.net ([23.25.144.217]:56058 helo=mpls.sift.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SzvzU-0005ok-AZ for emacs-orgmode@gnu.org; Fri, 10 Aug 2012 16:39:28 -0400 In-Reply-To: <87wr1743go.fsf@gnu.org> 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: Bastien Cc: Org Mode On 8/10/12 Aug 10 -2:21 AM, Bastien wrote: > Robert Goldman writes: >=20 >> ;;;-------------------------------------------------------------------= -------- >> ;;; Agenda files shouldn't get entries in the recentf-list >> ;;;-------------------------------------------------------------------= -------- >=20 > Knowing about `recentf-exclude' will certainly help many users,=20 > not only for excluding Org files. >=20 > Thanks, >=20 For what it's worth, a more fine-grained alternative would be to get inside org-get-agenda-file-buffer and inhibit the recentf caching while calling find-file inside there. That would allow you to have an agenda file appear in the recent files list IF it was opened through a manual use of find-file, but NOT if it was opened as a side effect of loading an agenda. This more fine-grained approach was a little more work than I wanted to do, and didn't necessarily provide me a lot more value, so I didn't bother with it. But someone else might find it worth coding up. Chacun =E0 son org configuration! Cheers, r