From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: Re: Property inheritance for MAIL_FMT, MAIL_TO, MAIL_CC and MAIL_BCC Date: Fri, 14 Jan 2011 06:32:57 -0700 Message-ID: <87sjwv7gfh.fsf@gmail.com> References: <877he8xvxh.fsf@gmail.com> <87vd1s8cz7.fsf@gmail.com> <80aaj3bzps.fsf@missioncriticalit.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=50450 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PdjsQ-0007UE-7O for emacs-orgmode@gnu.org; Fri, 14 Jan 2011 08:39:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PdjsO-0000IU-5k for emacs-orgmode@gnu.org; Fri, 14 Jan 2011 08:39:38 -0500 Received: from mail-pv0-f169.google.com ([74.125.83.169]:40240) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PdjsN-0000IF-W2 for emacs-orgmode@gnu.org; Fri, 14 Jan 2011 08:39:36 -0500 Received: by pvc30 with SMTP id 30so562734pvc.0 for ; Fri, 14 Jan 2011 05:39:35 -0800 (PST) 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: =?utf-8?Q?S=C3=A9bastien?= Vauban Cc: emacs-orgmode@gnu.org Hi Seb, Good idea, I've just placed this behind a new `org-mime-use-property-inheritance' variable which will default to nil. I was originally going to have this variable default to t, but the idea of causing people to accidentally add unintended recipients to emails is too scary. Thanks for the suggestion -- Eric S=C3=A9bastien Vauban writes: > Hi Eric and Niels, > > "Eric Schulte" wrote: >> niels giesen 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 =3Dorg-use-property-inheritanc= e=3D 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 > |=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 = not > | on by default. > `---- > > Couldn't we either: > > - consider the MAIL_* properties as the *_ALL ones that well have inherit= ance > enabled by default? > > ,---- > | However, note that some special properties use inheritance under sp= ecial > | circumstances (not in searches). Examples are CATEGORY, ARCHIVE, C= OLUMNS, > | 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