GNU bug report logs - #55514
29.0.50; Keyboard macros and visual-line-mode

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: Lars Ingebrigtsen <larsi@HIDDEN>; dated Thu, 19 May 2022 02:00:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Severity set to 'wishlist' from 'normal' Request was from Stefan Kangas <stefan@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 55514 <at> debbugs.gnu.org:


Received: (at 55514) by debbugs.gnu.org; 22 May 2022 13:00:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 22 09:00:44 2022
Received: from localhost ([127.0.0.1]:43907 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nslCO-0005fe-61
	for submit <at> debbugs.gnu.org; Sun, 22 May 2022 09:00:44 -0400
Received: from eggs.gnu.org ([209.51.188.92]:38578)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1nslCK-0005fN-Ab
 for 55514 <at> debbugs.gnu.org; Sun, 22 May 2022 09:00:43 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:40412)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nslCE-0000hq-Sm; Sun, 22 May 2022 09:00:34 -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=BBYYcvoH1LdYrZ3Vex47aI/wTh5yheOSCKfKPQBeLRM=; b=i/Gh4ufW33Z6
 XR/+ZXwMuaMmlNEd98UHnG5+2dWdlN4SGJgmCDjnhRJv7PvqAjCalhsCanoxllz64nMqT1tqluuyg
 C/AjPC1zqW3217S0Uhx/aOKAXYevulfxXkT9QEDiFuwqxCNuK7t5viXh1NJBYsoIpRgHiBAdorp4b
 YkkCdZ+gQ/0o/rOSx9iGLJYZ8yNOm+wWTK4d1bzd5lM31orl6q0PVGSW19fO1ssVlCfkt2pb6HFYw
 y3A0XiuCxjPuOlT3+NtzKs4BcHjf0tHK1XHJvMlY/IbgX1rH55tuXfG8feiHRTGtuXAtOjNSstpiq
 06NmO2E4sRybALknshGMIw==;
