From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Paul Rankin <hello@paulwrankin.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: org-set-tags duplicates tags in org-tag-persistent-alist
Date: Thu, 14 May 2015 16:32:56 +0200 [thread overview]
Message-ID: <87oaln9qlj.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <A1D8AFD7-E8DA-4ADA-B6FB-8C9B32DD13B4@paulwrankin.com> (Paul Rankin's message of "Mon, 11 May 2015 15:09:12 +1000")
Hello,
Paul Rankin <hello@paulwrankin.com> writes:
> When setting org-tag-alist or org-tag-persistent-alist, calling org-set-tags or org-agenda-set-tags will populate select with both alist tags and any tags from tagged subheadings.
>
> To reproduce:
>
> $ cat tmp.org
> * TODO task :tag1:
> $ emacs -Q
>
> (setq org-tag-persistent-alist
> '(("tag1" . ?1)
> ("tag2" . ?2)))
>
> M-x eval-last sexp
> M-x find-file RET tmp.org
> M-x org-set-tags
>
> Inherited:
> Current: tag1
>
> [1] tag1 [2] tag2 [t] tag1
>
> "tag1" is duplicated.
I cannot reproduce it in development version. You may want to switch to it.
Regards,
--
Nicolas Goaziou
next prev parent reply other threads:[~2015-05-14 14:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-11 5:09 Bug: org-set-tags duplicates tags in org-tag-persistent-alist Paul Rankin
2015-05-14 14:32 ` Nicolas Goaziou [this message]
2015-05-14 23:45 ` Paul Rankin
2015-05-16 8:07 ` Nicolas Goaziou
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=87oaln9qlj.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=emacs-orgmode@gnu.org \
--cc=hello@paulwrankin.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).