GNU bug report logs - #27980
disabled-command-function should accept ^G

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Sun, 6 Aug 2017 03:08:02 UTC

Severity: wishlist

Tags: notabug, wontfix

Done: Glenn Morris <rgm <at> gnu.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 27980 in the body.
You can then email your comments to 27980 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#27980; Package emacs. (Sun, 06 Aug 2017 03:08:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 06 Aug 2017 03:08:02 GMT) Full text and rfc822 format available.

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

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: bug-gnu-emacs <at> gnu.org
Subject: disabled-command-function should accept ^G
Date: Sun, 06 Aug 2017 11:07:09 +0800
disabled-command-function is an autoloaded compiled Lisp function in
‘novice.el’.

It prompts with

     (message "Type y, n, ! or SPC (the space bar): ")

However in 99% of the cases, the user has triggered it by mistake,
and wishes to get out with ^G, and not be bothered to read the details.

However ^G is disabled here.

Repeated hitting of it will not get one out and back to editing.

I vote ^G be mapped to "n", and be listed in the message.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#27980; Package emacs. (Sun, 06 Aug 2017 07:10:02 GMT) Full text and rfc822 format available.

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

From: Tino Calancha <tino.calancha <at> gmail.com>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 27980 <at> debbugs.gnu.org
Subject: Re: bug#27980: disabled-command-function should accept ^G
Date: Sun, 06 Aug 2017 16:09:19 +0900
積丹尼 Dan Jacobson <jidanni <at> jidanni.org> writes:

> disabled-command-function is an autoloaded compiled Lisp function in
> ‘novice.el’.
>
> It prompts with
>
>      (message "Type y, n, ! or SPC (the space bar): ")
>
> However in 99% of the cases, the user has triggered it by mistake,
> and wishes to get out with ^G, and not be bothered to read the details.
Reading those details i discovered several very useful disabled commands;
i enable some of them in my init file at startup.
>
> However ^G is disabled here.
>
> Repeated hitting of it will not get one out and back to editing.
>
> I vote ^G be mapped to "n", and be listed in the message.
For me C-g it works:
emacs -Q ~
a ; `dired-find-alternate-file' (disabled by default)
;; Appear the message.
C-g ; The message is gone; the command was canceled.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#27980; Package emacs. (Sun, 06 Aug 2017 13:00:03 GMT) Full text and rfc822 format available.

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

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: Tino Calancha <tino.calancha <at> gmail.com>
Cc: 27980 <at> debbugs.gnu.org
Subject: Re: bug#27980: disabled-command-function should accept ^G
Date: Sun, 06 Aug 2017 20:59:29 +0800
OK ^G is working again for me now.

Well my only request now is ^G should be listed along with the rest of the keys.





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#27980; Package emacs. (Sun, 06 Aug 2017 13:07:01 GMT) Full text and rfc822 format available.

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

From: Tino Calancha <tino.calancha <at> gmail.com>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 27980 <at> debbugs.gnu.org, Tino Calancha <tino.calancha <at> gmail.com>
Subject: Re: bug#27980: disabled-command-function should accept ^G
Date: Sun, 6 Aug 2017 22:06:13 +0900 (JST)
[Message part 1 (text/plain, inline)]

On Sun, 6 Aug 2017, 積丹尼 Dan Jacobson wrote:

> OK ^G is working again for me now.
>
> Well my only request now is ^G should be listed along with the rest of the keys.
Well, C-g is somehow an universal way of cancel whatever interactive 
command.  It's assumed that any kind of prompt can be safely canceled with C-g.
That is  from lesson #1 in Emacs; i don't think we need to mention it in 
every prompt.

Added tag(s) notabug. Request was from Tino Calancha <tino.calancha <at> gmail.com> to control <at> debbugs.gnu.org. (Mon, 07 Aug 2017 06:05:02 GMT) Full text and rfc822 format available.

Added tag(s) wontfix. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 07 Aug 2017 21:18:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 27980 <at> debbugs.gnu.org and 積丹尼 Dan Jacobson <jidanni <at> jidanni.org> Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 07 Aug 2017 21:18: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, 05 Sep 2017 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 290 days ago.

Previous Next


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