From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Access org-tag-alist from #+FILETAGS Date: Tue, 13 Mar 2012 14:48:24 -0400 Message-ID: <16933.1331664504@alphaville> References: <4F4D2ACF.20407@verizon.net> <4F5F8B68.2080201@verizon.net> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([208.118.235.92]:49552) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7Wls-0000LE-Gy for emacs-orgmode@gnu.org; Tue, 13 Mar 2012 14:48:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S7Wlo-0008Sm-Fp for emacs-orgmode@gnu.org; Tue, 13 Mar 2012 14:48:32 -0400 Received: from g4t0016.houston.hp.com ([15.201.24.19]:17582) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7Wlo-0008SW-9C for emacs-orgmode@gnu.org; Tue, 13 Mar 2012 14:48:28 -0400 In-Reply-To: Message from Charles of "Tue, 13 Mar 2012 14:01:12 EDT." <4F5F8B68.2080201@verizon.net> 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: Charles Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org Charles wrote: > I hope my occupation is not the reason for the "no response" to my > question and comments two weeks ago. > Nope - lack of time, energy, inclination, knowledge are all possible. > Charlie Millar > > On 2/28/2012 2:28 PM, Charles wrote: > > I use a few tags and usually two or three will apply to all entries > > in a particular file, e.g. :work:Client:OpenFile: or :Personal:Home: > > > > All my tags are in my .emacs using the org-tag-alist and I want to > > use these consistently. > > > > Is there a way to access org-tag-alist from the in-buffer settings > > #+FILETAGS or #+TAGS? C-c C-c, of course, refreshes the local > > setting; C-c C-q gives an error(?) message "Before first headline at > > position 1 in buffer . . ." > > > > At the moment my work around is: start the file's first line with > > *#+FILETAGS, then C-c C-c, and after setting tags delete the > > *. > > Have you tried a setup file? tag.org: --8<---------------cut here---------------start------------->8--- #+TAGS: one two three --8<---------------cut here---------------end--------------->8--- and the "real" file is: --8<---------------cut here---------------start------------->8--- #+SETUPFILE: tag.org #+TAGS: foo bar baz * two * four * three :bar:baz: * one :foo: * five :foo:baz: #+BEGIN_SRC elisp org-tag-alist #+END_SRC #+RESULTS: | one | | two | | three | | :newline | | foo | | bar | | baz | everything plus :newline (whatever that is). --8<---------------cut here---------------end--------------->8--- Nick > > My system is Windows 7 (home Premium), emacs 24.0.93.1, org 7.8.03 > > > > If I have overlooked something obvious or easily researched, just > > say so and I'll continue looking for the answer. > > > > BTW, I'm a freelance paralegal. Amongst other uses, a few months > > ago I used org to draft a contract (from my notes kept in the org > > file), then exported to LaTeX, then to pdf to print the final draft. > > > > Charlie Millar > > > > > > > > ----- > > No virus found in this message. > > Checked by AVG - www.avg.com > > Version: 10.0.1424 / Virus Database: 2113/4837 - Release Date: 02/28/12 > > > > > >