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: Sun, 18 Jan 2015 14:27:41 +0100 Message-ID: References: <87fvb8qt9z.fsf@nicolasgoaziou.fr> 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]:43862) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YCptH-0002Sx-Mx for emacs-orgmode@gnu.org; Sun, 18 Jan 2015 08:27:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YCptG-0002R6-Fa for emacs-orgmode@gnu.org; Sun, 18 Jan 2015 08:27:43 -0500 Received: from mail-we0-x234.google.com ([2a00:1450:400c:c03::234]:58409) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YCptG-0002R2-8v for emacs-orgmode@gnu.org; Sun, 18 Jan 2015 08:27:42 -0500 Received: by mail-we0-f180.google.com with SMTP id m14so1931085wev.11 for ; Sun, 18 Jan 2015 05:27:41 -0800 (PST) In-Reply-To: <87fvb8qt9z.fsf@nicolasgoaziou.fr> 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: Nikolai Weibull , emacs-orgmode@gnu.org On Sun, Jan 18, 2015 at 11:26 AM, Nicolas Goaziou wrote: > Nikolai Weibull writes: > >> I=E2=80=99m bumping this again, as this feels like a bug and I=E2=80=99m= surprised >> that no one has at least responded to it. >> >> On Wed, Jan 7, 2015 at 6:51 PM, Nikolai Weibull wrote: >>> Hi! >>> >>> Anyone else experiencing this? Or is my configuration wrong in some wa= y? >>> >>> 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 displa= ying 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= seems like it=E2=80=99s >>>> a bug. Either org-agenda-buffer-name isn=E2=80=99t being set correctl= y or >>>> (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 = what it is, so >>>> that I can begin to try to remember to press g whenever I=E2=80=99ve u= pdated >>>> the restriction lock. > > According to the manual I realize that you have to update it manually, but wouldn=E2=80=99t it make sense to have it be updated automatically when you call org-agenda-(set|remove)-restriction-lock? At least when you do so from the Agenda itself?