From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Automatic global tag list? Date: Tue, 23 Nov 2010 06:52:34 +0100 Message-ID: References: <20101122193057.6e59460camscopub-mail@yahoo.com@dove.localdomain> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=56049 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PKlo1-0007gP-TS for emacs-orgmode@gnu.org; Tue, 23 Nov 2010 00:52:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PKlnx-0008KH-0I for emacs-orgmode@gnu.org; Tue, 23 Nov 2010 00:52:41 -0500 Received: from mail-ew0-f41.google.com ([209.85.215.41]:60206) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PKlnw-0008Jz-Rs for emacs-orgmode@gnu.org; Tue, 23 Nov 2010 00:52:36 -0500 Received: by ewy21 with SMTP id 21so1690584ewy.0 for ; Mon, 22 Nov 2010 21:52:36 -0800 (PST) In-Reply-To: <20101122193057.6e59460camscopub-mail@yahoo.com@dove.localdomain> 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: Uriel Avalos Cc: emacs 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