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#55514: 29.0.50; Keyboard macros and visual-line-mode Date: Fri, 20 May 2022 10:22:15 +0300 Message-ID: <83o7zsbrdk.fsf@gnu.org> References: <87o7zu9tay.fsf@gnus.org> <837d6idmot.fsf@gnu.org> <87leux8505.fsf@gnus.org> <83wnegbsbk.fsf@gnu.org> <87y1yw65gw.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16729"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 55514@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 20 09:23:23 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 1nrwyp-0004Bl-9n for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 20 May 2022 09:23:23 +0200 Original-Received: from localhost ([::1]:44436 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nrwyo-0000nr-Ao for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 20 May 2022 03:23:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59076) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nrwyU-0000mC-If for bug-gnu-emacs@gnu.org; Fri, 20 May 2022 03:23:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43523) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nrwyU-0004QW-AG for bug-gnu-emacs@gnu.org; Fri, 20 May 2022 03:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nrwyU-0000Mr-5S for bug-gnu-emacs@gnu.org; Fri, 20 May 2022 03:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 May 2022 07:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55514 X-GNU-PR-Package: emacs Original-Received: via spool by 55514-submit@debbugs.gnu.org id=B55514.16530313461311 (code B ref 55514); Fri, 20 May 2022 07:23:02 +0000 Original-Received: (at 55514) by debbugs.gnu.org; 20 May 2022 07:22:26 +0000 Original-Received: from localhost ([127.0.0.1]:37414 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nrwxt-0000L4-Uc for submit@debbugs.gnu.org; Fri, 20 May 2022 03:22:26 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:37292) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nrwxr-0000Kj-37 for 55514@debbugs.gnu.org; Fri, 20 May 2022 03:22:24 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49858) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nrwxl-0004LV-LT; Fri, 20 May 2022 03:22:17 -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=ViHbEmlq/5AeVU0Ispk0eXWvnYEbmP6rUQ+xWDAhwHY=; b=Fw+ft7sjntho z8v+BqIEomggaoKPIgaU1ixl5Yz1ioTMVHtmxbCr1B6gvsu+nV1MKiLTUPbjs9tsIYVzVSBIZ2TZA 2a7vWMdXgCfk2vZ/2RLQxokWG+wLcQ7nv4jXf8V1hux7cNbHhVtUx7zG6hMrFugurYBRda5Mh4bcp jw6JAIE5ES2PIiVvCWFgW4awiOSZhBWOvwd6QM7E9OSUr0/Dkfw/qiBDRqLElQDvE1wnjC6Mo33Em +f2xOvGBs57bL9dqtcd8UI7i9NmJLZWzKOoaHGEzKONFlZlMcCEFoDVU8Bn9Gx5TNTMAYVrBHSG56 0d5ISuzVR6KNas24J+uLkw==; Original-Received: from [87.69.77.57] (port=1677 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 1nrwxk-0003sN-Hm; Fri, 20 May 2022 03:22:17 -0400 In-Reply-To: <87y1yw65gw.fsf@gnus.org> (message from Lars Ingebrigtsen on Fri, 20 May 2022 09:14: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:232702 Archived-At: > From: Lars Ingebrigtsen > Cc: 55514@debbugs.gnu.org > Date: Fri, 20 May 2022 09:14:23 +0200 > > Eli Zaretskii writes: > > > No, you need just turn off line-move-visual in that hook, then C-n > > will follow physical lines instead of visual lines, which is AFAIU > > what you wanted. > > I don't understand what you mean here. Of course `C-n' will move > logically when you switch line-move-visual off. But when you switch it > back on again after recording the macro, `C-x e' will move visually > again, which is what you don't want. Then maybe I didn't understand the original report. I thought you wanted a way to make sure the macro runs with C-n/C-p working by physical lines?