emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: giovanni bono <giovanni.bono.70@gmail.com>
To: emacs-orgmode@gnu.org
Subject: org-tag-alist and org-tag-persistent-alist
Date: Sun, 12 Jan 2014 22:27:13 +0100	[thread overview]
Message-ID: <8738ks6gcu.fsf@cfr5.giovanni.org> (raw)

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

             reply	other threads:[~2014-01-12 21:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-12 21:27 giovanni bono [this message]
2014-01-20 12:07 ` org-tag-alist and org-tag-persistent-alist 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=8738ks6gcu.fsf@cfr5.giovanni.org \
    --to=giovanni.bono.70@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).