From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug in Sticky Agendas Date: Sat, 06 Jan 2018 10:15:10 +0100 Message-ID: <871sj38i1t.fsf@nicolasgoaziou.fr> References: <87shbriot5.fsf@gnu.org> <87incfrj7q.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37214) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eXkZT-0006ib-6K for emacs-orgmode@gnu.org; Sat, 06 Jan 2018 04:15:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eXkZS-0001jq-BD for emacs-orgmode@gnu.org; Sat, 06 Jan 2018 04:15:19 -0500 In-Reply-To: <87incfrj7q.fsf@gnu.org> (Ian Dunn's message of "Fri, 05 Jan 2018 18:15:05 -0500") 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" To: Ian Dunn Cc: emacs-orgmode@gnu.org Hello, Ian Dunn writes: > I went ahead and looked into this myself. Looks like the issue is that > the properties (lprops) are set using symbol properties with > org-agenda-redo-command, which is buffer-local. However, according to > the elisp manual (at least for the upcoming 26.1 release), symbol > properties aren't buffer-local; only the value itself is. Thus, lprops > are overridden by a new agenda. > > I've created the following patch to address this. The symbol property > is used as a temporary variable, but the actual lprops are stored as > a buffer-local variable to each agenda buffer. Thank you. It looks good. Could you send it again with a proper commit message so I can apply it? Regards, -- Nicolas Goaziou