From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Possible bug Date: Tue, 10 Mar 2015 21:32:32 +0100 Message-ID: <87twxs1tlr.fsf@nicolasgoaziou.fr> References: <931fda3be08d4908bfbced55e9a9c170@fcmailsvr2.familycareinc.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36608) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVQoK-0006e2-Gy for emacs-orgmode@gnu.org; Tue, 10 Mar 2015 16:31:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YVQoE-0000R0-PU for emacs-orgmode@gnu.org; Tue, 10 Mar 2015 16:31:28 -0400 Received: from relay6-d.mail.gandi.net ([2001:4b98:c:538::198]:52093) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVQoE-0000Qb-Jz for emacs-orgmode@gnu.org; Tue, 10 Mar 2015 16:31:22 -0400 In-Reply-To: <931fda3be08d4908bfbced55e9a9c170@fcmailsvr2.familycareinc.org> (Subhan Michael Tindall's message of "Tue, 10 Mar 2015 16:24:54 +0000") 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: Subhan Michael Tindall Cc: "'emacs-orgmode@gnu.org'" Hello, Subhan Michael Tindall writes: > I'm not sure if this counts as a bug or not: > > If I run a custom agenda (eg. "R") with sticky agendas, it displays in an buffer with the name > *Org Agenda (R)* > If this buffer is then renamed to e.g. > (rename-buffer "*R-Agenda*") Why would you need that? > *R-Agenda* > And is then refreshed by hitting r, the agenda is properly rebuilt BUT in a new buffer named *Org Agenda(R)*, resulting in two differing agendas. > > Is this appropriate behavior? It seems that rebuilding the agenda > should respect the current buffer name. I'm very new at programing for > lisp, so I'm not sure I'm using the right functions here. IIRC, sticky agenda relies on buffer names to know if agenda needs to be updated. So, it is not a good idea to rename agenda buffers. Regards, -- Nicolas Goaziou