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:01:51 +0300 Message-ID: <83wnegbsbk.fsf@gnu.org> References: <87o7zu9tay.fsf@gnus.org> <837d6idmot.fsf@gnu.org> <87leux8505.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39428"; 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:03:59 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 1nrwg3-000A5W-DA for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 20 May 2022 09:03:59 +0200 Original-Received: from localhost ([::1]:60902 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nrwg2-0008Jg-88 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 20 May 2022 03:03:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55838) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nrweB-0007rX-C2 for bug-gnu-emacs@gnu.org; Fri, 20 May 2022 03:02:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43482) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nrweB-0001Ns-2f for bug-gnu-emacs@gnu.org; Fri, 20 May 2022 03:02:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nrweA-0007Wg-Ve for bug-gnu-emacs@gnu.org; Fri, 20 May 2022 03:02: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:02: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.165303012128919 (code B ref 55514); Fri, 20 May 2022 07:02:02 +0000 Original-Received: (at 55514) by debbugs.gnu.org; 20 May 2022 07:02:01 +0000 Original-Received: from localhost ([127.0.0.1]:37379 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nrwe8-0007WK-Ql for submit@debbugs.gnu.org; Fri, 20 May 2022 03:02:01 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34260) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nrwe7-0007W1-J4 for 55514@debbugs.gnu.org; Fri, 20 May 2022 03:01:59 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49592) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nrwe2-0001Mt-8x; Fri, 20 May 2022 03:01:54 -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=O3tTMrwNLsmzqHTQVt2iwbrrkyzqTIW7S1a5d5Ygti4=; b=dG8CfrYTDltL jmzeWrT4B4kSlCoNiLTk9OsKm4deCxPxgzcv2pMaYLBYFlQcAm8rJy5ZYLbKzcOjOaNM2VHwx1z9w 7gemq1MHOGvMGH+8pu+eJRrsg0BhUtVvGSj9kNuocac1TGAHA2ajkLSNFkvV5Hio8txECJ0xpmWjm qCPnNTTGD2S9WgsyTCOIBopJiLcCdp5Lfs4cR0zUta17I6AdUGb9lwpbll7by8Hx/TMp55O7MkYt0 WpUsp/zsTKl1PmAGIRG1p0WZix9wCDNdHwtpZFAGy/tewBMhdMPZ66fkWXXfsYLAhdI5pLjoBqGqB jdK0JrFc7uvY8JPEZgX8qA==; Original-Received: from [87.69.77.57] (port=4396 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 1nrwe0-0001nP-LR; Fri, 20 May 2022 03:01:53 -0400 In-Reply-To: <87leux8505.fsf@gnus.org> (message from Lars Ingebrigtsen on Fri, 20 May 2022 01:41:30 +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:232696 Archived-At: > From: Lars Ingebrigtsen > Cc: 55514@debbugs.gnu.org > Date: Fri, 20 May 2022 01:41:30 +0200 > > Eli Zaretskii writes: > > > Maybe all we need is to add a hook that will be called by > > kmacro-call-macro before running the macro. Then users can do > > whatever they like in that hook, including turning off > > line-move-visual (which I'm guessing is what you meant, not > > visual-line-mode). > > But that doesn't really fix the issue -- the non-visual-line-moving > commands have to be replicated when we execute the macro. 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.