From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastien Vauban Subject: Re: Remove redundant tags of headlines Date: Fri, 14 Mar 2014 12:31:41 +0100 Message-ID: <86d2hpdnj6.fsf@somewhere.org> References: <864n32yust.fsf@somewhere.org> <871ty6qekt.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org 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=C3=A9rifier pourquoi les tags redondants ne sont plus effac=C3=A9= s :FLAGGED: Lorsqu'ils correspondent =C3=A0 un tag h=C3=A9rit=C3=A9. *** TODO Test :FLAG= GED: --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 --=20 Sebastien Vauban