From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#59618: 29.0.50; global-whitespace-mode + org-capture: "Marker does not point anywhere" Date: Wed, 14 Dec 2022 14:09:30 +0200 Message-ID: <83bko6nq4l.fsf@gnu.org> References: <86pmd969ps.fsf@aarsen.me> <83tu2lqyi6.fsf@gnu.org> <874juljl6h.fsf@localhost> <87k03gj4uw.fsf@localhost> <837czbib0k.fsf@gnu.org> <87a63rg6b2.fsf@localhost> <877cyvg5nw.fsf@localhost> <1d41780a-5b2f-caed-4bd6-6b7ecd1fef58@rhansen.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6221"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 59618@debbugs.gnu.org, yantar92@posteo.net, arsen@aarsen.me, stefankangas@gmail.com To: Richard Hansen , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 14 13:10:42 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p5Qau-0001Mj-Ln for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 14 Dec 2022 13:10:40 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p5QaO-0008Ey-W4; Wed, 14 Dec 2022 07:10:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p5QaJ-0008Dx-2y for bug-gnu-emacs@gnu.org; Wed, 14 Dec 2022 07:10:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p5QaH-0004me-Ou for bug-gnu-emacs@gnu.org; Wed, 14 Dec 2022 07:10:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p5QaH-0005dP-JF for bug-gnu-emacs@gnu.org; Wed, 14 Dec 2022 07:10:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 14 Dec 2022 12:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59618 X-GNU-PR-Package: emacs Original-Received: via spool by 59618-submit@debbugs.gnu.org id=B59618.167101978121631 (code B ref 59618); Wed, 14 Dec 2022 12:10:01 +0000 Original-Received: (at 59618) by debbugs.gnu.org; 14 Dec 2022 12:09:41 +0000 Original-Received: from localhost ([127.0.0.1]:38772 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5QZx-0005cp-6w for submit@debbugs.gnu.org; Wed, 14 Dec 2022 07:09:41 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:56206) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5QZv-0005ch-Mw for 59618@debbugs.gnu.org; Wed, 14 Dec 2022 07:09:40 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p5QZp-00042h-EZ; Wed, 14 Dec 2022 07:09:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=UO51rWwbERrldzHS4IaYv60ZI8C9ejHq6OIGqKTjHQo=; b=GmpMxHLsRlWC FCYHh8X8NbhcS2b8XhvV08493Sh5EZdHViaPleRTcIITa73x2RAONHALhz/g+s5LBq5wtGeS7dN9E 0LHivdPX/Dt2fGRxe4iCAcpuQ04OtVVWiDV4p03F+vnmId62dUs8OffyXYNkBcBBC7AAc0XbEOEUR njbWgev7IvTJwXfV72BK6uP4or6wY4W4oYXH6Dd1ipMDPClDKivDpgbq/PL3FyXruZ9yMoY0vNIPi c45x5jE2BU83e4K3OG5UepfsKl+ufncFrhyji9sA3+vIvrw10fDCJdBqUBZ5Yi1lmjNwgnA0QACqX alGiC8CUts0kWA43SYi/Eg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p5QZo-0004oj-VP; Wed, 14 Dec 2022 07:09:33 -0500 In-Reply-To: <1d41780a-5b2f-caed-4bd6-6b7ecd1fef58@rhansen.org> (message from Richard Hansen on Tue, 13 Dec 2022 21:42:35 -0500) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:250931 Archived-At: > Date: Tue, 13 Dec 2022 21:42:35 -0500 > Cc: Eli Zaretskii , Stefan Kangas , > 59618@debbugs.gnu.org, arsen@aarsen.me > From: Richard Hansen > > On 12/13/22 01:48, Ihor Radchenko wrote: > > Richard Hansen 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. Adding Stefan, in case he has comments.