From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs 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 Message-ID: <87a63rg6b2.fsf@localhost> References: <86pmd969ps.fsf@aarsen.me> <83tu2lqyi6.fsf@gnu.org> <874juljl6h.fsf@localhost> <87k03gj4uw.fsf@localhost> <837czbib0k.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37382"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 59618@debbugs.gnu.org, Eli Zaretskii , arsen@aarsen.me, Stefan Kangas To: Richard Hansen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 13 07:36:13 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 1p4yth-0009U6-PN for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 13 Dec 2022 07:36:13 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p4ytY-00077V-TN; Tue, 13 Dec 2022 01:36:04 -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 1p4ytX-00077I-50 for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2022 01:36:03 -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 1p4ytV-0000FZ-RP for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2022 01:36:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p4ytV-0006SC-M3 for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2022 01:36:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Dec 2022 06:36: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.167091331324772 (code B ref 59618); Tue, 13 Dec 2022 06:36:01 +0000 Original-Received: (at 59618) by debbugs.gnu.org; 13 Dec 2022 06:35:13 +0000 Original-Received: from localhost ([127.0.0.1]:58338 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4ysi-0006RU-U1 for submit@debbugs.gnu.org; Tue, 13 Dec 2022 01:35:13 -0500 Original-Received: from mout01.posteo.de ([185.67.36.65]:52691) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4ysg-0006RM-Uq for 59618@debbugs.gnu.org; Tue, 13 Dec 2022 01:35:11 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id E4499240026 for <59618@debbugs.gnu.org>; Tue, 13 Dec 2022 07:35:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1670913304; bh=75je15VsfJcY3InmbxmW8XXmB3SSBWdBw9sHGiLx2Ic=; h=From:To:Cc:Subject:Date:From; b=NTNzaCkuktJqrVjLFAh7XPMcr7d/DeSm0tnmM139qoatYBAVvW9WxkaBcdobXtB31 WVlE8rq+qBVTQaWrKyou/I3Etuy37+ZkDDsM7zgNOjgL4ocxYZAzI5zJZ3HQI7GSXT W9HpvGnBO5AizCgc2COxyeZSJwYPQBMplPHEuiZ1tLCPusKDtNS6zQOU5G2x4jAGmN byNKZXGp6gcordzClrFrH9akwsWBcIKfr0Fl1Az7O79lkilic4C5fGknyb/d3Y/1n7 ILH7L7jgW23Y7rVDCAW3yyslS4xCxWlM9J9jWYkGOxjJbm2Dax3mj3CSTyUpXKOcZO NwOhL0qfnYwug== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NWTJ64XBBz9rxB; Tue, 13 Dec 2022 07:35:02 +0100 (CET) In-Reply-To: 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:250808 Archived-At: Richard Hansen 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 . Support Org development at , or support my work at