emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Bug: Property inheritance not working in columns [7.9.3f (releas


From: Nicolas Goaziou
Subject: Re: [O] 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

Hello,

Nik Clayton <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]