From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: does #+PROPERTY still exist ? Date: Wed, 22 Sep 2010 11:05:28 +0200 Message-ID: <99222EEA-E4C8-4EA5-8F06-EA3E3E2CA7C2@gmail.com> References: <80iq1ygxq6.fsf@gmail.com> <16221.1285135855@gamaville.dokosmarshall.org> <87iq1yw9gd.fsf@noorul.maa.corp.collab.net> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=57401 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OyLGf-0002dQ-V3 for emacs-orgmode@gnu.org; Wed, 22 Sep 2010 05:05:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OyLGe-0000c5-BP for emacs-orgmode@gnu.org; Wed, 22 Sep 2010 05:05:33 -0400 Received: from mail-ew0-f41.google.com ([209.85.215.41]:51589) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OyLGe-0000bv-6U for emacs-orgmode@gnu.org; Wed, 22 Sep 2010 05:05:32 -0400 Received: by ewy28 with SMTP id 28so88140ewy.0 for ; Wed, 22 Sep 2010 02:05:31 -0700 (PDT) In-Reply-To: <87iq1yw9gd.fsf@noorul.maa.corp.collab.net> 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: Noorul Islam K M Cc: =?US-ASCII?Q?=3D=3Fiso-8859-1=3FQ=3FVincent=5FBela=3DEFche=3F=3D?= , nicholas.dokos@hp.com, Org mode On Sep 22, 2010, at 8:58 AM, Noorul Islam K M wrote: > Nick Dokos writes: > >> Vincent Bela=EFche wrote: >> >>> In the org manual node `(org) Property syntax' one can read the >>> following: >>> >>> >>> --8<-------------coupez ici--------------d=E9but-------------->8--- >>> If you want to set properties that can be inherited by any entry >>> in a file, use a line like >>> #+PROPERTY: NDisks_ALL 1 2 3 4 >>> --8<-------------coupez ici---------------fin--------------->8--- >>> >>> However this does not seem to work. >> >> In what way does it fail to work? >> >> AFAICT, it works as advertised: after inserting the above line, I =20 >> try to >> insert a NDisks property with >> >> C-c C-x p NDisks5 >> >> and it complains ("No match"). If I use e.g. 3 instead of 5, the >> property is inserted. >> > > In the below example > > ---------------------------------------------------------------- > #+PROPERTY: Age 25 > #+COLUMNS: %25ITEM %Age > > * Heading 1 > * Heading 2 > ---------------------------------------------------------------- > > When I try to use column view to edit the property it is not using the > format that I mentioned at the file level. > > But the following one works > > ---------------------------------------------------------------- > * Heading 1 > :PROPERTIES: > :Age: 25 > :COLUMNS: %25ITEM %Age > :END: > * Heading 2 > ---------------------------------------------------------------- > > Looks like the file level settings are not working. They are, but 1. inheritance is not on by default, you need to enable if for specific properties. 2. Column view never looks at inherited values. That iswhy it is not using org-entry-get with an inheritance flag. Column view only shows and edits properties that are local to each entry. Otherwise, editing an inherited value would silently edit it also for other entries. I hope this makes it a bit clearer. - Carsten