From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [PATCH] Add NO-STATS switch to org-get-heading Date: Fri, 13 Mar 2020 18:37:08 +0100 Message-ID: <87k13o88cb.fsf@nicolasgoaziou.fr> References: <20200313151145.29469-1-brice@waegenei.re> <87sgic890t.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:42536) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jCoFF-00014r-IY for emacs-orgmode@gnu.org; Fri, 13 Mar 2020 13:37:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jCoFE-0004eh-4E for emacs-orgmode@gnu.org; Fri, 13 Mar 2020 13:37:13 -0400 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:32831) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jCoFD-0004WI-TZ for emacs-orgmode@gnu.org; Fri, 13 Mar 2020 13:37:12 -0400 In-Reply-To: <87sgic890t.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Fri, 13 Mar 2020 18:22:26 +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-mx.org@gnu.org Sender: "Emacs-orgmode" To: Brice Waegeneire Cc: emacs-orgmode@gnu.org Nicolas Goaziou writes: > This assumes statistics cookie is always located at the end of the > title, before the tags. This is not required by the syntax. > > Syntax can evolve, but it could introduce many backward > incompatibilities, so it must be discussed first. Also, note that statistics cookies are not tied to headlines, unlike tags or TODO keywords. They can be located almost anywhere in the document (e.g., in plain lists). So, it seems strange to add it to `org-get-heading'.