[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Remove redundant tags of headlines
From: |
Sebastien Vauban |
Subject: |
Re: [O] Remove redundant tags of headlines |
Date: |
Fri, 14 Mar 2014 12:31:41 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt) |
Bastien wrote:
>> I tried Edebugging it, but Edebug does not jump into the execution of
>> the anonymous function...
>
> Just give a name to the anonymous function... and you're back on
> edebugging. :)
OK, of course! Thanks for the tip.
Back to the problem... The root cause is that, with the following
example:
--8<---------------cut here---------------start------------->8---
#+TITLE: ECM Inherited tags
#+FILETAGS: :org:
* Test
** TODO Vérifier pourquoi les tags redondants ne sont plus effacés :FLAGGED:
Lorsqu'ils correspondent à un tag hérité.
*** TODO Test :FLAGGED:
--8<---------------cut here---------------end--------------->8---
when point is somewhere on the outline-3 heading "TODO Test", the
following expression:
(org-entry-get (point) "ALLTAGS")
returns
#(":org:FLAGGED:" 1 4 (inherited t))
IOW, "FLAGGED" is not shown as inherited! Hence, all the mechanics
which follows never removes it!
Best regards,
Seb
--
Sebastien Vauban
Re: [O] Remove redundant tags of headlines, Nicolas Richard, 2014/03/14