From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kaushal Modi Subject: Re: org-get-heading, but without the count/percentage cookies Date: Wed, 14 Feb 2018 13:22:59 +0000 Message-ID: References: <87sha37q99.fsf@mbork.pl> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="089e08267cc455e79505652c0321" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39773) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1elx1m-0001Pt-VE for emacs-orgmode@gnu.org; Wed, 14 Feb 2018 08:23:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1elx1m-000793-2P for emacs-orgmode@gnu.org; Wed, 14 Feb 2018 08:23:14 -0500 Received: from mail-yw0-x235.google.com ([2607:f8b0:4002:c05::235]:33976) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1elx1l-00077e-SX for emacs-orgmode@gnu.org; Wed, 14 Feb 2018 08:23:13 -0500 Received: by mail-yw0-x235.google.com with SMTP id z77so3027199ywa.1 for ; Wed, 14 Feb 2018 05:23:13 -0800 (PST) In-Reply-To: <87sha37q99.fsf@mbork.pl> 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" To: Marcin Borkowski Cc: Org-Mode mailing list --089e08267cc455e79505652c0321 Content-Type: text/plain; charset="UTF-8" On Wed, Feb 14, 2018, 6:42 AM Marcin Borkowski wrote: > Hi list, > > Is it possible to get the text of the Org heading, but without the [n/m] > cookie (or its percentage equivalent)? What exporter are you using? I understand that your question/issue isn't specific to an exporter, but based on the exporter, this task can be very easy. Or should I just massage the result of org-get-heading myself? > That seems to be the only way at the moment. If the latter, isn't it a bug? (I have a use-case where this is > /really/ necessary.) > That seems to be a grey area.. some folks might actually like to retain that todo meta data.. or could be that that meta data doesn't yet have an associated org-element (internal parser). > -- Kaushal Modi --089e08267cc455e79505652c0321 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, Feb 14, 2018, 6:42 AM M= arcin Borkowski <mbork@mbork.pl>= ; wrote:
Hi list,

Is it possible to get the text of the Org heading, but without the [n/m] cookie (or its percentage equivalent)?

What exporter are you using? I understand that your question/issue isn= 9;t specific to an exporter, but based on the exporter, this task can be ve= ry easy.=C2=A0

Or should I just massage the
result of org-get-heading myself?

That seems to be the only way at the moment.=C2=A0

If the latter, isn&#= 39;t it a bug?=C2=A0 (I have a use-case where this is
/really/ necessary.)

That seems t= o be a grey area.. some folks might actually like to retain that todo meta = data.. or could be that that meta data doesn't yet have an associated o= rg-element (internal parser).=C2=A0
--

Kaushal Modi

--089e08267cc455e79505652c0321--