Re: [O] Remove redundant tags of headlines

2014-03-14 Thread Sebastien Vauban
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

Re: [O] Remove redundant tags of headlines

2014-03-14 Thread Nicolas Richard
Sebastien Vauban sva-news-D0wtAvR13HarG/idocf...@public.gmane.org I tried Edebugging it, but Edebug does not jump into the execution of the anonymous function... edebug can only jump to the anonymous function if it knows that it is a function, which means : don't quote the lambda (or quote

Re: [O] Remove redundant tags of headlines

2014-03-14 Thread Bastien
Hi Sébastien, Sebastien Vauban sva-news-D0wtAvR13HarG/idocf...@public.gmane.org writes: #(:org:FLAGGED: 1 4 (inherited t)) IOW, FLAGGED is not shown as inherited! Because it is not inherited, it is present in the headline. Am I missing something? Hence, all the mechanics which follows

Re: [O] Remove redundant tags of headlines

2014-03-14 Thread Bastien
Hi Nicolas, Nicolas Richard theonewiththeevill...@yahoo.fr writes: (btw, I noticed that worg says remote: No such file: /home/emacs/git/worg/org-tutorials/../code/awk/ical2org.awk src awk when I push to it. I *guess* it comes from org-tutorials/org-google-sync.org which tries to

Re: [O] Remove redundant tags of headlines

2014-03-14 Thread Sebastien Vauban
Hi Bastien, Bastien wrote: Sebastien Vauban writes: #(:org:FLAGGED: 1 4 (inherited t)) IOW, FLAGGED is not shown as inherited! Because it is not inherited, it is present in the headline. Am I missing something? From my point of view and the point of that function (IIUC), yes. Look

Re: [O] Remove redundant tags of headlines

2014-03-14 Thread Bastien
Hi Sébastien, Sebastien Vauban sva-news-D0wtAvR13HarG/idocf...@public.gmane.org writes: ** TODO Project A :FLAGGED: *** TODO Task 1 :FLAGGED: Of course, FLAGGED is present in the headline but, at the same time,

Re: [O] Remove redundant tags of headlines

2014-03-14 Thread Sebastien Vauban
Hi Bastien, ** TODO Project A :FLAGGED: *** TODO Task 1 :FLAGGED: Of course, FLAGGED is present in the headline but, at the same time, it is inherited. It means Org favors explicit tags over inherited ones when

[O] Remove redundant tags of headlines

2014-03-13 Thread Sebastien Vauban
Hello, FYI, the code to Remove redundant tags of headlines (see http://orgmode.org/worg/org-hacks.html#sec-1-8-1) is not functioning anymore. --8---cut here---start-8--- (defun dmj/org-remove-redundant-tags () Remove redundant tags of headlines in current

Re: [O] Remove redundant tags of headlines

2014-03-13 Thread Bastien
Sebastien Vauban sva-news-D0wtAvR13HarG/idocf...@public.gmane.org writes: 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. :) -- Bastien