From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Tag Inheritance Date: Mon, 6 Oct 2008 20:41:40 +0200 Message-ID: <957CD3AF-3117-4986-BCF2-D5AF87D13189@uva.nl> References: <48E9FEB8.4040406@gaillourdet.net> Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: multipart/mixed; boundary="===============0857866159==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kmv1l-0000E4-Ms for emacs-orgmode@gnu.org; Mon, 06 Oct 2008 14:41:53 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kmv1k-0000DB-D4 for emacs-orgmode@gnu.org; Mon, 06 Oct 2008 14:41:53 -0400 Received: from [199.232.76.173] (port=55868 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kmv1k-0000Cy-2u for emacs-orgmode@gnu.org; Mon, 06 Oct 2008 14:41:52 -0400 Received: from ey-out-1920.google.com ([74.125.78.144]:21915) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kmv1j-0006qi-4b for emacs-orgmode@gnu.org; Mon, 06 Oct 2008 14:41:51 -0400 Received: by ey-out-1920.google.com with SMTP id 4so853314eyg.24 for ; Mon, 06 Oct 2008 11:41:49 -0700 (PDT) In-Reply-To: <48E9FEB8.4040406@gaillourdet.net> 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: Jean-Marie Gaillourdet Cc: emacs-orgmode@gnu.org --===============0857866159== Content-Type: multipart/alternative; boundary=Apple-Mail-1-198164973 --Apple-Mail-1-198164973 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Hi Jean, this is a bug, thank you for your report. Fixed in GIT. - Carsten On Oct 6, 2008, at 2:04 PM, Jean-Marie Gaillourdet wrote: > 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 > > > > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode --Apple-Mail-1-198164973 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi = Jean,

this is a bug, thank you for your = report.

Fixed in = GIT.

- Carsten

On Oct = 6, 2008, at 2:04 PM, Jean-Marie Gaillourdet wrote:

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 =             &n= bsp;         :@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





______________________________________________= _
Emacs-orgmode mailing list
Remember: use `Reply All' to send = replies to the list.
Emacs-orgmode@gnu.org
http://= lists.gnu.org/mailman/listinfo/emacs-orgmode
<= br>
= --Apple-Mail-1-198164973-- --===============0857866159== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0857866159==--