[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What is the difference between C-g and M-x keyboard-quit?
From: |
Emanuel Berg |
Subject: |
Re: What is the difference between C-g and M-x keyboard-quit? |
Date: |
Wed, 16 Sep 2015 01:25:28 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
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