emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Sébastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: Property inheritance for MAIL_FMT, MAIL_TO, MAIL_CC and MAIL_BCC
Date: Fri, 14 Jan 2011 10:29:19 +0100	[thread overview]
Message-ID: <80aaj3bzps.fsf@missioncriticalit.com> (raw)
In-Reply-To: 87vd1s8cz7.fsf@gmail.com

Hi Eric and Niels,

"Eric Schulte" wrote:
> niels giesen <niels.giesen-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
>> Please see the patch below, it adds property inheritance for all
>> MAIL_* properties, based on the value of
>> `org-use-property-inheritance'.
>
> Thanks for the patch, and for the motivating usage example. -- Eric

If I understand correctly, one must enable =org-use-property-inheritance= for
the above to be in effect.

Though, this is discouraged in the doc:

    ,----
    | 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.
    `----

Couldn't we either:

- consider the MAIL_* properties as the *_ALL ones that well have inheritance
  enabled by default?

    ,----
    | 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.
    `----

- have a setting allowing for the inheritance of just these special
  properties, as an extra, in order not to penalize too much the searches?

Best regards,
  Seb

-- 
Sébastien Vauban


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

  reply	other threads:[~2011-01-14  9:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-13 22:47 Property inheritance for MAIL_FMT, MAIL_TO, MAIL_CC and MAIL_BCC niels giesen
2011-01-14  0:11 ` Eric Schulte
2011-01-14  9:29   ` Sébastien Vauban [this message]
2011-01-14 13:32     ` Eric Schulte

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=80aaj3bzps.fsf@missioncriticalit.com \
    --to=wxhgmqzgwmuf-genee64ty+gs+fvcfc7uqw@public.gmane.org \
    --cc=emacs-orgmode-mXXj517/zsQ@public.gmane.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).