From: Bastien <bzg@gnu.org>
To: Viktor Rosenfeld <listuser36@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG] Hotkeys defined in org-tag-alist repeated in agenda filter dispatcher
Date: Wed, 24 Apr 2013 11:46:46 +0200 [thread overview]
Message-ID: <87obd4clbt.fsf@bzg.ath.cx> (raw)
In-Reply-To: <20130422120132.GF7821@cartman> (Viktor Rosenfeld's message of "Mon, 22 Apr 2013 14:01:32 +0200")
[-- Attachment #1: Type: text/plain, Size: 243 bytes --]
Hi Viktor,
thanks for the patient and detailed debugging.
I don't have time to test the attached patch myself, but given your
description it should be okay.
Can you test it and report? Otherwise I will test this myself later
on.
Thanks!
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: org.el.patch --]
[-- Type: text/x-patch, Size: 716 bytes --]
diff --git a/lisp/org.el b/lisp/org.el
index c76ddd0..d75f6c2 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -17985,9 +17985,8 @@ When a buffer is unmodified, it is just killed. When modified, it is saved
(append org-todo-keyword-alist-for-agenda org-todo-key-alist))
(setq org-drawers-for-agenda
(append org-drawers-for-agenda org-drawers))
- (unless (equal org-tag-alist-for-agenda org-tag-alist)
- (setq org-tag-alist-for-agenda
- (append org-tag-alist-for-agenda org-tag-alist)))
+ (setq org-tag-alist-for-agenda
+ (org-uniquify (append org-tag-alist-for-agenda org-tag-alist)))
(if org-group-tags
(setq org-tag-groups-alist-for-agenda
(org-uniquify-alist
[-- Attachment #3: Type: text/plain, Size: 14 bytes --]
--
Bastien
next prev parent reply other threads:[~2013-04-24 9:46 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
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=87obd4clbt.fsf@bzg.ath.cx \
--to=bzg@gnu.org \
--cc=emacs-orgmode@gnu.org \
--cc=listuser36@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* 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
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).