bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#59618: 29.0.50; global-whitespace-mode + org-capture: "Marker does n


From: Ihor Radchenko
Subject: bug#59618: 29.0.50; global-whitespace-mode + org-capture: "Marker does not point anywhere"
Date: Tue, 13 Dec 2022 06:34:57 +0000

Richard Hansen <rhansen@rhansen.org> writes:

> I believe this is caused by an interaction between indirect buffers and 
> after-change-functions.  In the buffer with the error, 
> whitespace--update-bob-eob is in after-change-functions even though 
> whitespace-color-on (which is the only place that hook is registered) is 
> never called on the buffer.  whitespace-color-on sets up state that 
> whitespace--update-bob-eob depends on, which is why the error occurs.

Org's capture buffer is created by calling `make-indirect-buffer' with
CLONE argument.  This makes Emacs clone buffer local variables,
including `after-change-functions'.

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