all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [BUG] Hotkeys defined in org-tag-alist repeated in agenda filter dispatcher
@ 2013-04-22  1:50 Viktor Rosenfeld
  2013-04-22  9:26 ` Bastien
  0 siblings, 1 reply; 6+ messages in thread
From: Viktor Rosenfeld @ 2013-04-22  1:50 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

I have the following tags defined in my initialization code:

#+BEGIN_SRC emacs-lisp
(setq org-tag-alist '((:startgroup . nil)
                      ("@home" . ?h)
                      ("@comp" . ?c)
                      ("@otg" . ?o)
                      ("@fon" . ?f)
                      ("@agenda" . ?a) 
                      ("@read" . ?r)
                      ("@write" . ?w)
                      (:endgroup . nil)
                      (:startgroup . nil)
                      ("IMPORTANT" . ?*)
                      ("SOMEDAY" . ??)
                      (:endgroup . nil)))
#+END_SRC

If I hit the =/= key in the agenda to filter the agenda by tag, the
hotkeys defined in the list above are repeated multiple times. That
is, the string in the Emacs minibuffer reads:

#+BEGIN_EXAMPLE
Narrow by tag [hcofarw*?hcofarw*?hcofarw*?hcofarw*?hcofarw*?hcofarw*?hcofarw*?hcofarw*?hcofarw*? ], [TAB], ...
#+END_EXAMPLE

This only happens if =org-agenda-files= is set to a directory (or list
of directories), e.g.:

#+BEGIN_SRC emacs-lisp
(setq org-agenda-files '( "~/org" ))
#+END_SRC

If =org-agenda-files= is set to a list of files the hotkeys are not
repeated. E.g.:

#+BEGIN_SRC emacs-lisp
(setq org-agenda-files '( "~/org/openloops.org" 
                          "~/org/dokumente.org"))
#+END_SRC

With the setting above the string in the Emacs minibuffer reads, as
expected:

#+BEGIN_EXAMPLE
Narrow by tag [hcofarw*? ], [TAB], ...
#+END_EXAMPLE

git bisect reveals the following commit as the culprit:
http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=575c9f16c3a1dc6660dd1aebdd560ec7caa1365e

However, before this commit, none of the hotkeys appear in the
minibuffer, which is another bug. Apparently, the last commit where
everything works as expected is:
http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=a9880a7710415218d3940e380968a9ed56367880 

I am on Ubuntu 12.04.2 with a backported Emacs 24.3.1.

Cheers,
Viktor

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

end of thread, other threads:[~2013-04-24 13:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-22  1:50 [BUG] Hotkeys defined in org-tag-alist repeated in agenda filter dispatcher Viktor Rosenfeld
2013-04-22  9:26 ` Bastien
2013-04-22 12:01   ` Viktor Rosenfeld
2013-04-24  9:46     ` Bastien
2013-04-24 12:29       ` Viktor Rosenfeld
2013-04-24 13:44         ` Bastien

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.