From mboxrd@z Thu Jan 1 00:00:00 1970 From: mohamed Subject: Re: Org agenda and recent files list.... Date: Mon, 3 Feb 2014 09:55:16 +0000 (UTC) Message-ID: References: <502487A7.7060307@sift.info> <87wr1743go.fsf@gnu.org> <5025717E.5010108@sift.info> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43575) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAGFo-00073b-Ma for emacs-orgmode@gnu.org; Mon, 03 Feb 2014 04:55:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WAGFi-0002VA-Dc for emacs-orgmode@gnu.org; Mon, 03 Feb 2014 04:55:48 -0500 Received: from plane.gmane.org ([80.91.229.3]:40937) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAGFi-0002V4-6v for emacs-orgmode@gnu.org; Mon, 03 Feb 2014 04:55:42 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WAGFf-0002IF-GP for emacs-orgmode@gnu.org; Mon, 03 Feb 2014 10:55:39 +0100 Received: from 163.116.6.14 ([163.116.6.14]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Feb 2014 10:55:39 +0100 Received: from mohamed.hibti by 163.116.6.14 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Feb 2014 10:55:39 +0100 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 Robert Goldman sift.info> writes: > > On 8/10/12 Aug 10 -2:21 AM, Bastien wrote: > > Robert Goldman sift.info> writes: > > > >> ;;;--------------------------------------------------------------------------- > >> ;;; Agenda files shouldn't get entries in the recentf-list > >> ;;;--------------------------------------------------------------------------- > > > > Knowing about `recentf-exclude' will certainly help many users, > > not only for excluding Org files. > > > > Thanks, > > > > 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 > à son org configuration! > > Cheers, > r > > It seems that absolute paths are needed in the definition of org files. If org-agenda-files is defined using ~/org/.. this may not work since recentf uses absolute paths. Cheers, Mohamed