Received: from [87.69.77.57] (port=2585 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nslC7-0004ec-2o; Sun, 22 May 2022 09:00:34 -0400
Date: Sun, 22 May 2022 16:00:10 +0300
Message-Id: <83leut7med.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
In-Reply-To: <87r14lx1ia.fsf@HIDDEN> (message from Lars Ingebrigtsen on Sun, 
 22 May 2022 13:14:37 +0200)
Subject: Re: bug#55514: 29.0.50; Keyboard macros and visual-line-mode
References: <87o7zu9tay.fsf@HIDDEN> <837d6idmot.fsf@HIDDEN>
 <87leux8505.fsf@HIDDEN> <83wnegbsbk.fsf@HIDDEN>
 <87y1yw65gw.fsf@HIDDEN> <83o7zsbrdk.fsf@HIDDEN>
 <87tu9k64w5.fsf@HIDDEN> <83mtfcbhxz.fsf@HIDDEN>
 <87wnefyuyx.fsf@HIDDEN> <83pmk783di.fsf@HIDDEN>
 <878rqvxaxu.fsf@HIDDEN> <83h75j7zqa.fsf@HIDDEN> <87r14lx1ia.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 55514
Cc: 55514 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Lars Ingebrigtsen <larsi@HIDDEN>
> Cc: 55514 <at> debbugs.gnu.org
> Date: Sun, 22 May 2022 13:14:37 +0200
> 
> I think we'll just have to let this rest for a while, because we've been
> over this too many times.  The original bug report really has all the
> details.

FWIW, I think my proposal -- to have an optional feature whereby
C-n/C-p move by logical lines inside a macro -- would solve the issue
presented in the original report.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#55514; Package emacs. Full text available.

Message received at 55514 <at> debbugs.gnu.org:


Received: (at 55514) by debbugs.gnu.org; 22 May 2022 11:14:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 22 07:14:50 2022
Received: from localhost ([127.0.0.1]:43743 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nsjXu-0006uv-Jh
	for submit <at> debbugs.gnu.org; Sun, 22 May 2022 07:14:50 -0400
Received: from quimby.gnus.org ([95.216.78.240]:39152)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1nsjXs-0006ui-V3
 for 55514 <at> debbugs.gnu.org; Sun, 22 May 2022 07:14:49 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=EHsyLXpSaoNVBXdPDr1i5Ok3OTHkaQnqT1LdSquitBQ=; b=uC97BMViv1082Q5DvVtd3RjTfC
 hSeaSvSONSr74PkHvSP6lnbQb2OC9U3Nr+ocEedtytKpkLhdudtTWc2KkTypIpBLyf5qApB4jFYMP
 ETpZfTSCc/JFAJCJT0hW+UWt/E2oftw+5Urj2QHUKHRphYEW+3leKv5E7CQko2+zWIFI=;
Received: from [84.212.220.105] (helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1nsjXj-0005WJ-OJ; Sun, 22 May 2022 13:14:42 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#55514: 29.0.50; Keyboard macros and visual-line-mode
References: <87o7zu9tay.fsf@HIDDEN> <837d6idmot.fsf@HIDDEN>
 <87leux8505.fsf@HIDDEN> <83wnegbsbk.fsf@HIDDEN>
 <87y1yw65gw.fsf@HIDDEN> <83o7zsbrdk.fsf@HIDDEN>
 <87tu9k64w5.fsf@HIDDEN> <83mtfcbhxz.fsf@HIDDEN>
 <87wnefyuyx.fsf@HIDDEN> <83pmk783di.fsf@HIDDEN>
 <878rqvxaxu.fsf@HIDDEN> <83h75j7zqa.fsf@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEXy8OxRPUIpFyOk
 c0v////6Lr75AAAAAWJLR0QEj2jZUQAAAAd0SU1FB+YFFgsMNUcIscIAAAGxSURBVDjLvVNRjuUw
 CGOUCwxwAsgFyuP+d1ubNKOR9ne1UdOmdcCxoSL/Yah+KwcWaqahF/DwA3j1Wfz70d0L09Vxl64i
 j5dKZqiF5Qyv1LNKAGq+DTBfy7ANTwWA1e5Z8xahXIQBCPUvrjlJYJOdHL3WBcIgfxglLeSReoGc
 AF6SutfzLLCXFgLUJuEA5QTyedrSgRLI0VHfstr2Kp6rNMgiEbsJSFvXyZPkkUikgjPwBjv4VSk2
 kGq3ynrWcnNYxu3USEtQRPoIZuZXHVegA5GbBACaxC9A85h4G3dAeNApAhEIqhi5qm3jLpSP3eFh
 YwU02akNuqTSNgTPK7nfQkXAodg1wJBcoGdMhPHFT6g4Gu0HwGyeGYGIGKCo47QDMgOU9JMLPk2K
 HovVByD29OUf+hBjpxUmdtkpPc03YULE1GmPAWIA+ITv5jiI6vQEvcBvEp9AChv3GbXHot2it13Z
 Ptp5iLzl429H8wEzR45CR8Xb3kd3fj5M6yWoWd7jpNXb3ADYYTcmf1Zxftb8Naag2CH4bfTW4HcU
 2qeiLf9ChKcp/f1NL8DKXS3vsXH9AVnHcuwud4Y2AAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTA1
 LTIyVDExOjEyOjUzKzAwOjAwszC0mwAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wNS0yMlQxMTox
 Mjo1MyswMDowMMJtDCcAAAAASUVORK5CYII=
X-Now-Playing: The Names's _Swimming_: "Discovery"
Date: Sun, 22 May 2022 13:14:37 +0200
In-Reply-To: <83h75j7zqa.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 21 May
 2022 16:59:57 +0300")
Message-ID: <87r14lx1ia.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  Eli Zaretskii <eliz@HIDDEN> writes: > 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 scr [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 55514
Cc: 55514 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii <eliz@HIDDEN> writes:

> 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?

That is what this bug report is about -- recording and executing macros.

> 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.

I think we'll just have to let this rest for a while, because we've been
over this too many times.  The original bug report really has all the
details.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#55514; Package emacs. Full text available.

Message received at 55514 <at> debbugs.gnu.org:


Received: (at 55514) by debbugs.gnu.org; 21 May 2022 14:00:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 21 10:00:37 2022
Received: from localhost ([127.0.0.1]:42759 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nsPem-0000yU-SB
	for submit <at> debbugs.gnu.org; Sat, 21 May 2022 10:00:37 -0400
Received: from eggs.gnu.org ([209.51.188.92]:41534)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1nsPej-0000yB-7R
 for 55514 <at> debbugs.gnu.org; Sat, 21 May 2022 10:00:35 -0400
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 <eliz@HIDDEN>)
 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==;
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 <eliz@HIDDEN>)
 id 1nsPeK-0000nG-KY; Sat, 21 May 2022 10:00:22 -0400
Date: Sat, 21 May 2022 16:59:57 +0300
Message-Id: <83h75j7zqa.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
In-Reply-To: <878rqvxaxu.fsf@HIDDEN> (message from Lars Ingebrigtsen on Sat, 
 21 May 2022 15:38:37 +0200)
Subject: Re: bug#55514: 29.0.50; Keyboard macros and visual-line-mode
References: <87o7zu9tay.fsf@HIDDEN> <837d6idmot.fsf@HIDDEN>
 <87leux8505.fsf@HIDDEN> <83wnegbsbk.fsf@HIDDEN>
 <87y1yw65gw.fsf@HIDDEN> <83o7zsbrdk.fsf@HIDDEN>
 <87tu9k64w5.fsf@HIDDEN> <83mtfcbhxz.fsf@HIDDEN>
 <87wnefyuyx.fsf@HIDDEN> <83pmk783di.fsf@HIDDEN> <878rqvxaxu.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 55514
Cc: 55514 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Lars Ingebrigtsen <larsi@HIDDEN>
> Cc: 55514 <at> debbugs.gnu.org
> Date: Sat, 21 May 2022 15:38:37 +0200
> 
> Eli Zaretskii <eliz@HIDDEN> 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 <down> 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.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#55514; Package emacs. Full text available.

Message received at 55514 <at> debbugs.gnu.org:


Received: (at 55514) by debbugs.gnu.org; 21 May 2022 13:38:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 21 09:38:54 2022
Received: from localhost ([127.0.0.1]:41005 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nsPJm-0006A5-JA
	for submit <at> debbugs.gnu.org; Sat, 21 May 2022 09:38:54 -0400
Received: from quimby.gnus.org ([95.216.78.240]:46034)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1nsPJg-00069n-Tn
 for 55514 <at> debbugs.gnu.org; Sat, 21 May 2022 09:38:52 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=KvnGZVuV2obfs1QR1ACEMcBjFf1dtZiSnaudWPygA3o=; b=aLN9ANAWp9scqHdvPa4nRb0eCj
 vz2C5aVV5f7x0CusBC2W4QoCCMwby2IBzF/iSl0FlH7xPjl5qU4e01ZIIcFnXnKFP2lP6QBIu+vv/
 rppn8fXrKp4a3ZUlOHs/V7dzmGIXSkKrc5Qw/UrJ0PBS1o0qH7BjbmHBcizPHoF5BGhw=;
Received: from [84.212.220.105] (helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1nsPJX-0003js-83; Sat, 21 May 2022 15:38:41 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#55514: 29.0.50; Keyboard macros and visual-line-mode
References: <87o7zu9tay.fsf@HIDDEN> <837d6idmot.fsf@HIDDEN>
 <87leux8505.fsf@HIDDEN> <83wnegbsbk.fsf@HIDDEN>
 <87y1yw65gw.fsf@HIDDEN> <83o7zsbrdk.fsf@HIDDEN>
 <87tu9k64w5.fsf@HIDDEN> <83mtfcbhxz.fsf@HIDDEN>
 <87wnefyuyx.fsf@HIDDEN> <83pmk783di.fsf@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEX29PKpoJ5ANjyE
 eXv////bjemzAAAAAWJLR0QEj2jZUQAAAAd0SU1FB+YFFQ0lB92hrPUAAAGiSURBVDjLnZQJbsQg
 DEVZLoDhAsG+AMv979ZvA0mmlSq1HmWkzMMxvNjj3D8il9nLZJY55+AVBqZ+eZaeSsqjE1FZoOBK
 ClwGSHZzgK8LVAPtAZEV+LEA+7tGMBC5Zk6OOJ0MzwbyAuWAiQQBwI7rwKOY6YAhF5Jwhj4YW+K4
 QA9cFbBmMA2RDch3qs6ADOQJ7wOSa647kyEqhsYLuAWwvk8qG2RdOrc9FiGaD1gxbWufdnFqct7l
 byAmAwGgQ9Z9QNgFSC40AOfbIzGyAtgNAE5u4PMCvMDjKrIB2A3cUaG/7GrxwZfWGA/ALwCFOQ1w
 Pq7wguQK6km1w6Pk7arAbjRTss6XX9oJS/FZiscBzXnSR03LmEcJbtCct0krdsCPWABaKfO1X4Fo
 ax8QuoHitK8Q+4DJxWogpgDwths4KMiXAqy/7Q4Dql0znhaNLAoiG/joXauBKzBh++llVwHsAljr
 LwC7yGiZh4LMp3dn6QWSWi65BWus/T4mVQUJPdSiNeUBpRLmHEDnVYd9fkjsxSZ8Cv4Nxu928xmN
 NQcP+GN8AWUfXI8JbkajAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTA1LTIxVDEzOjM3OjA3KzAw
 OjAw+E7t0AAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wNS0yMVQxMzozNzowNyswMDowMIkTVWwA
 AAAASUVORK5CYII=
X-Now-Playing: The Style Council's _The Complete Adventures (2)_: "Strength
 of Your Nature"
Date: Sat, 21 May 2022 15:38:37 +0200
In-Reply-To: <83pmk783di.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 21 May
 2022 15:41:13 +0300")
Message-ID: <878rqvxaxu.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Eli Zaretskii <eliz@HIDDEN> writes: > And what do you mean
 by "execute the same as they were recorded"? Moving logically versus visually.
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 55514
Cc: 55514 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii <eliz@HIDDEN> writes:

> And what do you mean by "execute the same as they were recorded"?

Moving logically versus visually.

>> I think having <down> 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?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#55514; Package emacs. Full text available.

Message received at 55514 <at> debbugs.gnu.org:


Received: (at 55514) by debbugs.gnu.org; 21 May 2022 12:41:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 21 08:41:33 2022
Received: from localhost ([127.0.0.1]:40879 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nsOQH-0002KK-Fx
	for submit <at> debbugs.gnu.org; Sat, 21 May 2022 08:41:33 -0400
Received: from eggs.gnu.org ([209.51.188.92]:58150)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1nsOQC-0002K4-Qz
 for 55514 <at> debbugs.gnu.org; Sat, 21 May 2022 08:41:32 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:51568)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nsOQ7-0006bl-GV; Sat, 21 May 2022 08:41:23 -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=149J41UE3FcEvJo/5JH889F44AJUOm9lpItoNHwAlus=; b=TQA8W/pu9Sc0
 M20ZgyTKNnXsthcbuPkyKmZ0nlOQQ9nnNH2+liH3bjlMAjcoGRPGVIBgKcxcnK6I67suwlzbWPraQ
 dO7g9tHgiGvi/+brEKV9K8C1U5nLPYYaDSq5zuedPApAbKIoyOivgUbkUSjsRnJRmhiOU2+CxKoSA
 p3vlB0uzGnL1bsUgoFQJu+37qZt5EjUy7DX8a7tqkaZDT7SZzQGO6AD7+QZ0dysRFohCy5FWpT0Ll
 ngdr7Q4iO3J2eZoj4r3GHtydE27Ybw/f1SBf5rNksHB8/+vYN8uZjSFrCD5VYlC2jP+9/APe1qmog
 uuKlShG0jlbXdwZWRvU1rg==;
Received: from [87.69.77.57] (port=4376 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nsOQ6-0002cM-V8; Sat, 21 May 2022 08:41:23 -0400
Date: Sat, 21 May 2022 15:41:13 +0300
Message-Id: <83pmk783di.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
In-Reply-To: <87wnefyuyx.fsf@HIDDEN> (message from Lars Ingebrigtsen on Sat, 
 21 May 2022 13:40:38 +0200)
Subject: Re: bug#55514: 29.0.50; Keyboard macros and visual-line-mode
References: <87o7zu9tay.fsf@HIDDEN> <837d6idmot.fsf@HIDDEN>
 <87leux8505.fsf@HIDDEN> <83wnegbsbk.fsf@HIDDEN>
 <87y1yw65gw.fsf@HIDDEN> <83o7zsbrdk.fsf@HIDDEN>
 <87tu9k64w5.fsf@HIDDEN> <83mtfcbhxz.fsf@HIDDEN> <87wnefyuyx.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 55514
Cc: 55514 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Lars Ingebrigtsen <larsi@HIDDEN>
> Cc: 55514 <at> debbugs.gnu.org
> Date: Sat, 21 May 2022 13:40:38 +0200
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> > As I said earlier, we could add a special value of line-move-visual,
> > which would mean "move by visual lines, except when executing macros",
> > which would I think solve your problem. 
> 
> That seems like a heavier solution than I had envisioned (without
> looking at the code).  You can bind keyboard macros to keys and have
> them executed, and the point is that they should execute the same way as
> they were recorded.  That's the fantastic utility of recording keyboard
> macros, after all.

I don't think I understand.  Emacs always knows when it is executing a
keyboard macro.

And what do you mean by "execute the same as they were recorded"?
With C-n, it can only be exactly "the same" if you move across exactly
the same text.  Once the text is different, the partition into
physical and screen lines is different, and the effect is different.

To my mind, keyboard macros are about repeating the _commands_; the
effect of those commands is not guaranteed to be exactly the same in
each case.

> I don't think a setting that affects line-move-visual in this way would
> be all that sturdy.  You can, for instance, record a macro, save it to a
> file, and use it later.  It would be awkward if flipping a setting then
> affects how the macro executes.

The idea was that you won't flip the value, but set it once to that
value, assuming that you always (or frequently) want C-n/C-p go by
physical lines when invoked from a macro.  Wasn't that your original
request?

> I think having <down> 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.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#55514; Package emacs. Full text available.

Message received at 55514 <at> debbugs.gnu.org:


Received: (at 55514) by debbugs.gnu.org; 21 May 2022 11:40:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 21 07:40:52 2022
Received: from localhost ([127.0.0.1]:40808 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nsNTX-0006tr-UN
	for submit <at> debbugs.gnu.org; Sat, 21 May 2022 07:40:52 -0400
Received: from quimby.gnus.org ([95.216.78.240]:44980)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1nsNTU-0006td-IQ
 for 55514 <at> debbugs.gnu.org; Sat, 21 May 2022 07:40:49 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=sIxPLgl323b+cJOZsYdfV6fs/mG34ylpsWeJvg4EMNc=; b=mGFSjYG5Q7sSKgoNRj0dbFWK29
 85zuPaFm7+7a5J7rQjrSpdL9FMCJ7krPUaArAMJb7JKe4bxgCrCsghMoACdtGwpFgU4qA6JefmUdM
 0eU7x0YZM9Uw+vlJ8ogD9phylDRX2v2y/Gjq64WmdyRPfarZGARpDUJjnrUWYcS55bAo=;
Received: from [84.212.220.105] (helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1nsNTL-0002mK-LK; Sat, 21 May 2022 13:40:42 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#55514: 29.0.50; Keyboard macros and visual-line-mode
References: <87o7zu9tay.fsf@HIDDEN> <837d6idmot.fsf@HIDDEN>
 <87leux8505.fsf@HIDDEN> <83wnegbsbk.fsf@HIDDEN>
 <87y1yw65gw.fsf@HIDDEN> <83o7zsbrdk.fsf@HIDDEN>
 <87tu9k64w5.fsf@HIDDEN> <83mtfcbhxz.fsf@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAAAXNSR0IArs4c6QAAAAxQTFRF
 sLCwf39+MzMx////WgGxBQAAAAFiS0dEAxEMTPIAAAAHdElNRQfmBRULIyAqfMKqAAAA/ElEQVQo
 z33SO27DMAwAUMqIPHeIDdRH6CncIUsnBbAKJHuH6hQ9goe6Q2cpgHjKkvpyqgADfKAoi7QB/l/v
 3z1eEO1agYjhXOKRgNakWDlG2BJOmNaF46c54+AjtreMwEWry0AuupYYL7Rvrtgpc6+IBoYfbILh
 twFhiDLDiAV0s0fLUDOEkGu4geN+FIDDXX888jZ6a3y9MTxhQksPrS/uyHnQDUtIY0jdwbjysGIe
 ljLauQqaW3T4WQY3o3/BOtIBzfNex6viupgOONdZw+ihfQRYvPhWLkqIjArXjhlDx01AW3GAtqe+
 a7Kq3QU2+XtYESvCZAR6ptf8AXSIl74uHR0nAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTA1LTIx
 VDExOjM1OjMyKzAwOjAwQFCg4gAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wNS0yMVQxMTozNToz
 MiswMDowMDENGF4AAAA4dEVYdGljYzpjb3B5cmlnaHQAQ29weXJpZ2h0IChjKSAxOTk4IEhld2xl
 dHQtUGFja2FyZCBDb21wYW55+Vd5NwAAACF0RVh0aWNjOmRlc2NyaXB0aW9uAHNSR0IgSUVDNjE5
 NjYtMi4xV63aRwAAACZ0RVh0aWNjOm1hbnVmYWN0dXJlcgBJRUMgaHR0cDovL3d3dy5pZWMuY2gc
 fwBMAAAAN3RFWHRpY2M6bW9kZWwASUVDIDYxOTY2LTIuMSBEZWZhdWx0IFJHQiBjb2xvdXIgc3Bh
 Y2UgLSBzUkdCRFNIqQAAAABJRU5ErkJggg==
X-Now-Playing: Kelly Lee Owens's _Inner Song_: "On"
Date: Sat, 21 May 2022 13:40:38 +0200
In-Reply-To: <83mtfcbhxz.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 20 May
 2022 13:46:00 +0300")
Message-ID: <87wnefyuyx.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  Eli Zaretskii <eliz@HIDDEN> writes: > As I said earlier,
 we could add a special value of line-move-visual, > which would mean "move
 by visual lines, except when executing macros", > which would I think solve
 your problem. 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 55514
Cc: 55514 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii <eliz@HIDDEN> writes:

> As I said earlier, we could add a special value of line-move-visual,
> which would mean "move by visual lines, except when executing macros",
> which would I think solve your problem. 

That seems like a heavier solution than I had envisioned (without
looking at the code).  You can bind keyboard macros to keys and have
them executed, and the point is that they should execute the same way as
they were recorded.  That's the fantastic utility of recording keyboard
macros, after all.

I don't think a setting that affects line-move-visual in this way would
be all that sturdy.  You can, for instance, record a macro, save it to a
file, and use it later.  It would be awkward if flipping a setting then
affects how the macro executes.

I think having <down> recorded as `M-x next-logical-line' (etc), or
something to that effect, is the way to go here.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#55514; Package emacs. Full text available.

Message received at 55514 <at> debbugs.gnu.org:


Received: (at 55514) by debbugs.gnu.org; 20 May 2022 10:46:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri May 20 06:46:12 2022
Received: from localhost ([127.0.0.1]:37678 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ns096-000372-HK
	for submit <at> debbugs.gnu.org; Fri, 20 May 2022 06:46:12 -0400
Received: from eggs.gnu.org ([209.51.188.92]:48422)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1ns095-00031F-7t
 for 55514 <at> debbugs.gnu.org; Fri, 20 May 2022 06:46:11 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:35830)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1ns08x-00020n-8d; Fri, 20 May 2022 06:46:05 -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=p1+uKtqB7o43d26RS4v3LBJqtbtIJUmaccG608XO2Qc=; b=UkjN2RVLsXo1
 3Xgo9F8e5wFrnzwsXM3M31H67owYy3zYeXZOKb7VMBlP56IRdB79BahFTrQCAbCngjm/jkxIHRBhx
 mVdHSwEfUGjJH+7etUomNY/dmrYOap4AyeX0zoNjXAxbJl8l0N1oLhIzYn4avzY3lLm5J11XnoVbe
 ECsTpaPSJuLVXhiVudQ2EWFeJmZ2qhBHWpShIpUEf3IxNmBvw4JZg3n5ryIKdUEkZJugtS2J17ICP
 T2qjzNYzvFgIxo+RfHEYk/6tWc48krIY89jAvGmyGP2ymSZ9YWSk+l5q4lVo5P0sM1iMm5rCV9BOc
 30beV4uTMAN7MYfPhBwXXw==;
Received: from [87.69.77.57] (port=2146 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1ns08w-0007on-8P; Fri, 20 May 2022 06:46:03 -0400
Date: Fri, 20 May 2022 13:46:00 +0300
Message-Id: <83mtfcbhxz.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
In-Reply-To: <87tu9k64w5.fsf@HIDDEN> (message from Lars Ingebrigtsen on Fri, 
 20 May 2022 09:26:50 +0200)
Subject: Re: bug#55514: 29.0.50; Keyboard macros and visual-line-mode
References: <87o7zu9tay.fsf@HIDDEN> <837d6idmot.fsf@HIDDEN>
 <87leux8505.fsf@HIDDEN> <83wnegbsbk.fsf@HIDDEN>
 <87y1yw65gw.fsf@HIDDEN> <83o7zsbrdk.fsf@HIDDEN> <87tu9k64w5.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 55514
Cc: 55514 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Lars Ingebrigtsen <larsi@HIDDEN>
> Cc: 55514 <at> debbugs.gnu.org
> Date: Fri, 20 May 2022 09:26:50 +0200
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> > 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?
> 
> I want people to be able to create usable keyboard macros -- that's the
> major regression line-move-visual led to, so I never understood why this
> wasn't fixed when it was introduced.

I don't agree that using visual-line movement in a macro makes the
macro "unusable".  But I don't mind supporting your use case.  As I
said earlier, we could add a special value of line-move-visual, which
would mean "move by visual lines, except when executing macros", which
would I think solve your problem.  I just thought that adding a hook
could cater to a more general class of use cases, that's all.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#55514; Package emacs. Full text available.

Message received at 55514 <at> debbugs.gnu.org:


Received: (at 55514) by debbugs.gnu.org; 20 May 2022 07:27:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri May 20 03:27:00 2022
Received: from localhost ([127.0.0.1]:37429 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nrx2K-0000at-OO
	for submit <at> debbugs.gnu.org; Fri, 20 May 2022 03:27:00 -0400
Received: from quimby.gnus.org ([95.216.78.240]:59760)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1nrx2J-0000aW-Fr
 for 55514 <at> debbugs.gnu.org; Fri, 20 May 2022 03:27:00 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=TJ1EmX75eCHRUyJLPF+sbaT5bKPOW/GXrRTn++GMcFQ=; b=upORm6MgniN1hStwNZET3DMZJr
 lkM40HDtnzEm69co9MSGp/ESHaeu7af8RsPTgL8MZ3D2L6oRAkv3QILvZ0BhqfMAqQ01yutycRc95
 kmHUEC2hJDjErr6+PZJnPYk6OpEqvz1sJoRn3RtRcZQFURZBiqAVplrPRcSJWJ2VOwR0=;
Received: from [84.212.220.105] (helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1nrx2A-0004lH-QF; Fri, 20 May 2022 09:26:53 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#55514: 29.0.50; Keyboard macros and visual-line-mode
References: <87o7zu9tay.fsf@HIDDEN> <837d6idmot.fsf@HIDDEN>
 <87leux8505.fsf@HIDDEN> <83wnegbsbk.fsf@HIDDEN>
 <87y1yw65gw.fsf@HIDDEN> <83o7zsbrdk.fsf@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEWlr7uyzdHn8ORx
 Y33///9xfXbJAAAAAWJLR0QEj2jZUQAAAAd0SU1FB+YFFAcYNL2yZ+4AAAGLSURBVDjLbZONkcQg
 CIVBGwCugeA14I3993YPMYnJrrPjRj8fv0osRKxr4DuHYhMLbPkEFGtOUFRiyy1m7EqaAGikLYC3
 FAFgAmys7dZgV7DNoTA/ffP0IpLOm7Xm+KmGhBlYhCFyhcT0MYQrTOlrwA3LgCmMD1YH2QZ8RQBR
 gsfpWaFUzLNTGbEFkBFgpdFu8ycQetiqRLUPgv4FhGT09HE3JN1PUABEvwD7kt70USKqqCAOZHwe
 IMqOhmAnSnwpBoDBd+Rw5jPbGqDIhI97MkZXMnRmA/Py1AFZ1mh5Rq5RqAl4AU8QqdLP+FMapZ0a
 ALdmuFmhuME5IK0BevskAXrvam9C6hF0QdqNNhBVJU7gw3Zb3KiMMRd1D8ID1PR+LJB/BvC7wrI1
 L5P0d1D61TnzBTrKsMy2PTgcP6TMq/LMBm8w+hGNfQMh39Z2g8bbvkcMlsDLFVIAOQHHl+ul4ZUj
 RRZxA94VJurzvvdo3gN0xgtW/ugjdbzquIcWii1AvEKpndvhdJVljn978WbuXjkEhAAAACV0RVh0
 ZGF0ZTpjcmVhdGUAMjAyMi0wNS0yMFQwNzoyNDo1MSswMDowMAoZqDwAAAAldEVYdGRhdGU6bW9k
 aWZ5ADIwMjItMDUtMjBUMDc6MjQ6NTErMDA6MDB7RBCAAAAAAElFTkSuQmCC
X-Now-Playing: Tuxedomoon's _You_: "2000"
Date: Fri, 20 May 2022 09:26:50 +0200
In-Reply-To: <83o7zsbrdk.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 20 May
 2022 10:22:15 +0300")
Message-ID: <87tu9k64w5.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  Eli Zaretskii <eliz@HIDDEN> writes: > 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? I want people to
 be able to create usable keyboard macros -- that's the major regression
 line-move-visual
 led to, so I never understood why this wasn't fixed when it was introduced.
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 55514
Cc: 55514 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii <eliz@HIDDEN> writes:

> 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?

I want people to be able to create usable keyboard macros -- that's the
major regression line-move-visual led to, so I never understood why this
wasn't fixed when it was introduced.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#55514; Package emacs. Full text available.

Message received at 55514 <at> debbugs.gnu.org:


Received: (at 55514) by debbugs.gnu.org; 20 May 2022 07:22:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri May 20 03:22:26 2022
Received: from localhost ([127.0.0.1]:37414 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nrwxt-0000L4-Uc
	for submit <at> debbugs.gnu.org; Fri, 20 May 2022 03:22:26 -0400
Received: from eggs.gnu.org ([209.51.188.92]:37292)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1nrwxr-0000Kj-37
 for 55514 <at> debbugs.gnu.org; Fri, 20 May 2022 03:22:24 -0400
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 <eliz@HIDDEN>)
 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==;
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 <eliz@HIDDEN>)
 id 1nrwxk-0003sN-Hm; Fri, 20 May 2022 03:22:17 -0400
Date: Fri, 20 May 2022 10:22:15 +0300
Message-Id: <83o7zsbrdk.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
In-Reply-To: <87y1yw65gw.fsf@HIDDEN> (message from Lars Ingebrigtsen on Fri, 
 20 May 2022 09:14:23 +0200)
Subject: Re: bug#55514: 29.0.50; Keyboard macros and visual-line-mode
References: <87o7zu9tay.fsf@HIDDEN> <837d6idmot.fsf@HIDDEN>
 <87leux8505.fsf@HIDDEN> <83wnegbsbk.fsf@HIDDEN> <87y1yw65gw.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 55514
Cc: 55514 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Lars Ingebrigtsen <larsi@HIDDEN>
> Cc: 55514 <at> debbugs.gnu.org
> Date: Fri, 20 May 2022 09:14:23 +0200
> 
> Eli Zaretskii <eliz@HIDDEN> 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?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#55514; Package emacs. Full text available.

Message received at 55514 <at> debbugs.gnu.org:


Received: (at 55514) by debbugs.gnu.org; 20 May 2022 07:14:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri May 20 03:14:39 2022
Received: from localhost ([127.0.0.1]:37396 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nrwqN-0008J7-F2
	for submit <at> debbugs.gnu.org; Fri, 20 May 2022 03:14:39 -0400
Received: from quimby.gnus.org ([95.216.78.240]:59662)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1nrwqK-0008IU-JR
 for 55514 <at> debbugs.gnu.org; Fri, 20 May 2022 03:14:37 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=0Agxq9TmZfaMkjOvhpErjoyVtDaiuMcc5x2v0byzOhM=; b=IfDx2LKvBjtDM/Wgq0hZioKJAX
 j/3qQ/p30dZnM1DO0B7dJ8uhWqAHafjdat0PfZIBJA2QVMZ0UbAA3a5spnw1FI5dsR23Bz1fWbzJu
 jzfVXdmUcXMQPYqIpz3P6sCRA56/Ger0W0y2pN9FrWALZ35Rc2vZS2RPqZkGks+vbmgg=;
Received: from [84.212.220.105] (helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1nrwqA-0004do-Nj; Fri, 20 May 2022 09:14:29 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#55514: 29.0.50; Keyboard macros and visual-line-mode
References: <87o7zu9tay.fsf@HIDDEN> <837d6idmot.fsf@HIDDEN>
 <87leux8505.fsf@HIDDEN> <83wnegbsbk.fsf@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAG1BMVEWtp5nl3ci0rqPN
 vq+alYyRf2dbUFETCgz///+G0CkAAAAAAWJLR0QIht6VegAAAAd0SU1FB+YFFAIsGUWMCocAAAFc
 SURBVDjLldTdboMgFAdwykx67Zrd02Oz3baebrvtBcYH8OveVniBTl5/gCJKNNn+iTHyywH5ULKL
 10OOf4YDmmg4UDBhxIXrlDHZHQhdtFu5GaABRBMEBXNgQU+cu8FDuG3BVAFBOx/HqGyKdJhQ5KEW
 NuOtm+DUC9mrnpeNMvmZgAkhhWzxU9/7WgQgksR2FVQIecezaZchiBQxZTyTqnssoAW7D9h0VbcA
 SEwzwVrUzzk8UgN71eZSPE8DgAVIri+oVL/X16ICk7xI9ezyEAjmxaVR/UcIlQbU0Dg4zkHatfIA
 erYa7huwv1/FHGILPYf34kstACyAnvr3GhANb1uQrgLVi9WsjsEysVZhtk6NrxtNkFUuJedZ6QER
 fNyBi8dHG+YOqQcrw/E2cPEAlFlgQVdAGB0/0iioAPeVLrtihLoSV5EMJw3PzFdkBtzf5BX8+0UG
 Nv4l/4ZfnCnXdaRaFEoAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDUtMjBUMDI6NDQ6MjUrMDA6
 MDABCfxmAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTA1LTIwVDAyOjQ0OjI1KzAwOjAwcFRE2gAA
 AABJRU5ErkJggg==
X-Now-Playing: Blaine L. Reininger's _Live in Brussels_: "track"
Date: Fri, 20 May 2022 09:14:23 +0200
In-Reply-To: <83wnegbsbk.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 20 May
 2022 10:01:51 +0300")
Message-ID: <87y1yw65gw.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  Eli Zaretskii <eliz@HIDDEN> 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 visua [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 55514
Cc: 55514 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii <eliz@HIDDEN> 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.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#55514; Package emacs. Full text available.

Message received at 55514 <at> debbugs.gnu.org:


Received: (at 55514) by debbugs.gnu.org; 20 May 2022 07:02:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri May 20 03:02:01 2022
Received: from localhost ([127.0.0.1]:37379 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nrwe8-0007WK-Ql
	for submit <at> debbugs.gnu.org; Fri, 20 May 2022 03:02:01 -0400
Received: from eggs.gnu.org ([209.51.188.92]:34260)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1nrwe7-0007W1-J4
 for 55514 <at> debbugs.gnu.org; Fri, 20 May 2022 03:01:59 -0400
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 <eliz@HIDDEN>)
 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==;
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 <eliz@HIDDEN>)
 id 1nrwe0-0001nP-LR; Fri, 20 May 2022 03:01:53 -0400
Date: Fri, 20 May 2022 10:01:51 +0300
Message-Id: <83wnegbsbk.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
In-Reply-To: <87leux8505.fsf@HIDDEN> (message from Lars Ingebrigtsen on Fri, 
 20 May 2022 01:41:30 +0200)
Subject: Re: bug#55514: 29.0.50; Keyboard macros and visual-line-mode
References: <87o7zu9tay.fsf@HIDDEN> <837d6idmot.fsf@HIDDEN>
 <87leux8505.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 55514
Cc: 55514 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Lars Ingebrigtsen <larsi@HIDDEN>
> Cc: 55514 <at> debbugs.gnu.org
> Date: Fri, 20 May 2022 01:41:30 +0200
> 
> Eli Zaretskii <eliz@HIDDEN> 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.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#55514; Package emacs. Full text available.

Message received at 55514 <at> debbugs.gnu.org:


Received: (at 55514) by debbugs.gnu.org; 19 May 2022 23:41:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 19 19:41:42 2022
Received: from localhost ([127.0.0.1]:36881 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nrpm2-0007Ad-40
	for submit <at> debbugs.gnu.org; Thu, 19 May 2022 19:41:42 -0400
Received: from quimby.gnus.org ([95.216.78.240]:56256)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1nrply-0007AO-TX
 for 55514 <at> debbugs.gnu.org; Thu, 19 May 2022 19:41:40 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=9MftkCaEhI46YoU9KgUTeLyEG+0FvEXqLV217wOiles=; b=ZvOUyKwYtp8Ce6lAXJhRB7dPLd
 BlsF8AKMCN5ib9EWvlHYz9PxQAStZoIid8N00A/KgiHCqejPSvq23popgexqX5d4+dgc1+en/Fzts
 WXMulafJavOq0NXOQ/b6JV2bkd0OIGBJugmtzasJaC8zbRM7lax2EbtICx66CdcjnEB8=;
Received: from [84.212.220.105] (helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1nrplq-00088k-Of; Fri, 20 May 2022 01:41:32 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#55514: 29.0.50; Keyboard macros and visual-line-mode
References: <87o7zu9tay.fsf@HIDDEN> <837d6idmot.fsf@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEWxr6rZ1MiGgns1
 MzH///9Axw47AAAAAWJLR0QEj2jZUQAAAAd0SU1FB+YFExcnDEyfboUAAAGESURBVDjLdZOJjcQg
 DEVtaMDONMDRQIL7720/BnJpgzQj4sf3CUTEyool2Ahh9X/fzO9/1if4XPwF9L3urmcaTyBv5WU4
 i+ky5gH0HqOWcKQ0/d5BSEQhvBRbSd0ZD4+QyDxsZjCW/AICux0PxRBE2IkDBRF6KKpZClpbaqE8
 ABQJR4W5Jzpb2FHleLZkABGBQbLyVc6og3tTxJN5KjyKB/IaNO66BjWBeOnFbAWX6T50ICnVvOYx
 nEsKmXQjsnx6QmiBABb5LdDn4vlsezWSQElmDJUBYqvNrCnFvIBXAH8FCWX0ZgCeAIkFQqZqtj9B
 0Jgp6GazjlFCUvRQdhzq8+ILsHBMujH9TjAah8wi/JPZDbDfPf0B9ADWFujFFbi0MXg7ziYCNGbM
 cIDtbHtXAMcm1QXHBYSyIEjrgriAOsBV80ythZovsMkJrM/gUshKyUyEr6wAjgkarqncgWUHpZ0v
 k/2plZLwK6niBj8e7Fh7L8T+efEj/MuI10fRPhTB8/LtHw6CQir5aoJ0AAAAJXRFWHRkYXRlOmNy
 ZWF0ZQAyMDIyLTA1LTE5VDIzOjM5OjEyKzAwOjAwJP0TSgAAACV0RVh0ZGF0ZTptb2RpZnkAMjAy
 Mi0wNS0xOVQyMzozOToxMiswMDowMFWgq/YAAAAASUVORK5CYII=
X-Now-Playing: Hector Zazou's _Reivax au Congo_: "Chez le Commandeur"
Date: Fri, 20 May 2022 01:41:30 +0200
In-Reply-To: <837d6idmot.fsf@HIDDEN> (Eli Zaretskii's message of "Thu, 19 May
 2022 10:08:18 +0300")
Message-ID: <87leux8505.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Eli Zaretskii <eliz@HIDDEN> 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 [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 55514
Cc: 55514 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii <eliz@HIDDEN> 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.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#55514; Package emacs. Full text available.

Message received at 55514 <at> debbugs.gnu.org:


Received: (at 55514) by debbugs.gnu.org; 19 May 2022 07:08:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 19 03:08:34 2022
Received: from localhost ([127.0.0.1]:34305 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nraGw-0003Bu-LX
	for submit <at> debbugs.gnu.org; Thu, 19 May 2022 03:08:34 -0400
Received: from eggs.gnu.org ([209.51.188.92]:52088)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1nraGt-0003Bh-T6
 for 55514 <at> debbugs.gnu.org; Thu, 19 May 2022 03:08:32 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:52148)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nraGm-0003z6-T6; Thu, 19 May 2022 03:08:26 -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=mu65LWStezTZ/gb0pZEcwF3IquVEXgBVArGdS1frBeE=; b=kJsF19yZWOnv
 5Nj7CdCCcZqd+MXKxnY2Z+yjdKo0LSMCUzZBjLjoj9vjqIoY/5Uzrli/NzkXjlYRuQX5rW4uo8VPO
 yrITrWrybKnuliK9Y5g3cHp4bLTeYHpDo2w2YoFfydKSgGYM5FcbAchmPqiG3n5kBDYQQMldKi0SS
 ZadwAw/2cIgPBM0WxcwllyKUYEDmOPrEMJeeJmskMHwHzYzOov3gG0PNaWTPDYrmqw3xQqWg3KeT+
 lo4YIHaXuWQh3M1/R5m63KdhmsFDuX9T8kug4ngZ9eyIRuy4usehmxnt6LLbIMezynvV4cVpJpYwo
 5QoTHk0y3XUsIwuVzc8wWg==;
Received: from [87.69.77.57] (port=3865 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nraGk-0005Zq-2y; Thu, 19 May 2022 03:08:23 -0400
Date: Thu, 19 May 2022 10:08:18 +0300
Message-Id: <837d6idmot.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
In-Reply-To: <87o7zu9tay.fsf@HIDDEN> (message from Lars Ingebrigtsen on Thu, 
 19 May 2022 03:59:01 +0200)
Subject: Re: bug#55514: 29.0.50; Keyboard macros and visual-line-mode
References: <87o7zu9tay.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 55514
Cc: 55514 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Lars Ingebrigtsen <larsi@HIDDEN>
> Date: Thu, 19 May 2022 03:59:01 +0200
> 
> visual-line-mode is nice, but it has one major drawback -- it makes
> <down> not "reliable" when recording macros.
> 
> That is, if you record
> 
> C-x ( C-SPC <down> <down> C-k C-x )
> 
> (i.e., "kill two lines"), you can't really use `C-x e' to do much of
> anything, because the buffer may have too-long lines that makes <down>
> move down into the middle of a logical line.
> 
> So perhaps we should have a user option that remaps
> next-line/previous-line to next-logical-line/previous-logical-line while
> inside a `C-x ('?
> 
> (Or something to that effect -- perhaps the user option should make `C-x
> (' switch visual-line-mode off and exiting recording switches it on
> again (and the recorded macro would also contain those commands).

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).

We could also have a new user option to turn that off automatically
while running a macro, but that sounds too specific to some uses of
macros in some use cases, not something many users will want in many
cases.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#55514; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 19 May 2022 01:59:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 18 21:59:14 2022
Received: from localhost ([127.0.0.1]:34026 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nrVRZ-0003a1-Vo
	for submit <at> debbugs.gnu.org; Wed, 18 May 2022 21:59:14 -0400
Received: from lists.gnu.org ([209.51.188.17]:59372)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1nrVRY-0003Zt-47
 for submit <at> debbugs.gnu.org; Wed, 18 May 2022 21:59:12 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:57908)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <larsi@HIDDEN>) id 1nrVRX-0007Ir-SJ
 for bug-gnu-emacs@HIDDEN; Wed, 18 May 2022 21:59:11 -0400
Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:35416)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <larsi@HIDDEN>) id 1nrVRW-0003GD-5K
 for bug-gnu-emacs@HIDDEN; Wed, 18 May 2022 21:59:11 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From:
 Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description:
 Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:
 In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
 List-Post:List-Owner:List-Archive;
 bh=gMXFZkGvQDuy+6yoVCHHquJuNNw9HgWv65vOuJn5JFI=; b=r/iC1b2jEfyhqPwl/OcIYhf2zU
 wsoE0xMlsHFZU8rzHo2gb+cqvIJ6BcaXoeG3RPsS4vtuKQHzc3WEgaTm0pzlVic1upESQg/HWsOpj
 vinAwBwOLk52cnL21Fsc1vR+JXPBiXNenZO4plFsgOQGGpWlJv35tvIiO/VZeF3UfEGQ=;
Received: from [84.212.220.105] (helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1nrVRO-0005Ay-MM
 for bug-gnu-emacs@HIDDEN; Thu, 19 May 2022 03:59:05 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 29.0.50; Keyboard macros and visual-line-mode
X-Now-Playing: The Durutti Column's _Ni d'eve, ni d'adam_: "Detail For Annik"
Date: Thu, 19 May 2022 03:59:01 +0200
Message-ID: <87o7zu9tay.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  visual-line-mode is nice, but it has one major drawback --
 it makes <down> not "reliable" when recording macros. That is, if you record
 C-x ( C-SPC <down> <down> C-k C-x ) 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@HIDDEN;
 helo=quimby.gnus.org
X-Spam_score_int: -43
X-Spam_score: -4.4
X-Spam_bar: ----
X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)


visual-line-mode is nice, but it has one major drawback -- it makes
<down> not "reliable" when recording macros.

That is, if you record

C-x ( C-SPC <down> <down> C-k C-x )

(i.e., "kill two lines"), you can't really use `C-x e' to do much of
anything, because the buffer may have too-long lines that makes <down>
move down into the middle of a logical line.

So perhaps we should have a user option that remaps
next-line/previous-line to next-logical-line/previous-logical-line while
inside a `C-x ('?

(Or something to that effect -- perhaps the user option should make `C-x
(' switch visual-line-mode off and exiting recording switches it on
again (and the recorded macro would also contain those commands).


In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.16.0)
 of 2022-05-17 built on xo
Repository revision: 803041e01474f2a522170c9f388068e8460be2ae
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101003
System Description: Debian GNU/Linux bookworm/sid


-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





Acknowledgement sent to Lars Ingebrigtsen <larsi@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#55514; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 19 Jun 2022 14:15:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.