GNU bug report logs -
#40703
Unable to turn off autoarg-kp-mode
Previous Next
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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 40703 in the body.
You can then email your comments to 40703 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#40703
; Package
emacs
.
(Sun, 19 Apr 2020 01:22:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Stefan Kangas <stefan <at> marxist.se>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sun, 19 Apr 2020 01:22:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Severity: wishlist
autoarg.el "provides `autoarg-mode', a global minor mode meant to
emulate a facility reported from Twenex Emacs whereby digit keys
supplied prefix args rather than self inserting, with a digit sequence
terminated by space acting to insert the digits".
While searching the web, I could find no evidence of autoarg-mode
being discussed or even mentioned. It is presumably not very useful
in this day and age. (I also found a breaking bug in autoarg-kp-mode
where enabling it also enables autoarg-mode. Nobody seems to have
noticed.)
Does anyone object to marking it obsolete?
Best regards,
Stefan Kangas
[0001-Make-autoarg.el-obsolete.patch (text/x-patch, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#40703
; Package
emacs
.
(Sun, 19 Apr 2020 14:09:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 40703 <at> debbugs.gnu.org (full text, mbox):
> From: Stefan Kangas <stefan <at> marxist.se>
> Date: Sun, 19 Apr 2020 03:20:50 +0200
>
> autoarg.el "provides `autoarg-mode', a global minor mode meant to
> emulate a facility reported from Twenex Emacs whereby digit keys
> supplied prefix args rather than self inserting, with a digit sequence
> terminated by space acting to insert the digits".
>
> While searching the web, I could find no evidence of autoarg-mode
> being discussed or even mentioned. It is presumably not very useful
> in this day and age. (I also found a breaking bug in autoarg-kp-mode
> where enabling it also enables autoarg-mode. Nobody seems to have
> noticed.)
>
> Does anyone object to marking it obsolete?
AFAIR, when we deprecate a package, it's because there's some
replacement, or because the need is completely absent (e.g., because
the package caters to some software or part of Emacs that is no longer
there). This doesn't seem to be the case, is it?
Or does this package cause us some maintenance burden?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#40703
; Package
emacs
.
(Sun, 19 Apr 2020 23:27:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 40703 <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> gnu.org> writes:
> AFAIR, when we deprecate a package, it's because there's some
> replacement, or because the need is completely absent (e.g., because
> the package caters to some software or part of Emacs that is no longer
> there). This doesn't seem to be the case, is it?
>
> Or does this package cause us some maintenance burden?
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. I suggest
deprecation as a better alternative than leaving it in a broken state
or spending any time to fix it.
I don't know if that's in line with our deprecation practices, but I
would assume there is some room to make judgement calls.
Best regards,
Stefan Kangas
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#40703
; Package
emacs
.
(Sun, 19 Apr 2020 23:58:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 40703 <at> debbugs.gnu.org (full text, mbox):
Stefan Kangas <stefan <at> marxist.se> writes:
> > Or does this package cause us some maintenance burden?
>
> 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?
FWIW, I think the mode is potentially useful. It would be more useful
if there would be a local version, and if enabling autoarg-mode would
still allow me to enter digits with the keypad (i.e. the other way than
autoarg-kp-mode, because e.g. ...what? 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.
What I wanted to say was that large numbers are probably easier to type
on the keypad, and they are unlikely to be used as prefix arg.
Michael.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#40703
; Package
emacs
.
(Mon, 20 Apr 2020 00:58:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 40703 <at> debbugs.gnu.org (full text, mbox):
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
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#40703
; Package
emacs
.
(Mon, 20 Apr 2020 01:29:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 40703 <at> debbugs.gnu.org (full text, mbox):
Stefan Kangas <stefan <at> marxist.se> writes:
> It sounds like you see the same thing as me.
Exactly.
(defun autoarg-kp-digit-argument (arg)
[...]
(setq overriding-terminal-local-map universal-argument-map)) ;; <---
That's not good. u-a-map contains the normal number keys (first
problem), and the overriding-terminal-local-map is never uninstalled
(that's why it can't be turned off).
Michael.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#40703
; Package
emacs
.
(Mon, 20 Apr 2020 14:30:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 40703 <at> debbugs.gnu.org (full text, mbox):
> From: Michael Heerdegen <michael_heerdegen <at> web.de>
> Cc: Eli Zaretskii <eliz <at> gnu.org>, 40703 <at> debbugs.gnu.org
> Date: Mon, 20 Apr 2020 01:57:52 +0200
>
> FWIW, I think the mode is potentially useful. It would be more useful
> if there would be a local version, and if enabling autoarg-mode would
> still allow me to enter digits with the keypad (i.e. the other way than
> autoarg-kp-mode, because e.g. ...what? 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.
Maybe we should just fix it so the mode could be turned off, then.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#40703
; Package
emacs
.
(Fri, 24 Apr 2020 10:04:02 GMT)
Full text and
rfc822 format available.
Message #26 received at 40703 <at> debbugs.gnu.org (full text, mbox):
tags 40703 - patch
retitle 40703 Unable to turn off autoarg-kp-mode
thanks
Eli Zaretskii <eliz <at> gnu.org> writes:
>> FWIW, I think the mode is potentially useful. It would be more useful
>> if there would be a local version, and if enabling autoarg-mode would
>> still allow me to enter digits with the keypad (i.e. the other way than
>> autoarg-kp-mode, because e.g. ...what? 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.
>
> Maybe we should just fix it so the mode could be turned off, then.
OK, I'm updating the bug to reflect that.
FWIW, I still think this mode is more of a historical musing than it
is useful. But I accept that I'm in a minority here.
Best regards,
Stefan Kangas
Removed tag(s) patch.
Request was from
Stefan Kangas <stefan <at> marxist.se>
to
control <at> debbugs.gnu.org
.
(Fri, 24 Apr 2020 10:04:02 GMT)
Full text and
rfc822 format available.
Changed bug title to 'Unable to turn off autoarg-kp-mode' from '[PATCH] Make autoarg.el obsolete'
Request was from
Stefan Kangas <stefan <at> marxist.se>
to
control <at> debbugs.gnu.org
.
(Fri, 24 Apr 2020 10:04:02 GMT)
Full text and
rfc822 format available.
Severity set to 'minor' from 'wishlist'
Request was from
Stefan Kangas <stefan <at> marxist.se>
to
control <at> debbugs.gnu.org
.
(Fri, 24 Apr 2020 10:04:03 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#40703
; Package
emacs
.
(Wed, 30 Sep 2020 18:00:02 GMT)
Full text and
rfc822 format available.
Message #35 received at 40703 <at> debbugs.gnu.org (full text, mbox):
Stefan Kangas <stefan <at> marxist.se> writes:
> FWIW, I still think this mode is more of a historical musing than it
> is useful. But I accept that I'm in a minority here.
I agree with you. It's a feature that clearly doesn't work, which
should be a good indication that nobody uses it. Doesn't work + Nobody
uses it spells "should be obsoleted" to me. (I may be using the wrong
dictionary here, though.)
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#40703
; Package
emacs
.
(Sat, 03 Oct 2020 23:03:02 GMT)
Full text and
rfc822 format available.
Message #38 received at 40703 <at> debbugs.gnu.org (full text, mbox):
Lars Ingebrigtsen <larsi <at> gnus.org> writes:
> I agree with you. It's a feature that clearly doesn't work, which
> should be a good indication that nobody uses it. Doesn't work + Nobody
> uses it spells "should be obsoleted" to me. (I may be using the wrong
> dictionary here, though.)
Being able to use number pad for e.g. prefix args and numbers on the
first line for numbers as self-insert characters is not so unuseful. Do
we have a replacement providing such a feature?
Michael.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#40703
; Package
emacs
.
(Mon, 05 Oct 2020 06:46:02 GMT)
Full text and
rfc822 format available.
Message #41 received at 40703 <at> debbugs.gnu.org (full text, mbox):
Michael Heerdegen <michael_heerdegen <at> web.de> writes:
> Being able to use number pad for e.g. prefix args and numbers on the
> first line for numbers as self-insert characters is not so unuseful. Do
> we have a replacement providing such a feature?
The keypad bits of autoarg do seem like they could be useful, but that
it doesn't work, and nobody has complained, seems like a hint that
nobody wants that, either?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#40703
; Package
emacs
.
(Mon, 05 Oct 2020 07:00:02 GMT)
Full text and
rfc822 format available.
Message #44 received at 40703 <at> debbugs.gnu.org (full text, mbox):
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Date: Mon, 05 Oct 2020 08:45:37 +0200
> Cc: Stefan Kangas <stefan <at> marxist.se>, 40703 <at> debbugs.gnu.org
>
> The keypad bits of autoarg do seem like they could be useful, but that
> it doesn't work, and nobody has complained, seems like a hint that
> nobody wants that, either?
I don't think we should make such decisions based on no one's
complaining: I've heard many times that people don't complain about
problems they bump into for any number of reasons.
I think we should decide whether this functionality is useful, and if
so, try to fix it, if that is feasible. We should only remove it if
we don't consider this useful or if fixing it is not feasible.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#40703
; Package
emacs
.
(Tue, 15 Feb 2022 09:57:02 GMT)
Full text and
rfc822 format available.
Message #47 received at 40703 <at> debbugs.gnu.org (full text, mbox):
Stefan Kangas <stefan <at> marxist.se> writes:
> While searching the web, I could find no evidence of autoarg-mode
> being discussed or even mentioned. It is presumably not very useful
> in this day and age. (I also found a breaking bug in autoarg-kp-mode
> where enabling it also enables autoarg-mode. Nobody seems to have
> noticed.)
>
> Does anyone object to marking it obsolete?
I think everything here points towards nobody using this package, and
the way it's implemented is unfortunate.
Think making it obsolete might perhaps spur someone on to make a new
package -- if they want this functionality (which may be unlikely).
So I've now obsoleted it. If it turns out that people are actually
using it, somehow, then we could reconsider.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
bug marked as fixed in version 29.1, send any further explanations to
40703 <at> debbugs.gnu.org and Stefan Kangas <stefan <at> marxist.se>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Tue, 15 Feb 2022 09:57:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 15 Mar 2022 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 110 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.