From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Cubizolles Subject: Re: org-agenda-files for calfw Date: Thu, 27 Aug 2015 23:35:43 +0200 Message-ID: <87lhcwpg7k.fsf@free.fr> References: <871tep7x63.fsf@free.fr> <87zj1clqrj.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48495) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZV4pq-0006OZ-HT for emacs-orgmode@gnu.org; Thu, 27 Aug 2015 17:35:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZV4pm-0004rv-EG for emacs-orgmode@gnu.org; Thu, 27 Aug 2015 17:35:50 -0400 Received: from smtp2-g21.free.fr ([212.27.42.2]:57617) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZV4pl-0004rG-J7 for emacs-orgmode@gnu.org; Thu, 27 Aug 2015 17:35:46 -0400 Received: from lago (unknown [82.244.252.119]) by smtp2-g21.free.fr (Postfix) with ESMTPS id 4E5B94B0070 for ; Thu, 27 Aug 2015 23:35:44 +0200 (CEST) In-Reply-To: <87zj1clqrj.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Thu, 27 Aug 2015 16:01:20 +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 Eric S Fraga writes: > On Thursday, 27 Aug 2015 at 14:06, Julien Cubizolles wrote: >> I'd like to choose only a few of my org-agenda-files to be displayed by >> cfw:open-org-calendar. I couldn't find a variable for that. Should I use >> some temporary variable to store the content of the real >> org-agenda-files while launching calfw or is there an easier way=C2=A0? > > You could try advising the function maybe? > > https://www.gnu.org/software/emacs/manual/html_node/elisp/Advising-Functi= ons.html Thanks for this advice... I'll try to something with make-local-variable in an advice around the function calling the agenda. Julien.