From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uriel Avalos Subject: Re: Automatic global tag list? Date: Tue, 23 Nov 2010 10:45:00 -0500 Message-ID: <12622.9277033874$1290527165@news.gmane.org> References: <20101122193057.6e59460camscopub-mail@yahoo.com@dove.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=40403 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PKv2z-0001Cr-K4 for emacs-orgmode@gnu.org; Tue, 23 Nov 2010 10:44:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PKv2y-0006rT-BL for emacs-orgmode@gnu.org; Tue, 23 Nov 2010 10:44:45 -0500 Received: from smtp104.prem.mail.ac4.yahoo.com ([76.13.13.43]:31142) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PKv2y-0006rN-7o for emacs-orgmode@gnu.org; Tue, 23 Nov 2010 10:44:44 -0500 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org On Tue, 23 Nov 2010 06:52:34 +0100 Carsten Dominik wrote: > > On Nov 23, 2010, at 1:30 AM, Uriel Avalos wrote: > > > Is there a way to auto-magically construct the global tag list (org- > > tag-alist)? > > That is, tags would get added to the global list as you add them. > > > > Alternatively, is there a way to construct the global list of all tags > > in use (in the agenda files or given set of files)? > > There is the function `org-global-tags-completion-table' which will > construct this list for the agenda files or for any other list of > files you are giving it. For each of these files it will at the tags > defined in #+TAGS: lines as well as any other tags being used in that > file. > > HTH > > - Carsten > Thanks for the reply. However, I'm afraid that I'm not (yet) a lisp programmer. What would the definition of such a function look like? This function seems to be undocumented.