From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: org-use-property-inheritance not working? Date: Sat, 30 May 2015 13:04:17 +0200 Message-ID: References: <87617bqb2c.fsf@selenimh.access.network> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56879) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YyeZ4-0002Lc-CL for emacs-orgmode@gnu.org; Sat, 30 May 2015 07:04:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YyeZ1-0003sL-70 for emacs-orgmode@gnu.org; Sat, 30 May 2015 07:04:30 -0400 Received: from mail-wg0-f48.google.com ([74.125.82.48]:33716) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YyeZ1-0003sH-19 for emacs-orgmode@gnu.org; Sat, 30 May 2015 07:04:27 -0400 Received: by wgez8 with SMTP id z8so80621008wge.0 for ; Sat, 30 May 2015 04:04:26 -0700 (PDT) In-Reply-To: <87617bqb2c.fsf@selenimh.access.network> (Nicolas Goaziou's message of "Sat, 30 May 2015 00:21:47 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Charles C. Berry" Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Nicolas Goaziou writes: > Hello, > > "Charles C. Berry" writes: > >> On Fri, 29 May 2015, Rainer M Krug wrote: >>> >>> Is this to be expected? I always thought, that the properties are >>> hierarchical, and that the ones from the lower levels / headers are used >>> as well? >>> >> >> I would have thought this, too. > > Property inheritance doesn't work that way.=20 > > It only means that it will look higher in the hierarchy if current entry > doesn't have the property you want. This is explained in > `org-entry-get-with-inheritance' docstring: > > "Get PROPERTY of entry or content at point, search higher levels if nee= ded. > The search will stop at the first ancestor which has the property > defined." OK - but this behavior is not influenced by the variable org-use-property-inheritance. So what is the meaning of the variable then? Cheers, Rainer > > Here, current entry has the property, so it ignores the one above. > > > Regards, =2D-=20 Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,= UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: Rainer@krugs.de Skype: RMkrug PGP: 0x0F52F982 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iQEcBAEBAgAGBQJVaZk2AAoJENvXNx4PUvmC1+gH/2IuIB83HgofPZxzHYGOKXg+ LvCi0j/qIO07j6p0txRfgDrGuwZ5dzaM9HmO5SHrWxetUIMHH/6bv89sTeExg9u0 pMDGd0SczZfcCt3QNRfxUYChULZrozSUhJCMwr8vB5pcifgHMdB+buTLz4k9Iyrh fxC34ZWyKLi9RHTczmbr3Ccy4xyftYor1yILrj8ExQ/7ahbasqd+9M7YQy8rv93E 737o4eOAU39/Mq4GJ9TX/+xANIt/iSVuILHANGfeKAYM65raJqxPlsDPsM3Jd/dD 6Ox6MFFeBKnaQn4PaKXAodp/7fB8segNHEzZa5JoJ+/F387kAispOdqg2VWkYMM= =0C62 -----END PGP SIGNATURE----- --=-=-=--