unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: help-gnu-emacs@gnu.org
Subject: Re: What is the difference between C-g and M-x keyboard-quit?
Date: Wed, 16 Sep 2015 08:27:35 +0200	[thread overview]
Message-ID: <87mvwmzxns.fsf@web.de> (raw)
In-Reply-To: mta2jv$7d4$3@dont-email.me

Dan Espen <despen@verizon.net> writes:

> Signal a `quit' condition.
> During execution of Lisp code, this character causes a quit directly.
> At top-level, as an editor command, this simply beeps.

But if you look at the code, you see that

    (signal 'quit nil)

is always executed.  If you get a beep depends on whether the quit
is caught.  But the behavior should be independent from how you invoke
`keyboard-quit' in one and the same context - either the quit signal
gets caught (no beep) or it isn't (beep).


Michael.




  reply	other threads:[~2015-09-16  6:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1208.1442348628.19560.help-gnu-emacs@gnu.org>
2015-09-15 21:31 ` What is the difference between C-g and M-x keyboard-quit? Dan Espen
2015-09-16  6:27   ` Michael Heerdegen [this message]
2015-09-15 20:23 Marcin Borkowski
2015-09-15 23:25 ` Emanuel Berg
2015-09-16  6:20 ` Michael Heerdegen
2015-09-16  7:11 ` Bob Proulx

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=87mvwmzxns.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=help-gnu-emacs@gnu.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.
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).