From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Re: does #+PROPERTY still exist ? Date: Wed, 22 Sep 2010 04:09:53 -0400 Message-ID: <19364.1285142993@gamaville.dokosmarshall.org> References: <80iq1ygxq6.fsf@gmail.com> <16221.1285135855@gamaville.dokosmarshall.org> <87iq1yw9gd.fsf@noorul.maa.corp.collab.net> <18525.1285141006@gamaville.dokosmarshall.org> Reply-To: nicholas.dokos@hp.com Return-path: Received: from [140.186.70.92] (port=53757 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OyKP0-0001zf-Kr for emacs-orgmode@gnu.org; Wed, 22 Sep 2010 04:10:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OyKOz-0008GF-6P for emacs-orgmode@gnu.org; Wed, 22 Sep 2010 04:10:06 -0400 Received: from vms173005pub.verizon.net ([206.46.173.5]:36750) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OyKOz-0008G0-3I for emacs-orgmode@gnu.org; Wed, 22 Sep 2010 04:10:05 -0400 Received: from gamaville.dokosmarshall.org ([unknown] [173.76.32.106]) by vms173005.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0L9500IBW2OH59PP@vms173005.mailsrvcs.net> for emacs-orgmode@gnu.org; Wed, 22 Sep 2010 03:09:53 -0500 (CDT) In-reply-to: Message from Nick Dokos of "Wed, 22 Sep 2010 03:36:46 EDT." <18525.1285141006@gamaville.dokosmarshall.org> 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: =?us-ascii?Q?nt=3D5FBela=3D3DEFche=3D3F=3D3D=3F=3D?= , Org mode , =?us-ascii?Q?=3D=3Fus-ascii=3FQ=3F=3D3D=3D3Fiso-8859-1=3D3FQ=3D3FVince?=, Noorul Islam K M 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 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. > > > > If I evaluate the form > > (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 > > ... > (while (re-search-backward re beg t) > (setq sumpos (match-beginning 0) > last-level level > level (org-outline-level) > val (org-entry-get nil property) > ... > > I suspect the val line needs to be > > val (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.