Subject: Re: bug#59618: 29.0.50; global-whitespace-mode + org-capture: "Marker does not point anywhere"

From: Ihor Radchenko <[email-masked]>
Date: Wed, 14 Dec 2022 17:48:07 +0000

Stefan Monnier <[email-masked]> writes:

> Ihor Radchenko [2022-12-14 15:08:34] wrote:
>> Stefan Monnier <[email-masked]> writes:
>>> Instead modes that use such variables are responsable to setup
>>> a `clone-buffer-hook` that does the necessary work.
>>
>> *clone-indirect-buffer-hook
>
> For indirect clones, yes.  The original motivation for this infrastructure
> was Info where we use `clone-buffer` and hence `clone-buffer-hook`.

I see. Though `clone-indirect-buffer-hook' is probably more appropriate
to be used in the context of this bug report.

Side note: Org implements something similar to `clone-buffer', but for
file visiting buffers (`org-export-copy-buffer`). Would it be something
of interest for Emacs?

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