all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tino Calancha <tino.calancha@gmail.com>
To: "積丹尼 Dan Jacobson" <jidanni@jidanni.org>
Cc: 27980@debbugs.gnu.org
Subject: bug#27980: disabled-command-function should accept ^G
Date: Sun, 06 Aug 2017 16:09:19 +0900	[thread overview]
Message-ID: <87d189cgv4.fsf@calancha-pc> (raw)
In-Reply-To: <87vam1fl7m.fsf@jidanni.org> ("積丹尼 Dan Jacobson"'s message of "Sun, 06 Aug 2017 11:07:09 +0800")

積丹尼 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	other threads:[~2017-08-06  7:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-06  3:07 bug#27980: disabled-command-function should accept ^G 積丹尼 Dan Jacobson
2017-08-06  7:09 ` Tino Calancha [this message]
2017-08-06 12:59 ` 積丹尼 Dan Jacobson
2017-08-06 13:06   ` Tino Calancha

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d189cgv4.fsf@calancha-pc \
    --to=tino.calancha@gmail.com \
    --cc=27980@debbugs.gnu.org \
    --cc=jidanni@jidanni.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.