emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jean-Marie Gaillourdet <jmg@gaillourdet.net>
To: emacs-orgmode@gnu.org
Subject: Tag Inheritance
Date: Mon, 06 Oct 2008 14:04:08 +0200	[thread overview]
Message-ID: <48E9FEB8.4040406@gaillourdet.net> (raw)

Hi list,

I am new to this list and somewhat new to org-mode. My .emacs includes

(setq org-tag-alist
      '( (:startgroup)
         ("@phone" . ?1) ("@laptop" . ?2) ("@online" . ?3) ("@uni" . ?4)
("@kl" . ?5)
         ("@home" . ?6) ("@thinking" . ?7) ("@programming" . ?8)
("@writing" . ?9) ("@meeting" . ?0)
         (:endgroup)
         (:startgroup) ("APH" . ?a) ("AGMEETING" . ?g) (:endgroup)
         (:startgroup) ("idea" . ?i) ("question" . ?q) ("reference" .
?r) ("note" . ?o) (:endgroup)
         (:startgroup) ("work" . ?w) ("private" . ?p) (:endgroup)
         (:startgroup)
         ("refile" . ?f)
         (:endgroup)
         (:startgroup)
         ("project" . ?j)
         ("dissertation" .?s)
         (:endgroup)
         (:startgroup)
         ("review_daily" . ?m)
         ("review_weekly" . ?,)
         ("review_monthly" . ?.)
         (:endgroup)
         ))

(setq org-use-tag-inheritance '("work" "private"))

I thought this should have the effect, that work and private are
inherited while all other tags are not.

But C-c C-c on the second line of:

* Test 1                       :@laptop:work:
*** Test 2

shows, that @laptop is inherited while work is not inherited. The
documentation of org-use-tag-inheritance states

> This may also be a list of tags that should be inherited, or a regexp
> that matches tags that should be inherited.

Therefore, I assumed that work should be inherited and @laptop. Is this
a bug in the documentation or the implementation? How can I get the
negated behaviour?

Best regards,
 Jean

             reply	other threads:[~2008-10-06 12:04 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-06 12:04 Jean-Marie Gaillourdet [this message]
2008-10-06 18:41 ` Tag Inheritance Carsten Dominik
  -- strict thread matches above, loose matches on Subject: below --
2010-03-21  5:35 Tag inheritance Chao Lu
2010-03-21  6:33 ` Carsten Dominik
2007-12-12 15:32 Carl Bolduc
2007-12-12 16:14 ` Eddward DeVilla
2007-12-12 16:24   ` Carl Bolduc
2007-12-12 16:29     ` Carsten Dominik
2007-05-30 13:34 Tag Inheritance Russell Adams
2007-05-30 14:14 ` Carsten Dominik
2007-05-30 14:21   ` Eddward DeVilla
2007-05-30 14:33     ` Carsten Dominik
2007-05-30 15:48   ` Russell Adams

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=48E9FEB8.4040406@gaillourdet.net \
    --to=jmg@gaillourdet.net \
    --cc=emacs-orgmode@gnu.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).