emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Nik Clayton <nik@ngo.org.uk>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
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	[thread overview]
Message-ID: <87mw0irvz2.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CAKJTzL7AKP25U7zrrSzGhMdqfKHxqZ992P4tmbG-xKSWymPaSg@mail.gmail.com> (Nik Clayton's message of "Tue, 2 Jun 2015 11:57:09 +0100")

Hello,

Nik Clayton <nik@ngo.org.uk> 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	other threads:[~2015-06-02 15:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-02 10:57 Bug: Property inheritance not working in columns [7.9.3f (release_7.9.3f-17-g7524ef @ /usr/share/emacs/24.3/lisp/org/)] Nik Clayton
2015-06-02 15:06 ` Nicolas Goaziou [this message]
2015-06-02 15:55   ` Nik Clayton
2015-06-02 20:02     ` Nicolas Goaziou
2015-06-03  8:36       ` Nik Clayton
  -- strict thread matches above, loose matches on Subject: below --
2015-06-01 17:27 Nik Clayton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mw0irvz2.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=nik@ngo.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).