all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: egallego@babel.ls.fi.upm.es (Emilio Jesús Gallego Arias)
To: emacs-orgmode@gnu.org
Subject: Re: (org-entry-properties nil 'all) does not return inherited properties
Date: Mon, 22 Mar 2010 18:44:38 +0100	[thread overview]
Message-ID: <877hp48d4p.fsf@baal.ls.fi.upm.es> (raw)
In-Reply-To: 20100322150100.GA21387@homac

Holger Macht <holger@homac.de> writes:

> (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 properties
> of an item, also inherited ones?
>
> Currently I was just able to find (org-entry-get), but this only returns
> one specific property of which I need to know the name.

See:

,----[ C-h v org-use-property-inheritance RET ]
| org-use-property-inheritance is a variable defined in `org.el'.
| Its value is nil
| 
| Documentation:
| Non-nil means properties apply also for sublevels.
| 
| This setting is chiefly used during property searches. Turning it on can
| cause significant overhead when doing a search, which is why it is not
| on by default.
| 
| When nil, only the properties directly given in the current entry count.
| When t, every property is inherited.  The value may also be a list of
| properties that should have inheritance, or a regular expression matching
| properties that should be inherited.
| 
| However, note that some special properties use inheritance under special
| circumstances (not in searches).  Examples are CATEGORY, ARCHIVE, COLUMNS,
| and the properties ending in "_ALL" when they are used as descriptor
| for valid values of a property.
| 
| Note for programmers:
| When querying an entry with `org-entry-get',  you can control if inheritance
| should be used.  By default, `org-entry-get' looks only at the local
| properties.  You can request inheritance by setting the inherit argument
| to t (to force inheritance) or to `selective' (to respect the setting
| in this variable).
| 
| You can customize this variable.
| 
| [back]
`----

Regards,
Emilio

  reply	other threads:[~2010-03-22 17:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-22 15:01 (org-entry-properties nil 'all) does not return inherited properties Holger Macht
2010-03-22 17:44 ` Emilio Jesús Gallego Arias [this message]
2010-03-22 18:06   ` Holger Macht
2010-03-22 20:07     ` Emilio Jesús Gallego Arias
2010-03-22 21:56       ` Holger Macht
2010-03-22 22:34         ` Emilio Jesús Gallego Arias
2010-03-24 12:37         ` Carsten Dominik

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877hp48d4p.fsf@baal.ls.fi.upm.es \
    --to=egallego@babel.ls.fi.upm.es \
    --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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.