From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Possible to exclude/include tags for agenda custom commands? Date: Mon, 24 Feb 2020 10:14:34 +0100 Message-ID: <87d0a4xs79.fsf@gnu.org> References: <8736bfxwu0.fsf@bzg.fr> <874kvl8aoc.fsf@ericabrahamsen.net> <87d0a99nph.fsf@gnu.org> <87v9o16tga.fsf@ericabrahamsen.net> <87mu9d6q0m.fsf@ericabrahamsen.net> <87imk12i19.fsf@gnu.org> <878skxavgf.fsf@ericabrahamsen.net> <87mu994ete.fsf@gnu.org> <87ftf1xbtu.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:33888) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j69oz-0001sm-KF for emacs-orgmode@gnu.org; Mon, 24 Feb 2020 04:14:38 -0500 In-Reply-To: <87ftf1xbtu.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Sun, 23 Feb 2020 12:55:57 -0800") 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-mx.org@gnu.org Sender: "Emacs-orgmode" To: Eric Abrahamsen Cc: emacs-orgmode@gnu.org Hi Eric, Eric Abrahamsen writes: > The key is having `org-agenda-sticky' set to t -- this means that we'll > let-bind buffer-local variables in a buffer where they're already > set. thanks for the reproducible example, I was able to get the warning. You can safely ignore it: when redoing sticky agenda, we need to let-bind the values as explicitely set in the agenda custom command (here the org-agenda-tag-filter value) while preparing the agenda requires the variables to be made local. I don't see what can be done and I don't think there hidden bugs lingering around here. Best, -- Bastien