Re: [Orgmode] Tag inheritance

2010-03-21 Thread Carsten Dominik


On Mar 21, 2010, at 6:35 AM, Chao Lu wrote:


Dear all,

Is it possible for all the headlines inherit tags from the filename?  
If we could make it a in-buffer setting, that will be great. For  
example, I usually write notes related to Emacs in a file called  
Emacs.org. ^.^


Hi Chao,

that would be

#+FILETAGS: Emacs

HTH

- Carsten



All the best,

Chao

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode







___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Tag inheritance

2010-03-20 Thread Chao Lu
Dear all,

Is it possible for all the headlines inherit tags from the *filename?* If we
could make it a in-buffer setting, that will be great. For example, I
usually write notes related to Emacs in a file called Emacs.org. ^.^

All the best,

Chao
*
*
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Tag inheritance

2007-12-12 Thread Carl Bolduc
HI everyone,

I saw the demo of OmniFocus today and I decided to create a similar
setup using Org-Mode in Emacs.

The only thing that is left to setup is tag inheritance.

At the moment, if I set a tag only for the main heading of a section,
its subheading don't show up when I search for the tag. I would like
the subheading to show up when I search for a tag...

The documentation says:
...you can influence inheritance and searching using the variables
org-use-tag-inheritance and org-tags-match-list-sublevels

I'm still new to Org and Emacs, can someone help me setup those variables?

Thanks!
Carl


___
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


Re: [Orgmode] Tag inheritance

