all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jean Louis <bugs@gnu.support>
To: Ihor Radchenko <yantar92@posteo.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: Function org-heading-components is not resilient [9.4.3 (9.4.3-elpa @ /home/data1/protected/.emacs.d/elpa/org-20201216/)]
Date: Sun, 18 Dec 2022 03:04:40 +0300	[thread overview]
Message-ID: <Y55ZGCLIy0q7pbAQ@protected.localdomain> (raw)
In-Reply-To: <87iliafj23.fsf@localhost>

* Ihor Radchenko <yantar92@posteo.net> [2022-12-17 12:59]:
> The error looks like you attempted to run `org-heading-components' in
> non-Org buffer. `org-heading-components' behaviour in non-Org buffers is
> undefined.

OK I can change it for my personal use, however, consider that
function `org-heading-components' is useful to parse headings of Org,
as Org markup too often comes in different other modes, for example,
when I write e-mails, in mail-mode on this mailing list we have too
often Org markup. 

Also consider that many Org function work outside of the Org mode, I
find it not consistent by design. for example, create

* Heading

and run

M-x org-id-get-create

-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/


  reply	other threads:[~2022-12-18  0:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-17  5:40 Bug: Function org-heading-components is not resilient [9.4.3 (9.4.3-elpa @ /home/data1/protected/.emacs.d/elpa/org-20201216/)] Jean Louis
2022-12-17  9:58 ` Ihor Radchenko
2022-12-18  0:04   ` Jean Louis [this message]
2022-12-18  1:05     ` Tim Cross
2022-12-18  7:39       ` Jean Louis
2022-12-18 13:36         ` Ihor Radchenko

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

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

  git send-email \
    --in-reply-to=Y55ZGCLIy0q7pbAQ@protected.localdomain \
    --to=bugs@gnu.support \
    --cc=emacs-orgmode@gnu.org \
    --cc=yantar92@posteo.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.