bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#27980: disabled-command-function should accept ^G


From: Tino Calancha
Subject: bug#27980: disabled-command-function should accept ^G
Date: Sun, 06 Aug 2017 16:09:19 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

積丹尼 Dan Jacobson <jidanni@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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]