Arsen Arsenović <ar...@aarsen.me> writes:

> If attempting to capture something while global-whitespace-mode is
> enabled, a second capture will fail with "Marker does not point
> anywhere".  The first capture attempt presumably succeeds since
> whitespace-mode didn't touch the buffer yet at time of searching.
> Reproduction steps:
>
> (in an org-mode.git clone)
>
> 1. emacs -Q --execute '(global-whitespace-mode)' -L lisp/
> 2. M-x org-capture RET t C-c C-c
> 2. M-x org-capture RET t
>
> I'm uncertain if this is relevant, but I just spotted that *Warnings*
> also gets:
>
>   Warning (org): Capture requirement: switching buffer #<buffer .notes>
>   to Org mode
>
> Backtrace:
>
> Debugger entered--Lisp error: (error "Capture template ‘t’: Marker does not 
> point anywhe...")

I can reproduce on Emacs 29, but not on Emacs 28.
Does not look like Org's fault.
I replied in your Emacs bug report:
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59618

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