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#56210: 29.0.50; Keyboard macros do not trigger after-change-functions Date: Tue, 28 Jun 2022 15:20:54 +0300 Message-ID: <83mtdx6kt5.fsf@gnu.org> References: <8735ftklkr.fsf@gnus.org> <83pmiwa7y3.fsf@gnu.org> <83fsjralpq.fsf@gnu.org> <70bed502-1c51-8cd6-68b1-16c4e3c410e0@rhansen.org> <831qva82sz.fsf@gnu.org> <327ead91-4b3f-6177-b3a1-4f1db57c3e85@rhansen.org> <83zghy6n6b.fsf@gnu.org> <874k05t46s.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18824"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56210@debbugs.gnu.org, rhansen@rhansen.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 28 14:21: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 1o6ADR-0004n9-JB for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 28 Jun 2022 14:21:13 +0200 Original-Received: from localhost ([::1]:49988 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o6ADP-0005PR-U5 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 28 Jun 2022 08:21:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58172) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6ADG-0005Mv-6t for bug-gnu-emacs@gnu.org; Tue, 28 Jun 2022 08:21:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60267) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o6ADF-0006Fn-U4 for bug-gnu-emacs@gnu.org; Tue, 28 Jun 2022 08:21:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o6ADF-0006Rk-PL for bug-gnu-emacs@gnu.org; Tue, 28 Jun 2022 08:21:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 28 Jun 2022 12:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56210 X-GNU-PR-Package: emacs Original-Received: via spool by 56210-submit@debbugs.gnu.org id=B56210.165641885924766 (code B ref 56210); Tue, 28 Jun 2022 12:21:01 +0000 Original-Received: (at 56210) by debbugs.gnu.org; 28 Jun 2022 12:20:59 +0000 Original-Received: from localhost ([127.0.0.1]:54164 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6ADD-0006RN-EC for submit@debbugs.gnu.org; Tue, 28 Jun 2022 08:20:59 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44936) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6AD9-0006R8-Lv for 56210@debbugs.gnu.org; Tue, 28 Jun 2022 08:20:57 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58066) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6AD3-0006DD-VK; Tue, 28 Jun 2022 08:20:49 -0400 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=tvJEwsscLkMh9X+6JWjzxlG7FIRX5ACrK5X0wfDmfM8=; b=PSM4KDaXmPBf GZUCKSkj39Q1QuxR+kcRYCbgtJDTpGDOlk6mUnRdlFUSvhQKhubCjQ7i/JlOqH/TG5japzz/T/SiC dj3oBSqNlZOsemKj/BHcOU4RztD+du43oL1L9emWwrf1qi1cc7tDwI+D0BRTa2L+J4TWmcPqlbyel sAbaHtQdq+O/jSO8/WR9Cg6n+elmKS8XwxC9Dn2+UVHVDeZudOjSbXAbSkW5BQsQfpNIm9hTVQL+x sqNgEbF/2DlMSyne8Qa3xYb9yoqSsNC48siDTZWaU6vvvNfhXuma3x2iiIu5F9ntzrWKRPOgNfGZY Zs/9aQU+Pm0vEyFdMA8f5Q==; Original-Received: from [87.69.77.57] (port=3859 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 1o6AD3-0007h6-E1; Tue, 28 Jun 2022 08:20:49 -0400 In-Reply-To: <874k05t46s.fsf@gnus.org> (message from Lars Ingebrigtsen on Tue, 28 Jun 2022 13:31:23 +0200) 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" Xref: news.gmane.io gmane.emacs.bugs:235531 Archived-At: > From: Lars Ingebrigtsen > Cc: Richard Hansen , 56210@debbugs.gnu.org > Date: Tue, 28 Jun 2022 13:31:23 +0200 > > It's really surprising that with-current-buffer-window does this -- it > sounds like a general variation on with-selected-window, but it's not: > It's meant to be used to pop up help buffers, and this should be > documented. I didn't write that code, and have no sentiments for it (although I generally assume that all the temporary buffers disable such hooks for performance reasons). I just explained what Richard saw, and it took me some non-trivial time. Maybe we should modify with-current-buffer-window to not have such global effects on the body?