emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Samuel Wales <samologist@gmail.com>
To: Daniel Fleischer <danflscr@gmail.com>
Cc: Fabian <learning@hailmail.net>, emacs-orgmode@gnu.org
Subject: Re: [BUG] - Statistics cookie is part of the org heading title
Date: Tue, 3 May 2022 21:42:46 -0700	[thread overview]
Message-ID: <CAJcAo8vgka8k1KwoeRTzH2o7m0YSVSwMaKZWfO-LLa-goW_xog@mail.gmail.com> (raw)
In-Reply-To: <m2fslq6is7.fsf@gmail.com>

some code removes it.  for example creating a link to a headline using capture.

On 5/3/22, Daniel Fleischer <danflscr@gmail.com> wrote:
> Fabian <learning@hailmail.net> writes:
>
>> I don't see any reason why the statistics cookie should be part of the
>> title: it should be a separate component.
>
> According to the spec, the statistics cookie can appear anywhere, it's a
> text element. It can appear in a headline where it has more meaning and
> also appear anywhere in the headline, not necessarily at the end. The
> function you failed to mention but is mentioned in the link is
> `org-heading-components` which does a simple split around syntax parts:
> stars, TODO word, text, tags. If you don't want to see the cookie you
> can remove it easily from text using regex.
>
> --
>
> Daniel Fleischer
>
>


-- 
The Kafka Pandemic

A blog about science, health, human rights, and misopathy:
https://thekafkapandemic.blogspot.com


  reply	other threads:[~2022-05-04  4:43 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-03  9:27 [BUG] - Statistics cookie is part of the org heading title Fabian
2022-05-04  4:09 ` Daniel Fleischer
2022-05-04  4:42   ` Samuel Wales [this message]
2022-05-04  5:32     ` Ihor Radchenko
2022-05-04  6:31       ` Ignacio Casso
2022-05-04 11:56         ` Ihor Radchenko
2022-05-04 12:38           ` Alexander Adolf
2022-05-04 12:58             ` Ihor Radchenko
2022-05-04 13:36               ` Alexander Adolf
2022-05-04 15:12           ` Reply to list from lists.gnu.org archives Max Nikulin
2022-05-04 15:29             ` Ihor Radchenko
2022-05-05 11:02           ` [BUG] - Statistics cookie is part of the org heading title Ignacio Casso
2022-05-04 20:52 ` Nick Dokos

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=CAJcAo8vgka8k1KwoeRTzH2o7m0YSVSwMaKZWfO-LLa-goW_xog@mail.gmail.com \
    --to=samologist@gmail.com \
    --cc=danflscr@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=learning@hailmail.net \
    /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).