emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Viktor Rosenfeld <listuser36@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [BUG] Hotkeys defined in org-tag-alist repeated in agenda filter dispatcher
Date: Mon, 22 Apr 2013 03:50:30 +0200	[thread overview]
Message-ID: <20130422015030.GB7821@cartman> (raw)


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)))

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:

Narrow by tag [hcofarw*?hcofarw*?hcofarw*?hcofarw*?hcofarw*?hcofarw*?hcofarw*?hcofarw*?hcofarw*? ], [TAB], ...

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" ))

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" 

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

Narrow by tag [hcofarw*? ], [TAB], ...

git bisect reveals the following commit as the culprit:

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:

I am on Ubuntu 12.04.2 with a backported Emacs 24.3.1.


             reply	other threads:[~2013-04-22  1:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-22  1:50 Viktor Rosenfeld [this message]
2013-04-22  9:26 ` [BUG] Hotkeys defined in org-tag-alist repeated in agenda filter dispatcher 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130422015030.GB7821@cartman \
    --to=listuser36@gmail.com \
    --cc=emacs-orgmode@gnu.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


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).