From: Oliver Scholz <epameinondas@gmx.de>
Subject: Feature request: quiet keyboard-quit
Date: Wed, 22 May 2002 10:09:25 +0200 [thread overview]
Message-ID: <200205220809.g4M89PW00568@localhost.localdomain> (raw)
Hello!
Whenever I hit `C-g' Emacs beeps or -- in my case -- flashes. I'd like
to turn this of -- not in all cases, but solely for `keyboard-quit'.
I do know that I could set `ring-bell-function' to a function that
does nothing and get rid of all beeping or flashing. But this has the
unwelcome side-effect that I don't get a warning flash even in the
case of errors. So I don't get warned if something unexpected happens.
But I know what I am doing when I hit `C-g', so there is no need to
warn me -- while a fairly unobtrusive "Quit" in the echo area is fine.
Apparently `keyboard-quit' can't be defadviced "after" or "around":
(defadvice keyboard-quit (around do-not-beep! activate)
(let ((ring-bell-function (lambda () nil)))
ad-do-it))
... is futile.
`condition-case' does not trap the quit-signal and ...
(let ((inhibit-quit t))
... )
... is pointless when `keyboard-quit' gets a call from the lisp code.
So it seems that it is impossible to do this on the lisp customization
level. So here is my request:
Would you make this possible, please?
It would be very kind of you to give the user control over this by
setting a variable (`keyboard-quit-inhibit-warning' or so).
-- Oliver
--
Oliver Scholz
Taunusstr. 25
60329 Frankfurt am Main
Tel. 069 97 40 99 42
next reply other threads:[~2002-05-22 8:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-22 8:09 Oliver Scholz [this message]
2002-05-22 11:27 ` Feature request: quiet keyboard-quit Kai Großjohann
2002-05-22 16:04 ` Oliver Scholz
2002-05-22 15:53 ` Paul Jarc
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200205220809.g4M89PW00568@localhost.localdomain \
--to=epameinondas@gmx.de \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).