From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Remove redundant tags of headlines Date: Fri, 14 Mar 2014 16:28:24 +0100 Message-ID: <87bnx8re93.fsf@bzg.ath.cx> References: <864n32yust.fsf@somewhere.org> <871ty6qekt.fsf@bzg.ath.cx> <86d2hpdnj6.fsf@somewhere.org> <87y50crg14.fsf@bzg.ath.cx> <86lhwc4yb3.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60802) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WOU2d-0007A2-7I for emacs-orgmode@gnu.org; Fri, 14 Mar 2014 11:29:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WOU2W-0000jY-GA for emacs-orgmode@gnu.org; Fri, 14 Mar 2014 11:28:59 -0400 Received: from plane.gmane.org ([80.91.229.3]:48246) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WOU2W-0000jQ-9T for emacs-orgmode@gnu.org; Fri, 14 Mar 2014 11:28:52 -0400 Received: from public by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WOU2S-0003ki-8Q for emacs-orgmode@gnu.org; Fri, 14 Mar 2014 16:28:48 +0100 In-Reply-To: <86lhwc4yb3.fsf@somewhere.org> (Sebastien Vauban's message of "Fri, 14 Mar 2014 16:03:44 +0100") 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@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Sebastien Vauban Cc: public-emacs-orgmode-mXXj517/zsQ@plane.gmane.org Hi Sébastien, Sebastien Vauban writes: > ** 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 presenting them through `org-entry-get'. > IIUC, the goal of the function written by David was to remove redundant > tags. In the above case, "FLAGGED" should be removed from "Task 1" > because it is superfluous (redundant with its parent entry). Can you find when David's function was still functional for you? > I'd think that asking for all tags of "Task 1" should output both > a local "FLAGGED" tag and an inherited "FLAGGED" one. Well, ALLTAGS means all distinct tags for me, and I don't see how outputting all duplicate tags would be useful. You'll have to find another use-case than just David's function to convince me :) -- Bastien