From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikolai Weibull Subject: Re: Sticky agendas not redone when using org-agenda-(set|remove)-restriction-lock Date: Wed, 7 Jan 2015 18:51:24 +0100 Message-ID: References: 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]:53310) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y8ulT-0005LY-Ka for emacs-orgmode@gnu.org; Wed, 07 Jan 2015 12:51:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y8ulS-0008QC-61 for emacs-orgmode@gnu.org; Wed, 07 Jan 2015 12:51:27 -0500 Received: from mail-wi0-x236.google.com ([2a00:1450:400c:c05::236]:44983) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y8ulR-0008Pz-U5 for emacs-orgmode@gnu.org; Wed, 07 Jan 2015 12:51:26 -0500 Received: by mail-wi0-f182.google.com with SMTP id h11so2184169wiw.3 for ; Wed, 07 Jan 2015 09:51:24 -0800 (PST) In-Reply-To: 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 Hi! Anyone else experiencing this? Or is my configuration wrong in some way? On Mon, Dec 22, 2014 at 7:10 PM, Nikolai Weibull wrote: > Hi! > > It seems that agendas created when org-agenda-sticky-mode is t aren=E2=80= =99t > automatically redone when calling > org-agenda-(set|remove)-restriction-lock. The reason is that > (org-agenda-maybe-redo) checks whether there=E2=80=99s a window displayin= g a > buffer named org-agenda-buffer-name. Org-agenda-buffer-name is, for > some reason, not set to the (buffer-name) for these sticky agendas > (which get the key that was selected as a suffix, for example, =E2=80=9C*= Org > Agenda(p)*=E2=80=9D). > > I don=E2=80=99t know whether there=E2=80=99s a reason for this, but it se= ems like it=E2=80=99s > a bug. Either org-agenda-buffer-name isn=E2=80=99t being set correctly o= r > (org-agenda-maybe-redo) should be using (buffer-name) instead of > org-agenda-buffer-name. > > If there=E2=80=99s a reason for this, I=E2=80=99d really like to know wha= t it is, so > that I can begin to try to remember to press g whenever I=E2=80=99ve upda= ted > the restriction lock. > > Thanks!