From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: Property inheritance not working in columns [7.9.3f (release_7.9.3f-17-g7524ef @ /usr/share/emacs/24.3/lisp/org/)] Date: Tue, 02 Jun 2015 17:06:09 +0200 Message-ID: <87mw0irvz2.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40770) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YznkG-0008Em-Tv for emacs-orgmode@gnu.org; Tue, 02 Jun 2015 11:04:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YznkB-0000vs-My for emacs-orgmode@gnu.org; Tue, 02 Jun 2015 11:04:48 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:36821) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YznkB-0000vV-GH for emacs-orgmode@gnu.org; Tue, 02 Jun 2015 11:04:43 -0400 In-Reply-To: (Nik Clayton's message of "Tue, 2 Jun 2015 11:57:09 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nik Clayton Cc: emacs-orgmode Hello, Nik Clayton writes: > Property inheritance does not seem to work when running C-c C-x C-c > (org-columns). > > Reproduction recipe (I can also reproduce this on org-mode from the Git > repository > (reproduced with 1a7364177046... and it's also noted on > http://emacs.stackexchange.com/questions/7335). > > > 1. Start emacs with "emacs -Q" > > 2. Evaluate the following to enable property inheritance, and to define > custom columns that include the value of the "PROJECT" property. > > (setq org-columns-default-format > "%CATEGORY %15PROJECT(Project) %55ITEM(Task)") > > (setq org-use-property-inheritance t) > > 3. Load the following in to an org-mode buffer. > > * TODO Test > :PROPERTIES: > :CATEGORY: Cat. Name > :PROJECT: Proj. Name > :END: > > ** TODO A subtask > This is a subtask > > ** TODO Another subtask > This is another subtask > > > 4. Run C-c C-x C-c in the buffer to enable org-columns. > > > Expected result: > > A buffer that looks something like: > > CATEGORY | Project | Task > Cat. Name | Proj. Name | * TODO Test > Cat. Name | Proj. Name | ** TODO A subtask > Cat. Name | Proj. Name | ** TODO Another subtask > > > Actual result: > > A buffer where the "PROJECT" property has not been inherited, and looks > like this: > > CATEGORY | Project | Task > Cat. Name | Proj. Name | * TODO Test > Cat. Name | | ** TODO A subtask > Cat. Name | | ** TODO Another subtask > > > Inspecting the value of the variable org-columns-default-format with > M-x show-variable tells me: > > org-columns-default-format's value is > "%CATEGORY %15PROJECT(Project) %55ITEM(Task)" > Original value was > "%25ITEM %TODO %3PRIORITY %TAGS" Fixed in 0f93638ce1b29792033231426a4555e538f5c959. Thank you. Regards, -- Nicolas Goaziou