emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: ian@manor-farm.org
Cc: emacs-orgmode@gnu.org
Subject: Re: Setting Tags Using #+INCLUDE:
Date: Mon, 22 Oct 2012 14:59:06 +0200	[thread overview]
Message-ID: <916ED54D-05D0-4952-86F8-64417D836F62@gmail.com> (raw)
In-Reply-To: <50853E9D.9090905@wilkesley.net>

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

  reply	other threads:[~2012-10-22 12:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-22 12:39 Setting Tags Using #+INCLUDE: Ian Barton
2012-10-22 12:59 ` Carsten Dominik [this message]
2012-10-22 13:04   ` Ian Barton
2012-10-22 20:30     ` François Pinard
2012-10-22 21:19       ` Sebastien Vauban

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=916ED54D-05D0-4952-86F8-64417D836F62@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=ian@manor-farm.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).