unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Dan Espen <despen@verizon.net>
To: help-gnu-emacs@gnu.org
Subject: Re: What is the difference between C-g and M-x keyboard-quit?
Date: Tue, 15 Sep 2015 17:31:29 -0400	[thread overview]
Message-ID: <mta2jv$7d4$3@dont-email.me> (raw)
In-Reply-To: mailman.1208.1442348628.19560.help-gnu-emacs@gnu.org

Marcin Borkowski <mbork@mbork.pl> writes:

> Hi all,
>
> there /must/ be some difference, since C-g beeps and M-x keyboard-quit
> does not.  What is the reason for that?  What is exactly the difference?

C-h k C-g seems clear enough:

It is bound to C-g.

(keyboard-quit)

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.

-- 
Dan Espen


       reply	other threads:[~2015-09-15 21:31 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 ` Dan Espen [this message]
2015-09-16  6:27   ` What is the difference between C-g and M-x keyboard-quit? Michael Heerdegen
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='mta2jv$7d4$3@dont-email.me' \
    --to=despen@verizon.net \
    --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).