unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Emanuel Berg <embe8573@student.uu.se>
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 01:25:28 +0200	[thread overview]
Message-ID: <87y4g72rkn.fsf@debian.uxu> (raw)
In-Reply-To: 87vbbb5t5m.fsf@mbork.pl

Marcin Borkowski <mbork@mbork.pl> writes:

> 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?

Use the source, Luke! (if you can figure it out...)

The help has already been quoted, but for me, with
beeping enabled and 'emacs -Q', (keyboard-quit) beeps
regardless how I invoke it ("from Lisp" and with M-x).

Here is how to disable the beeping - and enabling, for
the sake of testing:

# in X
xset -b
xset b on

# Linux VT (virtual terminal)/console/tty
setterm -term linux -blength 0   > `tty` # or, e.g., /dev/tty1
setterm -term linux -blength 100 > `tty` # 0 and 100 are durations

-- 
underground experts united
http://user.it.uu.se/~embe8573




  reply	other threads:[~2015-09-15 23:25 UTC|newest]

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

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=87y4g72rkn.fsf@debian.uxu \
    --to=embe8573@student.uu.se \
    --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).