GNU bug report logs - #33570
26.1.90; Weirdness with prefix arg and kmacro-end-and-call-macro

Previous Next

Package: emacs;

Reported by: Live System User <nyc4bos <at> aol.com>

Date: Sun, 2 Dec 2018 02:30:01 UTC

Severity: normal

Tags: notabug

Found in version 26.1.90

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Live System User <nyc4bos <at> aol.com>
Cc: 33570 <at> debbugs.gnu.org
Subject: bug#33570: 26.1.90; Weirdness with prefix arg and kmacro-end-and-call-macro
Date: Sun, 02 Dec 2018 15:50:56 +0200
> From: Live System User <nyc4bos <at> aol.com>
> Cc: 33570 <at> debbugs.gnu.org
> Date: Sun, 02 Dec 2018 06:28:41 -0500
> 
>     Is the long line above ";; FIXME:..." (with the line continuation
>     indicator) 1 visual line and also it's 2 logical ones?

No, it's one logical line and 2 visual lines.

So C-a goes to the beginning of the logical line, right before
";; FIXME", and then C-n goes to the next visual line

>     IIUC, this would mean that C-n would go to the (logical) line:
> 
>                 r/lisp/init-vc.e;
> 
>      and not to the next (visual) line which starts with:
>      
>                 (setq magit-diff-refine-hunk ...

Yes.  And thus the following invocations of the macro loop at the same
line.

IOW, this is not a bug, but the intended behavior.




This bug report was last modified 6 years and 34 days ago.

Previous Next


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