From mboxrd@z Thu Jan 1 00:00:00 1970 From: giovanni bono Subject: org-tag-alist and org-tag-persistent-alist Date: Sun, 12 Jan 2014 22:27:13 +0100 Message-ID: <8738ks6gcu.fsf@cfr5.giovanni.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34591) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W2SZR-0003ys-5j for emacs-orgmode@gnu.org; Sun, 12 Jan 2014 16:27:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W2SZI-0004NS-OF for emacs-orgmode@gnu.org; Sun, 12 Jan 2014 16:27:49 -0500 Received: from mail-ee0-x22d.google.com ([2a00:1450:4013:c00::22d]:43930) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W2SZI-0004NN-Hd for emacs-orgmode@gnu.org; Sun, 12 Jan 2014 16:27:40 -0500 Received: by mail-ee0-f45.google.com with SMTP id d49so2763279eek.18 for ; Sun, 12 Jan 2014 13:27:39 -0800 (PST) Received: from cfr5.giovanni.org (93-33-108-4.ip44.fastwebnet.it. [93.33.108.4]) by mx.google.com with ESMTPSA id b41sm34211943eef.16.2014.01.12.13.27.37 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 12 Jan 2014 13:27:38 -0800 (PST) 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 hello, i would appreciate help in understanding the difference between `org-tag-alist' and `org-tag-persistent-alist'. the docstrings suggest that the first defines "allowed" tags, while the second is for "always present" tags. the info seems to mention both only wrt completing tags for interactive insertion. they sure behave differently. i am keeping a lot of files in `org-agenda-files' --more than 100-- and i am using many tags. while harvesting tags to clean them up, for some reason i switched from the the persistent to the non persistent alist variable. as a result, `org-agenda-list' failed to terminate in ten minutes, as opposed to the usual 2 seconds. going back to the persistent alist variable fixes the problem. this looks strange also because there is a `org-tag-alist-for-agenda'. i am not sure whether this warrants submitting a bug. my unfounded guess is that `org-tag-alist' is there to pave the way for a facility to keep tags growth in check --by signaling where one used non allowed tags, for instance. by the way, that would be very nice. another somewhat baseless guess is that `org-global-tags-completion-table' might be causing the problem, as it uses two nested mapcar over agenda files and `org-tag-alist'. thanks, giovanni