emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] [PATCH] Fix `org-refresh-category-properties'


From: Samuel Loury
Subject: Re: [O] [PATCH] Fix `org-refresh-category-properties'
Date: Tue, 28 Apr 2015 10:14:11 +0200
User-agent: Notmuch/0.19 (http://notmuchmail.org) Emacs/24.4.1 (x86_64-pc-linux-gnu)

Nicolas Goaziou <address@hidden> writes:

> Hello,
>
> Samuel Loury <address@hidden> writes:
>
>> Samuel Loury <address@hidden> writes:
>>
>>> Dear Nicolas,
>>
>> [...]
>>
>>> --8<---------------cut here---------------start------------->8---
>>> #+CATEGORY: c
>>> * foo
>>>   :PROPERTIES:
>>>   :CATEGORY: a
>>>   :END:
>>> ** bar
>>>    :PROPERTIES:
>>>    :CATEGORY: b
>>>    :END:
>>>
>>> --8<---------------cut here---------------end--------------->8---
>>>
>>> `org-get-category' in the bar headline returns 'a', while I would expect
>>> it to return 'b'.
>>
>> [...]
>>
>>> I don't understand why one would want to remove this behavior. Does it
>>> raise a technical issue?
>
> No, it's a bug.
>
>> After a quick look at the code, I wonder if this new behavior is a
>> technical choice or hopefully a simple mistake.
>
> The latter.
>
>> Please find attached a patch that restores the behavior of taking into
>> account the CATEGORY keyword in sub-trees also.
>                     
>
> Applied, with an additional test. Thank you.

Thank you for the fast answer.

-- 
Konubinix
GPG Key    : 7439106A
Fingerprint: 5993 BE7A DA65 E2D9 06CE  5C36 75D2 3CED 7439 106A

Attachment: signature.asc
Description: PGP signature


reply via email to

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