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




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.