emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [BUG] org-element-at-point rx error on large file [9.6.1 (release_9.


From: Ihor Radchenko
Subject: Re: [BUG] org-element-at-point rx error on large file [9.6.1 (release_9.6.1-34-geea8da @ /home/dericbytes/installs/share/emacs/30.0.50/lisp/org/)]
Date: Tue, 07 Mar 2023 12:22:04 +0000

Deric Bytes <dericbytes@gmail.com> writes:

> Expected:
>
>    Running `org-element-at-point' on large empty file returns nil.
>
> How to replicate:
>
> emacs -q
> (require 'org)
> (newline 200000)
> (org-element-at-point)

You are trying to run an Org AST query command in a non-Org buffer. Org
commands are not guaranteed to work in other major modes, unless
explicitly promised in the docstring.

Canceled.

-- 
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]