From mboxrd@z Thu Jan 1 00:00:00 1970 From: Holger Macht Subject: Re: Re: (org-entry-properties nil 'all) does not return inherited properties Date: Mon, 22 Mar 2010 19:06:30 +0100 Message-ID: <20100322180630.GB26505@homac> References: <20100322150100.GA21387@homac> <877hp48d4p.fsf@baal.ls.fi.upm.es> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ntm1l-00022H-2C for emacs-orgmode@gnu.org; Mon, 22 Mar 2010 14:07:01 -0400 Received: from [140.186.70.92] (port=59979 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ntm1f-0001z6-BD for emacs-orgmode@gnu.org; Mon, 22 Mar 2010 14:07:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ntm15-0007K2-Le for emacs-orgmode@gnu.org; Mon, 22 Mar 2010 14:06:21 -0400 Received: from cantor.suse.de ([195.135.220.2]:33913 helo=mx1.suse.de) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ntm15-0007Js-BG for emacs-orgmode@gnu.org; Mon, 22 Mar 2010 14:06:19 -0400 Content-Disposition: inline In-Reply-To: <877hp48d4p.fsf@baal.ls.fi.upm.es> 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: Emilio =?iso-8859-1?Q?Jes=FAs?= Gallego Arias Cc: emacs-orgmode@gnu.org On Mo 22. M=E4r - 18:44:38, Emilio Jes=FAs Gallego Arias wrote: > Holger Macht writes: >=20 > > (org-entry-properties nil 'all) does not return inherited properties > > added with a file directive like that: > > > > #+PROPERTY: propkey propval > > > > Is this by intention? If so, is there a method to get all the propert= ies > > of an item, also inherited ones? > > > > Currently I was just able to find (org-entry-get), but this only retu= rns > > one specific property of which I need to know the name. >=20 > See: >=20 > ,----[ C-h v org-use-property-inheritance RET ] Have you tried? At least this doesn't have an effect on (org-entry-properties in current git head. Regards, Holger P.S. Sorry for the double post. > | org-use-property-inheritance is a variable defined in `org.el'. > | Its value is nil > |=20 > | Documentation: > | Non-nil means properties apply also for sublevels. > |=20 > | This setting is chiefly used during property searches. Turning it on = can > | cause significant overhead when doing a search, which is why it is no= t > | on by default. > |=20 > | When nil, only the properties directly given in the current entry cou= nt. > | When t, every property is inherited. The value may also be a list of > | properties that should have inheritance, or a regular expression matc= hing > | properties that should be inherited. > |=20 > | However, note that some special properties use inheritance under spec= ial > | circumstances (not in searches). Examples are CATEGORY, ARCHIVE, COL= UMNS, > | and the properties ending in "_ALL" when they are used as descriptor > | for valid values of a property. > |=20 > | Note for programmers: > | When querying an entry with `org-entry-get', you can control if inhe= ritance > | should be used. By default, `org-entry-get' looks only at the local > | properties. You can request inheritance by setting the inherit argum= ent > | to t (to force inheritance) or to `selective' (to respect the setting > | in this variable). > |=20 > | You can customize this variable. > |=20 > | [back] > `---- >=20 > Regards, > Emilio >=20 >=20 >=20 > _______________________________________________ > 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 >=20