emacs-orgmode
[Top][All Lists]
Advanced

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

[BUG] org-element-at-point: Throw an error when not in org-mode [9.7-pre


From: Marie-Helene Burle
Subject: [BUG] org-element-at-point: Throw an error when not in org-mode [9.7-pre (release_9.6.15-1033-gd8586f @ /home/marie/.emacs.d/straight/build/org/)]
Date: Thu, 04 Jan 2024 12:46:40 -0800
User-agent: mu4e 1.10.8; emacs 29.1

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

     https://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org mailing list.
------------------------------------------------------------------------

I suspect that this has already been reported as I saw it here: 
https://www.mail-archive.com/emacs-elpa-diffs@gnu.org/msg102743.html.

Just wanted to make sure it got to the right channel. Apologies for a useless 
message if it already did.

Noticed this problem with org 9.7. Used to be no problem with prior version.

Also mentioned in 
https://www.reddit.com/r/emacs/comments/18gkx0i/orgelementatpoint_cannot_be_used_in_nonorg_buffer/.

In my case, I get the error when using `org-meta-return` in non-org buffers.

I then get either of these error messages:

Warning (org-element): ‘org-element-at-point’ cannot be used in non-Org buffer
Warning (org-element): org-element--cache: Org parser error in <my-file>. 
Resetting.

Thank you.

Emacs  : GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, 
cairo version 1.17.8)
Package: Org mode version 9.7-pre (release_9.6.15-1033-gd8586f @ 
/home/marie/.emacs.d/straight/build/org/)



reply via email to

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