emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kaushal Modi <kaushal.modi@gmail.com>
To: Marcin Borkowski <mbork@mbork.pl>
Cc: Org-Mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: org-get-heading, but without the count/percentage cookies
Date: Wed, 14 Feb 2018 13:22:59 +0000	[thread overview]
Message-ID: <CAFyQvY3v7zBLk8SwiuaM-avW9QAzBB40wT68o6KmUanurrKT6Q@mail.gmail.com> (raw)
In-Reply-To: <87sha37q99.fsf@mbork.pl>

[-- Attachment #1: Type: text/plain, Size: 769 bytes --]

On Wed, Feb 14, 2018, 6:42 AM Marcin 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'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

[-- Attachment #2: Type: text/html, Size: 1795 bytes --]

  reply	other threads:[~2018-02-14 13:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-14 11:41 org-get-heading, but without the count/percentage cookies Marcin Borkowski
2018-02-14 13:22 ` Kaushal Modi [this message]
2018-02-14 19:35   ` Marcin Borkowski
2018-02-14 13:36 ` Nicolas Goaziou
2018-02-14 19:37   ` Marcin Borkowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAFyQvY3v7zBLk8SwiuaM-avW9QAzBB40wT68o6KmUanurrKT6Q@mail.gmail.com \
    --to=kaushal.modi@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mbork@mbork.pl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).