From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: org-set-tags duplicates tags in org-tag-persistent-alist Date: Thu, 14 May 2015 16:32:56 +0200 Message-ID: <87oaln9qlj.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42136) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YsuAl-0004kO-67 for emacs-orgmode@gnu.org; Thu, 14 May 2015 10:31:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YsuAg-0005G1-8O for emacs-orgmode@gnu.org; Thu, 14 May 2015 10:31:39 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:54152) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YsuAg-0005F3-2K for emacs-orgmode@gnu.org; Thu, 14 May 2015 10:31:34 -0400 In-Reply-To: (Paul Rankin's message of "Mon, 11 May 2015 15:09:12 +1000") 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: Paul Rankin Cc: emacs-orgmode@gnu.org Hello, Paul Rankin 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