From mboxrd@z Thu Jan 1 00:00:00 1970 From: Noorul Islam Subject: Re: does #+PROPERTY still exist ? Date: Wed, 22 Sep 2010 14:26:50 +0530 Message-ID: References: <80iq1ygxq6.fsf@gmail.com> <16221.1285135855@gamaville.dokosmarshall.org> <87iq1yw9gd.fsf@noorul.maa.corp.collab.net> <18525.1285141006@gamaville.dokosmarshall.org> <19364.1285142993@gamaville.dokosmarshall.org> <87eicmw4lq.fsf@noorul.maa.corp.collab.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=32835 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OyL8G-0007nn-VG for emacs-orgmode@gnu.org; Wed, 22 Sep 2010 04:56:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OyL8F-0007Yh-DJ for emacs-orgmode@gnu.org; Wed, 22 Sep 2010 04:56:52 -0400 Received: from mail-yx0-f169.google.com ([209.85.213.169]:65418) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OyL8F-0007YM-BA for emacs-orgmode@gnu.org; Wed, 22 Sep 2010 04:56:51 -0400 Received: by yxk8 with SMTP id 8so112855yxk.0 for ; Wed, 22 Sep 2010 01:56:50 -0700 (PDT) In-Reply-To: <87eicmw4lq.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: nicholas.dokos@hp.com Cc: =?ISO-8859-1?Q?Vincent_Bela=EFche?= , Org mode On Wed, Sep 22, 2010 at 2:13 PM, Noorul Islam K M wrote= : > Nick Dokos writes: > >> Nick Dokos wrote: >> >>> Noorul Islam K M wrote: >>> >>> > >>> > 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 th= e >>> > format that I mentioned at the file level. >>> > >>> > But the following one works >>> > >>> > ---------------------------------------------------------------- >>> > * Heading 1 >>> > =A0 :PROPERTIES: >>> > =A0 :Age: 25 >>> > =A0 :COLUMNS: %25ITEM %Age >>> > =A0 :END: >>> > * Heading 2 >>> > ---------------------------------------------------------------- >>> > >>> > Looks like the file level settings are not working. >>> > >>> >>> If I evaluate the form >>> >>> =A0 =A0 (org-entry-get (point) "Age" t) >>> >>> with the point at any heading, I get "25". OTOH, even with >>> org-use-property-inheritance set to t, column view does not >>> show it. Ergo, it's a column view bug. >>> >>> In org-columns-compute, I see >>> >>> =A0 =A0 =A0 ... >>> =A0 =A0 =A0 (while (re-search-backward re beg t) >>> =A0 =A0 =A0(setq sumpos (match-beginning 0) >>> =A0 =A0 =A0 =A0 =A0 =A0last-level level >>> =A0 =A0 =A0 =A0 =A0 =A0level (org-outline-level) >>> =A0 =A0 =A0 =A0 =A0 =A0val (org-entry-get nil property) >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 ... >>> >>> I suspect the val line needs to be >>> >>> =A0 =A0 =A0 =A0 =A0 =A0val (org-entry-get nil property org-use-property= -inheritance) >>> >>> instead. >>> >> >> No, that's not it. I think the basic problem is that >> org-entry-properties ignores inheritance altogether (in particular, >> it parses property names explicitly instead of using org-entry-get)[1]. >> >> Nick >> >> [1] ... but it's late, I'm tired and I may very well be wrong - again. > > Well, following one works. It looks like we need _ALL suffix for > inherited properties. > > ---------------------------------------------- > #+COLUMNS: %25ITEM %10Age > #+PROPERTY: Age_ALL 25 > > * Heading 1 > * Heading 2 > ---------------------------------------------- > To summarize: Whatever Vincent said not working is working for me. Org-mode version 7.01trans (release_7.01h.555.g90cc) GNU Emacs 23.1.1 (i686-pc-linux-gnu, GTK+ Version 2.12.12) of 2010-01-30 on noorul Thanks and Regards Noorul