2007-12-12 Thread Carl Bolduc
Ok, there is something I don't get, beause tag inheritance is ON, but
when I search for a tag, subheadings (not directly tagged) are not
showing up :(

On Dec 12, 2007 11:14 AM, Eddward DeVilla [EMAIL PROTECTED] wrote:
 Carl,

There are gurus who might be able to provide a better answer, but
 when I need to set option for org-mode (or when I want to explore what
 is available) I use the menu Org-Customize-Browse Org Group.  It's
 been a while since I've done that and it looks like
 Org-Customize-Expand This Menu is pretty nifty.  I may have the
 name wrong, since it changes after you select it, but the expanded
 customize menu looks very nice.

 Edd


 On Dec 12, 2007 9:32 AM, Carl Bolduc [EMAIL PROTECTED] wrote:
  HI everyone,
 
  I saw the demo of OmniFocus today and I decided to create a similar
  setup using Org-Mode in Emacs.
 
  The only thing that is left to setup is tag inheritance.
 
  At the moment, if I set a tag only for the main heading of a section,
  its subheading don't show up when I search for the tag. I would like
  the subheading to show up when I search for a tag...
 
  The documentation says:
  ...you can influence inheritance and searching using the variables
  org-use-tag-inheritance and org-tags-match-list-sublevels
 
  I'm still new to Org and Emacs, can someone help me setup those variables?
 
  Thanks!
  Carl
 
 
  ___
  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
 



___
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


Re: [Orgmode] Tag inheritance

2007-12-12 Thread Carsten Dominik
If you take the time to read the docmentation string of that variable,
it points you to another one: `org-tags-match-list-sublevels'.

This is the one you need.

- Carsten

On Dec 12, 2007 5:24 PM, Carl Bolduc [EMAIL PROTECTED] wrote:
 Ok, there is something I don't get, beause tag inheritance is ON, but
 when I search for a tag, subheadings (not directly tagged) are not
 showing up :(


 On Dec 12, 2007 11:14 AM, Eddward DeVilla [EMAIL PROTECTED] wrote:
  Carl,
 
 There are gurus who might be able to provide a better answer, but
  when I need to set option for org-mode (or when I want to explore what
  is available) I use the menu Org-Customize-Browse Org Group.  It's
  been a while since I've done that and it looks like
  Org-Customize-Expand This Menu is pretty nifty.  I may have the
  name wrong, since it changes after you select it, but the expanded
  customize menu looks very nice.
 
  Edd
 
 
  On Dec 12, 2007 9:32 AM, Carl Bolduc [EMAIL PROTECTED] wrote:
   HI everyone,
  
   I saw the demo of OmniFocus today and I decided to create a similar
   setup using Org-Mode in Emacs.
  
   The only thing that is left to setup is tag inheritance.
  
   At the moment, if I set a tag only for the main heading of a section,
   its subheading don't show up when I search for the tag. I would like
   the subheading to show up when I search for a tag...
  
   The documentation says:
   ...you can influence inheritance and searching using the variables
   org-use-tag-inheritance and org-tags-match-list-sublevels
  
   I'm still new to Org and Emacs, can someone help me setup those variables?
  
   Thanks!
   Carl
  
  
   ___
   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
  
 


 ___
 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



___
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


Re: [Orgmode] Tag inheritance

2007-12-12 Thread Eddward DeVilla
Carl,

There are gurus who might be able to provide a better answer, but
when I need to set option for org-mode (or when I want to explore what
is available) I use the menu Org-Customize-Browse Org Group.  It's
been a while since I've done that and it looks like
Org-Customize-Expand This Menu is pretty nifty.  I may have the
name wrong, since it changes after you select it, but the expanded
customize menu looks very nice.

Edd

On Dec 12, 2007 9:32 AM, Carl Bolduc [EMAIL PROTECTED] wrote:
 HI everyone,

 I saw the demo of OmniFocus today and I decided to create a similar
 setup using Org-Mode in Emacs.

 The only thing that is left to setup is tag inheritance.

 At the moment, if I set a tag only for the main heading of a section,
 its subheading don't show up when I search for the tag. I would like
 the subheading to show up when I search for a tag...

 The documentation says:
 ...you can influence inheritance and searching using the variables
 org-use-tag-inheritance and org-tags-match-list-sublevels

 I'm still new to Org and Emacs, can someone help me setup those variables?

 Thanks!
 Carl


 ___
 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



___
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


[Orgmode] Tag Inheritance

2007-05-30 Thread Russell Adams
I understand from the example in the manual that sublevels inherit the
parent's tags:

* One   :Top:
** Two  :Middle:
*** Three   :Bottom:

So Three matches Top, Middle, and Bottom.

What I'm confused with is that I may have multiple headings, and all
headings at the same level seem to be inheriting across the same level.

* Major heading
** Item One :DEV:
** Item Two :PROD:
** Item Three   :DEV:
** Item Four:PROD:


I search (C-u C-c \), and match DEV, and I get all four Items
returned.

I search again, and match PROD, and I get Items Two through Four, but
not One.

This looks inconsistent to me. Can someone verify?

I'm using org-4.74 with emacs 21.4.1.

Thanks.


--
Russell Adams[EMAIL PROTECTED]

PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/

Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3


___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Tag Inheritance

2007-05-30 Thread Carsten Dominik

Please take a look at the variable `org-show-following-heading'.

This is now really a frequently asked question - I am wondering if I 
should

change the default of this option

- Carsten

On May 30, 2007, at 15:34, Russell Adams wrote:


I understand from the example in the manual that sublevels inherit the
parent's tags:

* One   :Top:
** Two  :Middle:
*** Three   :Bottom:

So Three matches Top, Middle, and Bottom.

What I'm confused with is that I may have multiple headings, and all
headings at the same level seem to be inheriting across the same level.

* Major heading
** Item One :DEV:
** Item Two :PROD:
** Item Three   :DEV:
** Item Four:PROD:


I search (C-u C-c \), and match DEV, and I get all four Items
returned.

I search again, and match PROD, and I get Items Two through Four, but
not One.

This looks inconsistent to me. Can someone verify?

I'm using org-4.74 with emacs 21.4.1.

Thanks.


--
Russell Adams[EMAIL PROTECTED]

PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/

Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3


___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode




--
Carsten Dominik
Sterrenkundig Instituut Anton Pannekoek
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477



___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Tag Inheritance

2007-05-30 Thread Eddward DeVilla

   I was thinking the same thing.  (Sadly I didn't know the option of
the top of my head and had to search the .el file to try and find it.)
Would there be any way to differentiate the matched heading from the
surrounding context?  In regular GUIs I'd say grey of the context, but
that doesn't work well.  Highlighting the match would be more
emacs-ish.

Edd

On 5/30/07, Carsten Dominik [EMAIL PROTECTED] wrote:

Please take a look at the variable `org-show-following-heading'.

This is now really a frequently asked question - I am wondering if I
should
change the default of this option

- Carsten

On May 30, 2007, at 15:34, Russell Adams wrote:

 I understand from the example in the manual that sublevels inherit the
 parent's tags:

 * One :Top:
 ** Two:Middle:
 *** Three :Bottom:

 So Three matches Top, Middle, and Bottom.

 What I'm confused with is that I may have multiple headings, and all
 headings at the same level seem to be inheriting across the same level.

 * Major heading
 ** Item One   :DEV:
 ** Item Two   :PROD:
 ** Item Three :DEV:
 ** Item Four  :PROD:


 I search (C-u C-c \), and match DEV, and I get all four Items
 returned.

 I search again, and match PROD, and I get Items Two through Four, but
 not One.

 This looks inconsistent to me. Can someone verify?

 I'm using org-4.74 with emacs 21.4.1.

 Thanks.


 --
 Russell Adams[EMAIL PROTECTED]

 PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/

 Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3


 ___
 Emacs-orgmode mailing list
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode



--
Carsten Dominik
Sterrenkundig Instituut Anton Pannekoek
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477



___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode




___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Tag Inheritance

2007-05-30 Thread Carsten Dominik


On May 30, 2007, at 16:21, Eddward DeVilla wrote:


   I was thinking the same thing.  (Sadly I didn't know the option of
the top of my head and had to search the .el file to try and find it.)
Would there be any way to differentiate the matched heading from the
surrounding context?  In regular GUIs I'd say grey of the context, but
that doesn't work well.  Highlighting the match would be more
emacs-ish.


Normal sparse trees created with org-occur do highlight the match.
However, in tags searches, this is not the case.  I guess you are
right that this would be a way to avoid confusion.  But I still
think I might change the default.

Thanks

- Carsten



___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Tag Inheritance

2007-05-30 Thread Russell Adams
You're absolutely correct.

Thanks.

On Wed, May 30, 2007 at 04:14:10PM +0200, Carsten Dominik wrote:
 Please take a look at the variable `org-show-following-heading'.
 
 This is now really a frequently asked question - I am wondering if I 
 should
 change the default of this option
 
 - Carsten
 
 On May 30, 2007, at 15:34, Russell Adams wrote:
 
 I understand from the example in the manual that sublevels inherit the
 parent's tags:
 
 * One:Top:
 ** Two   :Middle:
 *** Three:Bottom:
 
 So Three matches Top, Middle, and Bottom.
 
 What I'm confused with is that I may have multiple headings, and all
 headings at the same level seem to be inheriting across the same level.
 
 * Major heading
 ** Item One  :DEV:
 ** Item Two  :PROD:
 ** Item Three:DEV:
 ** Item Four :PROD:
 
 
 I search (C-u C-c \), and match DEV, and I get all four Items
 returned.
 
 I search again, and match PROD, and I get Items Two through Four, but
 not One.
 
 This looks inconsistent to me. Can someone verify?
 
 I'm using org-4.74 with emacs 21.4.1.
 
 Thanks.
 
 
 --
 Russell Adams[EMAIL PROTECTED]
 
 PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/
 
 Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3
 
 
 ___
 Emacs-orgmode mailing list
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode
 
 
 
 --
 Carsten Dominik
 Sterrenkundig Instituut Anton Pannekoek
 Universiteit van Amsterdam
 Kruislaan 403
 NL-1098SJ Amsterdam
 phone: +31 20 525 7477
 
 
 
 ___
 Emacs-orgmode mailing list
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode
--
Russell Adams[EMAIL PROTECTED]

PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/

Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3


___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode