GNU bug report logs - #40703
Unable to turn off autoarg-kp-mode

Previous Next

Package: emacs;

Reported by: Stefan Kangas <stefan <at> marxist.se>

Date: Sun, 19 Apr 2020 01:22:01 UTC

Severity: minor

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Stefan Kangas <stefan <at> marxist.se>
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 40703 <at> debbugs.gnu.org
Subject: Re: bug#40703: [PATCH] Make autoarg.el obsolete
Date: Mon, 20 Apr 2020 02:57:16 +0200
Michael Heerdegen <michael_heerdegen <at> web.de> writes:

> > Well, as it stands 'autoarg-kp-mode' is broken.  It enables
> > 'autoarg-mode', which kind of defeats the point of having a separate
> > mode to only enable this behaviour for the keypad.
>
> Not for me.  Works here.  Are you sure?

In "emacs -Q" using 26.1:

M-x autoarg-kp-mode
    Message: Autoarg-Kp mode enabled
[regular 2] a
   Buffer contents: 2a
[keypad 2] a
    Buffer contents: 2aaa
[regular 2] b
    Buffer contents: 2aaabb
M-x autoarg-kp-mode
    Message: Autoarg-Kp mode disabled
[keypad 2] c
    Buffer contents: 2aaabbcc
[regular 2] d
    Buffer contents: 2aaabbccdd
M-x autoarg-mode
   Message: Autoarg mode enabled
... same behaviour as above
M-x autoarg-mode
   Message: Autoarg mode disabled
... it's still not disabled

So actually the breakage here is worse than what I initially
described, since autoarg-kp-mode also can't be disabled.

autoarg-mode seems to toggle correctly though.

> mhmm, I wanted to write an
> example including integers but I can't enter them anymore, I can't turn
> off autoarg mode.  It's just broken.  Will restart Emacs.

It sounds like you see the same thing as me.

Best regards,
Stefan Kangas




This bug report was last modified 3 years and 155 days ago.

Previous Next


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