GNU bug report logs -
#80004
keyboard macro error when visual-line-mode is enabled
Previous Next
To reply to this bug, email your comments to 80004 AT debbugs.gnu.org.
There is no need to reopen the bug first.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org:
bug#80004; Package
emacs.
(Sun, 14 Dec 2025 03:40:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Liu Hui <liuhui1610 <at> gmail.com>:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org.
(Sun, 14 Dec 2025 03:40:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello,
I find keyboard macro sometimes doesn't work when visual-line-mode is
enabled. Below is an example.
1. emacs -Q
2. C-h t
3. M-x visual-line-mode
4. record a macro:
C-x ( C-n C-n C-n C-n C-n C-n C-k C-k C-x )
5. Keep Pressing C-x e, then the following error occurs:
After 0 kbd macro iterations: funcall-interactively: Wrong type
argument: number-or-marker-p, nil
Information forwarded
to
bug-gnu-emacs <at> gnu.org:
bug#80004; Package
emacs.
(Sun, 14 Dec 2025 08:22:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 80004 <at> debbugs.gnu.org (full text, mbox):
> From: Liu Hui <liuhui1610 <at> gmail.com>
> Date: Sun, 14 Dec 2025 11:38:53 +0800
>
> I find keyboard macro sometimes doesn't work when visual-line-mode is
> enabled. Below is an example.
>
> 1. emacs -Q
> 2. C-h t
> 3. M-x visual-line-mode
> 4. record a macro:
> C-x ( C-n C-n C-n C-n C-n C-n C-k C-k C-x )
> 5. Keep Pressing C-x e, then the following error occurs:
>
> After 0 kbd macro iterations: funcall-interactively: Wrong type
> argument: number-or-marker-p, nil
Thanks.
This has nothing to do with keyboard macros, it was a bug in
kill-visual-line, which should be fixed now on the master branch.
Information forwarded
to
bug-gnu-emacs <at> gnu.org:
bug#80004; Package
emacs.
(Sun, 14 Dec 2025 12:44:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 80004 <at> debbugs.gnu.org (full text, mbox):
On Sun, Dec 14, 2025 at 4:20 PM Eli Zaretskii <eliz <at> gnu.org> wrote:
>
> > From: Liu Hui <liuhui1610 <at> gmail.com>
> > Date: Sun, 14 Dec 2025 11:38:53 +0800
> >
> > I find keyboard macro sometimes doesn't work when visual-line-mode is
> > enabled. Below is an example.
> >
> > 1. emacs -Q
> > 2. C-h t
> > 3. M-x visual-line-mode
> > 4. record a macro:
> > C-x ( C-n C-n C-n C-n C-n C-n C-k C-k C-x )
> > 5. Keep Pressing C-x e, then the following error occurs:
> >
> > After 0 kbd macro iterations: funcall-interactively: Wrong type
> > argument: number-or-marker-p, nil
>
> Thanks.
>
> This has nothing to do with keyboard macros, it was a bug in
> kill-visual-line, which should be fixed now on the master branch.
Thanks, I confirm the bug has been fixed.
Reply sent
to
Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility.
(Sun, 14 Dec 2025 13:57:03 GMT)
Full text and
rfc822 format available.
Notification sent
to
Liu Hui <liuhui1610 <at> gmail.com>:
bug acknowledged by developer.
(Sun, 14 Dec 2025 13:57:03 GMT)
Full text and
rfc822 format available.
Message #16 received at 80004-done <at> debbugs.gnu.org (full text, mbox):
> From: Liu Hui <liuhui1610 <at> gmail.com>
> Date: Sun, 14 Dec 2025 20:43:29 +0800
> Cc: 80004 <at> debbugs.gnu.org
>
> On Sun, Dec 14, 2025 at 4:20 PM Eli Zaretskii <eliz <at> gnu.org> wrote:
> >
> > > From: Liu Hui <liuhui1610 <at> gmail.com>
> > > Date: Sun, 14 Dec 2025 11:38:53 +0800
> > >
> > > I find keyboard macro sometimes doesn't work when visual-line-mode is
> > > enabled. Below is an example.
> > >
> > > 1. emacs -Q
> > > 2. C-h t
> > > 3. M-x visual-line-mode
> > > 4. record a macro:
> > > C-x ( C-n C-n C-n C-n C-n C-n C-k C-k C-x )
> > > 5. Keep Pressing C-x e, then the following error occurs:
> > >
> > > After 0 kbd macro iterations: funcall-interactively: Wrong type
> > > argument: number-or-marker-p, nil
> >
> > Thanks.
> >
> > This has nothing to do with keyboard macros, it was a bug in
> > kill-visual-line, which should be fixed now on the master branch.
>
> Thanks, I confirm the bug has been fixed.
Thanks for testing, closing.
This bug report was last modified 2 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.