unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Oliver Scholz <epameinondas@gmx.de>
Subject: Re: Feature request: quiet keyboard-quit
Date: Wed, 22 May 2002 18:04:32 +0200	[thread overview]
Message-ID: <m3k7pwrwxb.fsf@ID-87814.user.dfncis.de> (raw)
In-Reply-To: <vaflmac778q.fsf@lucy.cs.uni-dortmund.de> (Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "Wed, 22 May 2002 13:27:17 +0200")

Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai writes:

>   [[ Mailed copy of news article posted to gnu.emacs.bug ]]

Yes, thanks for that. I do not read this group usually.

> epameinondas@gmx.de (Oliver Scholz) writes:
>
>> 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'.
>
> Sometimes, you can also hit ESC ESC ESC to get a similar effect like
> C-g.  But ESC ESC ESC only works when Emacs is waiting for input,
> whereas C-g also interrupts Emacs while executing some Lisp code.
>
> Could this be a (partial) workaround?
[...]

Whee! But you don't suggest to bind `C-g' to `keyboard-escape-quit',
do you? The thought "Oh, oh, wrong command!" is bound to `C-g' on my
system. :-)

Actually there is no need for a _workaround_. The little flashes are
not _that_ annoying. At least they are less annoying than changing my
habits.

Thanks for the suggestion, anyway! I did not know that `ESC ESC ESC'
calls a different function than `C-g'. So at least I understand the
reason for the warning beep/flash that comes with `C-g':
`keyboard-quit' is the general "Stop this!"-command. There is no way
to distinguish between exiting command-input and stopping a running
function. The latter is considered to be some sort of an error. So I
admit that the flash/beep is a reasonable default.

But again: I know what I am doing when I hit `C-g'. So there is no
need to warn me, even if I, say, stop the loading of my .emacs with
it. The "Quit" in the echo area is enough for me.

It simply would be nice to customize this behaviour.

    'oliver

-- 
Oliver Scholz               3 Prairial an 210 de la Révolution
Taunusstr. 25               Liberté, Egalité, Fraternité!
60329 Frankfurt a. M.
Tel. (069) 97 40 99 42

  reply	other threads:[~2002-05-22 16:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-22  8:09 Feature request: quiet keyboard-quit Oliver Scholz
2002-05-22 11:27 ` Kai Großjohann
2002-05-22 16:04   ` Oliver Scholz [this message]
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=m3k7pwrwxb.fsf@ID-87814.user.dfncis.de \
    --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).