From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MDwuLubncmJspgAAbAwnHQ (envelope-from ) for ; Wed, 04 May 2022 22:53:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id gNs0LubncmJX7wAA9RJhRA (envelope-from ) for ; Wed, 04 May 2022 22:53:58 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6A8FB8C8E for ; Wed, 4 May 2022 22:53:58 +0200 (CEST) Received: from localhost ([::1]:54064 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nmM0S-0003Ji-R4 for larch@yhetil.org; Wed, 04 May 2022 16:53:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56614) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmLzN-0002QY-Nc for emacs-orgmode@gnu.org; Wed, 04 May 2022 16:52:49 -0400 Received: from ciao.gmane.io ([116.202.254.214]:41588) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmLzL-0002cg-5z for emacs-orgmode@gnu.org; Wed, 04 May 2022 16:52:49 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1nmLzI-0004Oq-TI for emacs-orgmode@gnu.org; Wed, 04 May 2022 22:52:44 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Nick Dokos Subject: Re: [BUG] - Statistics cookie is part of the org heading title Date: Wed, 04 May 2022 16:52:34 -0400 Message-ID: <87pmktaulp.fsf@alphaville.usersys.redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cancel-Lock: sha1:7+VJa8oRmgBWsGXgmDIRCt2dEmY= Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 5 X-Spam_score: 0.5 X-Spam_bar: / X-Spam_report: (0.5 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1651697638; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=rottyAcb8Hg+mbr+dtVwg2OrBSY6KQSgVOxUW6IfHiE=; b=XaeZ2wKqnQT3FBVbIFsn5uCSz1iNMtKcIszUEw0/gH7HDmaV7TdcChACLAJbaztJwtIefv 6IuVa9Z7KnoiDiGHt41iVhqfnSTzH0lzrlkeHU8gLOs2ZzLlTbzSOzj6nXIX0mgcwkCTF0 eBXSqWJcKISBjKjAXHj3nltoulzPw55dqb8f6DXyrvWyEeWKrq0h6sw6qMLSOUNZVI1kT1 b5/9YWS+J4XBCtfVtPswbKbPNB4xU3WL2U0IOmIahAGFgmV+tamDrPhMbu6rzfCOo3DnZS AdYszAQsqNmAOWYfs2sI9WxeaOnYLS3EQJmVD7cXaQOdgfuctqMHFpHi/juHOg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651697638; a=rsa-sha256; cv=none; b=aNiOpi0ulk8YwnPCFuiQBh7jmVpYBBOtMCrZPku+EuVuHsPFNMfmonc+2P4hi8/w8BYhaF jtGQMG1+RdMwpZcm3DoGeNEZVBl/KCvxtH9HOlR8JBAE20miSYQ9WT+q/T9WH53fZj+gmp Kbej2uboR/dH2pHqsO44IeT1ML1q0Z9HPrp20HDHFykhNGCltukJlX6IJ580ProABS898C dRqBXNIIEp8InzwJICzOcDrqU2wYHvsMuJoDK9JrCMHYxLUbnunw+LlNq0WR0h/3xnzsjt jR1ojUXBZiFvCybbPR3FEftjmlMdORc0TmzK583buuiUH0wGTtBNxm2EWoXgKA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 2.21 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 6A8FB8C8E X-Spam-Score: 2.21 X-Migadu-Scanner: scn0.migadu.com X-TUID: BKZp4042gNTv Fabian writes: > Hi everybody, > > I would like to report his behaviour as a bug: A crucial piece of information is missing here: this concerns the behavior of the function `org-heading-components'. > ---- > Example: > > * Some Heading Title [0/1] ;; cursor in this line when executing > ** TODO Some Todo Item > > -> result is "Some Heading Title [0/1]" > > -> desired result would be "Some Heading Title" > ---- > > I don't see any reason why the statistics cookie should be part of > the title: it should be a separate component. > > The Topic has beend posted on Stack here: > https://emacs.stackexchange.com/questions/71592/extract-org-heading-title-without-task-count-e-g-0-0?noredirect=1#comment115659_71592 > > Best Regards, > > Fabian > > -- Nick "There are only two hard problems in computer science: cache invalidation, naming things, and off-by-one errors." -Martin Fowler