* Setting Tags Using #+INCLUDE:
@ 2012-10-22 12:39 Ian Barton
2012-10-22 12:59 ` Carsten Dominik
0 siblings, 1 reply; 5+ messages in thread
From: Ian Barton @ 2012-10-22 12:39 UTC (permalink / raw)
To: emacs-orgmode
I have tags defined in my .emacs using setq org-tag-alist. However, I
have a group of files (>100) for which I want to define a different set
of tags. Rather than place a #+TAGS directive I thought I would define
them in another file (setup.org) and INCLUDE this in each of the 100 files.
However, this doesn't seem to work. Pressing C-q on the first headline
of fpr.org only offers me the inherited tags defined in org-tag-alist.
Is this expected behaviour or a bug?
setup.org
#+TITLE: Common Setup Parameters for All Blog Files.
#+TAGS: blog(b) gear(g) mountaineering(m) emacs(e) linux(l) mythtv(m)
backpacking(k) review(r)
#+STARTUP: logdone noptag
fpr.org:
#+STARTUP: showall indent
#+STARTUP: hidestars
#+TITLE: First Pinnacle Rib.
#+INCLUDE: "setup.org"
* First Pinnacle Rib - Tryfan
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Setting Tags Using #+INCLUDE:
2012-10-22 12:39 Setting Tags Using #+INCLUDE: Ian Barton
@ 2012-10-22 12:59 ` Carsten Dominik
2012-10-22 13:04 ` Ian Barton
0 siblings, 1 reply; 5+ messages in thread
From: Carsten Dominik @ 2012-10-22 12:59 UTC (permalink / raw)
To: ian; +Cc: emacs-orgmode
Hi Ian,
you need to use #+setupfile instead of #+include for this purpose.
- Carsten
On 22 okt. 2012, at 14:39, Ian Barton <lists@wilkesley.net> wrote:
> I have tags defined in my .emacs using setq org-tag-alist. However, I have a group of files (>100) for which I want to define a different set of tags. Rather than place a #+TAGS directive I thought I would define them in another file (setup.org) and INCLUDE this in each of the 100 files.
>
> However, this doesn't seem to work. Pressing C-q on the first headline of fpr.org only offers me the inherited tags defined in org-tag-alist. Is this expected behaviour or a bug?
>
> setup.org
> #+TITLE: Common Setup Parameters for All Blog Files.
> #+TAGS: blog(b) gear(g) mountaineering(m) emacs(e) linux(l) mythtv(m) backpacking(k) review(r)
> #+STARTUP: logdone noptag
>
>
> fpr.org:
>
> #+STARTUP: showall indent
> #+STARTUP: hidestars
> #+TITLE: First Pinnacle Rib.
> #+INCLUDE: "setup.org"
>
> * First Pinnacle Rib - Tryfan
>
- Carsten
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Setting Tags Using #+INCLUDE:
2012-10-22 12:59 ` Carsten Dominik
@ 2012-10-22 13:04 ` Ian Barton
2012-10-22 20:30 ` François Pinard
0 siblings, 1 reply; 5+ messages in thread
From: Ian Barton @ 2012-10-22 13:04 UTC (permalink / raw)
To: emacs-orgmode
Thanks Carsten,
Works perfectly.
Ian.
On 22/10/12 13:59, Carsten Dominik wrote:
> Hi Ian,
>
> you need to use #+setupfile instead of #+include for this purpose.
>
> - Carsten
>
> On 22 okt. 2012, at 14:39, Ian Barton <lists@wilkesley.net> wrote:
>
>> I have tags defined in my .emacs using setq org-tag-alist. However, I have a group of files (>100) for which I want to define a different set of tags. Rather than place a #+TAGS directive I thought I would define them in another file (setup.org) and INCLUDE this in each of the 100 files.
>>
>> However, this doesn't seem to work. Pressing C-q on the first headline of fpr.org only offers me the inherited tags defined in org-tag-alist. Is this expected behaviour or a bug?
>>
>> setup.org
>> #+TITLE: Common Setup Parameters for All Blog Files.
>> #+TAGS: blog(b) gear(g) mountaineering(m) emacs(e) linux(l) mythtv(m) backpacking(k) review(r)
>> #+STARTUP: logdone noptag
>>
>>
>> fpr.org:
>>
>> #+STARTUP: showall indent
>> #+STARTUP: hidestars
>> #+TITLE: First Pinnacle Rib.
>> #+INCLUDE: "setup.org"
>>
>> * First Pinnacle Rib - Tryfan
>>
>
> - Carsten
>
>
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Setting Tags Using #+INCLUDE:
2012-10-22 13:04 ` Ian Barton
@ 2012-10-22 20:30 ` François Pinard
2012-10-22 21:19 ` Sebastien Vauban
0 siblings, 1 reply; 5+ messages in thread
From: François Pinard @ 2012-10-22 20:30 UTC (permalink / raw)
To: emacs-orgmode
Ian Barton <lists@wilkesley.net> writes:
> Thanks Carsten,
> Works perfectly.
> On 22/10/12 13:59, Carsten Dominik wrote:
>> you need to use #+setupfile instead of #+include for this purpose.
>> On 22 okt. 2012, at 14:39, Ian Barton <lists@wilkesley.net> wrote:
>>> I thought I would define them in another file (setup.org) and
>>> INCLUDE this in each of the 100 files.
Didn't we recently read on this list that there are plans to have
#+INCLUDE subsume the functionality of #+SETUPFILE, so the later may
disappear?
I noticed because I would prefer having only #+INCLUDE in my files,
rather than having both #+SETUPFILE and #+INCLUDE.
François
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Setting Tags Using #+INCLUDE:
2012-10-22 20:30 ` François Pinard
@ 2012-10-22 21:19 ` Sebastien Vauban
0 siblings, 0 replies; 5+ messages in thread
From: Sebastien Vauban @ 2012-10-22 21:19 UTC (permalink / raw)
To: emacs-orgmode-mXXj517/zsQ
Hi François,
François Pinard wrote:
> Ian Barton <lists-7pvjUo7bQWlIf6P1QZMOBw@public.gmane.org> writes:
>> On 22/10/12 13:59, Carsten Dominik wrote:
>>> On 22 okt. 2012, at 14:39, Ian Barton <lists-7pvjUo7bQWlIf6P1QZMOBw@public.gmane.org> wrote:
>>>> I thought I would define them in another file (setup.org) and INCLUDE
>>>> this in each of the 100 files.
>>>
>>> you need to use #+setupfile instead of #+include for this purpose.
>
> Didn't we recently read on this list that there are plans to have #+INCLUDE
> subsume the functionality of #+SETUPFILE, so the later may disappear?
Yes, we did (last week or so).
> I noticed because I would prefer having only #+INCLUDE in my files, rather
> than having both #+SETUPFILE and #+INCLUDE.
I already tried it with current files (*and* current HTML exporter), but that
does not work. So, I guess we'll have to wait for the new exporter to be in
Org for that to be completely effective.
But, for sure, that will work -- and SETUPFILE will be dropped.
Best regards,
Seb
--
Sebastien Vauban
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-10-22 21:19 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-22 12:39 Setting Tags Using #+INCLUDE: Ian Barton
2012-10-22 12:59 ` Carsten Dominik
2012-10-22 13:04 ` Ian Barton
2012-10-22 20:30 ` François Pinard
2012-10-22 21:19 ` Sebastien Vauban
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).