emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Sticky agendas not redone when using org-agenda-(set|remove)-restriction-lock
@ 2014-12-22 18:10 Nikolai Weibull
  2015-01-07 17:51 ` Nikolai Weibull
  0 siblings, 1 reply; 18+ messages in thread
From: Nikolai Weibull @ 2014-12-22 18:10 UTC (permalink / raw)
  To: emacs-orgmode

Hi!

It seems that agendas created when org-agenda-sticky-mode is t aren’t
automatically redone when calling
org-agenda-(set|remove)-restriction-lock.  The reason is that
(org-agenda-maybe-redo) checks whether there’s a window displaying 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, “*Org
Agenda(p)*”).

I don’t know whether there’s a reason for this, but it seems like it’s
a bug.  Either org-agenda-buffer-name isn’t being set correctly or
(org-agenda-maybe-redo) should be using (buffer-name) instead of
org-agenda-buffer-name.

If there’s a reason for this, I’d really like to know what it is, so
that I can begin to try to remember to press g whenever I’ve updated
the restriction lock.

Thanks!

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2015-08-23  7:54 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-22 18:10 Sticky agendas not redone when using org-agenda-(set|remove)-restriction-lock Nikolai Weibull
2015-01-07 17:51 ` Nikolai Weibull
2015-01-18  9:55   ` Nikolai Weibull
2015-01-18 10:26     ` Nicolas Goaziou
2015-01-18 13:27       ` Nikolai Weibull
2015-01-18 22:39         ` Nicolas Goaziou
2015-01-19  9:33           ` Nikolai Weibull
2015-01-19 17:38             ` Nicolas Goaziou
2015-02-15 21:54               ` Nikolai Weibull
2015-02-16  9:05                 ` Nicolas Goaziou
2015-08-19 23:37                   ` Nikolai Weibull
2015-08-20 17:02                   ` Nikolai Weibull
2015-08-20 17:02                     ` [PATCH 1/2] Redo Agenda in more cases even in sticky mode Nikolai Weibull
2015-08-20 17:21                     ` Sticky agendas not redone when using org-agenda-(set|remove)-restriction-lock Bastien
2015-08-20 18:31                       ` Nikolai Weibull
2015-08-23  7:56                         ` Nicolas Goaziou
2015-08-20 18:22                   ` [PATCH 1/2] Redo Agenda in more cases even in sticky mode Nikolai Weibull
2015-08-20 18:25                   ` Nikolai Weibull

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).