emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BUG] error on org-add-note? [9.6.6 (release_9.6.6 @ /usr/share/emac


From: Ihor Radchenko
Subject: Re: [BUG] error on org-add-note? [9.6.6 (release_9.6.6 @ /usr/share/emacs/29.1/lisp/org/)]
Date: Fri, 17 Nov 2023 09:01:11 +0000

brizly <org-bugtracker-2362@system.rocks> writes:

>> Do I understand correctly that you tried to run M-x org-add-note from
>> a
>> non-Org file?
>> 
>
> That is correct, perhaps my fault, but surprising to get a stacktrace?

`org-add-note' assumes that it is called from an Org buffer. So, as
you may expect, all kinds of unexpected things might happen when it is
called outside Org buffer.

Starting from Emacs 28, we are able to limit commands to show up only in
Org buffers (if necessary). However, we still support Emacs 27 that does
not have that feature, and I know no good way to add mode declaration to
commands without breaking Emacs 27. So, for now, we should leave the
situation as is, until Emacs 30 is release when we can drop Emacs 27
support.

I will leave this open until then.
Confirmed.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]