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

Previous Next

Package: emacs;

Reported by: Lars Ingebrigtsen <larsi <at> gnus.org>

Date: Thu, 19 May 2022 02:00:02 UTC

Severity: wishlist

Found in version 29.0.50

Full log


Message #38 received at 55514 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 55514 <at> debbugs.gnu.org
Subject: Re: bug#55514: 29.0.50; Keyboard macros and visual-line-mode
Date: Sat, 21 May 2022 16:59:57 +0300
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Cc: 55514 <at> debbugs.gnu.org
> Date: Sat, 21 May 2022 15:38:37 +0200
> 
> Eli Zaretskii <eliz <at> gnu.org> 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.




This bug report was last modified 2 years and 362 days ago.

Previous Next


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