From mboxrd@z Thu Jan 1 00:00:00 1970 From: Viktor Rosenfeld Subject: [BUG] Hotkeys defined in org-tag-alist repeated in agenda filter dispatcher Date: Mon, 22 Apr 2013 03:50:30 +0200 Message-ID: <20130422015030.GB7821@cartman> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:49832) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UU5uu-0006iE-MR for emacs-orgmode@gnu.org; Sun, 21 Apr 2013 21:51:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UU5tv-0000wS-45 for emacs-orgmode@gnu.org; Sun, 21 Apr 2013 21:50:54 -0400 Received: from mail-bk0-x233.google.com ([2a00:1450:4008:c01::233]:47841) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UU5tu-0000wH-S4 for emacs-orgmode@gnu.org; Sun, 21 Apr 2013 21:50:39 -0400 Received: by mail-bk0-f51.google.com with SMTP id y8so2358487bkt.24 for ; Sun, 21 Apr 2013 18:50:37 -0700 (PDT) Content-Disposition: inline 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, 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