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: Sat, 21 May 2022 16:59:57 +0300 Message-ID: <83h75j7zqa.fsf@gnu.org> References: <87o7zu9tay.fsf@gnus.org> <837d6idmot.fsf@gnu.org> <87leux8505.fsf@gnus.org> <83wnegbsbk.fsf@gnu.org> <87y1yw65gw.fsf@gnus.org> <83o7zsbrdk.fsf@gnu.org> <87tu9k64w5.fsf@gnus.org> <83mtfcbhxz.fsf@gnu.org> <87wnefyuyx.fsf@gnus.org> <83pmk783di.fsf@gnu.org> <878rqvxaxu.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1292"; 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 Sat May 21 16:01:21 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 1nsPfT-0000C6-Sn for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 21 May 2022 16:01:20 +0200 Original-Received: from localhost ([::1]:53966 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nsPfS-0000fT-IN for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 21 May 2022 10:01:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34932) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nsPfK-0000fJ-SS for bug-gnu-emacs@gnu.org; Sat, 21 May 2022 10:01:10 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48862) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nsPfC-0002wo-6H for bug-gnu-emacs@gnu.org; Sat, 21 May 2022 10:01:09 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nsPfC-0000zL-2Y for bug-gnu-emacs@gnu.org; Sat, 21 May 2022 10:01: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: Sat, 21 May 2022 14:01: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.16531416373755 (code B ref 55514); Sat, 21 May 2022 14:01:02 +0000 Original-Received: (at 55514) by debbugs.gnu.org; 21 May 2022 14:00:37 +0000 Original-Received: from localhost ([127.0.0.1]:42759 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsPem-0000yU-SB for submit@debbugs.gnu.org; Sat, 21 May 2022 10:00:37 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:41534) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsPej-0000yB-7R for 55514@debbugs.gnu.org; Sat, 21 May 2022 10:00:35 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:52656) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nsPec-0002pM-AX; Sat, 21 May 2022 10:00:27 -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=yqoRS6ZhTtJLVW872rHfOyiO6JzBqg7W35flduNkKzQ=; b=EqwDyKrflW5I XjLQP7qLidnpDBoQK9WM7CB5cJFdSAADVm/Xwi0PoFyQ5JG6nxAwVc7QbllrA/HWwxUu4kZE3fZZ7 JHq5wHKQX3gxMrOli+byAHeiAGG1oNDSBsDr8amPC2lHaMH7w3NcYfGWEovFMFNqsrJFJdAVnzBw+ kTEWHFDBh7lfg4UV8guQtffLS3hpT6Om0oBuhkJChszeR/DV5b6K+W4GldBOz6Is+QBxao+H9MvMZ HGm+PgEkGI+xdH2mziNwcgpGX4xHig3ozVVwM3oN2macIluA6I3VQRCUrcfTn25y9ZvmKjoKS9G9D nHyW2uiHRMa5g3WzcNmjvA==; Original-Received: from [87.69.77.57] (port=1252 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 1nsPeK-0000nG-KY; Sat, 21 May 2022 10:00:22 -0400 In-Reply-To: <878rqvxaxu.fsf@gnus.org> (message from Lars Ingebrigtsen on Sat, 21 May 2022 15:38:37 +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:232835 Archived-At: > From: Lars Ingebrigtsen > Cc: 55514@debbugs.gnu.org > Date: Sat, 21 May 2022 15:38:37 +0200 > > Eli Zaretskii writes: > > > And what do you mean by "execute the same as they were recorded"? > > Moving logically versus visually. Not sure I follow. When you recorded the macro, was C-n moving by logical lines or by screen lines? If the former, how did you get it to move by logical lines, when the default is to move by screen lines? > >> I think having recorded as `M-x next-logical-line' (etc), or > >> something to that effect, is the way to go here. > > > > That's trivial to program, so I'm not sure I understand why would we > > need that in core. > > Trivial how? Write a command that binds line-move-visual to nil and invokes next-line, then bind it to some key, and use that key when you record the macro. But maybe your answer to my first questions above will explain to me that I misunderstood you all the way.