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: Richard Hansen
Subject: bug#59618: 29.0.50; global-whitespace-mode + org-capture: "Marker does not point anywhere"
Date: Tue, 13 Dec 2022 21:42:35 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1

On 12/13/22 01:48, Ihor Radchenko wrote:
Richard Hansen <rhansen@rhansen.org> writes:
Sounds like setting CLONE to t does not clone markers.  That sounds like
a bug in `make-indirect-buffer', no?

AFAIK, it does clone markers. Also changing marker buffer appropriately.

Hmm, maybe not.  The following fails:

emacs -Q

(progn
  (whitespace-mode 1)
  (with-current-buffer (clone-indirect-buffer "foo" nil)
    (cl-assert (eq (current-buffer)
                   (marker-buffer whitespace-bob-marker)))))

C-x C-e

I don't know if this is working as intended or a bug.

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

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