[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: question about `quit-char'

From: Chong Yidong
Subject: Re: question about `quit-char'
Date: Tue, 21 Oct 2008 13:21:49 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

"Drew Adams" <address@hidden> writes:

> A recent message (can't find it now) that mentioned that `quit-char'
> is not necessarily `C-g' prompted me to look through the docs for info
> about `quit-char'.
> I found it only in the Elisp manual, node Input Modes, where
> `quit-char' is used to name the 4th element of the list returned by
> `current-input-mode' (it is also mentioned wrt `set-input-mode';
> `set-quit-char' is not mentioned).
> There is no variable or function `quit-char'.

The Fset_quit_char command was introduced during the multi-tty merge.
Apparently, no one ever bothered to make sure that the rest of Emacs
works when quit_char is not C-g: there are many, many places in the Lisp
sources that assume C-g quits.

So I think this feature should be removed.

This will involve eliminating the 4th (QUIT) element in the return value
of current-input-mode, the 4th argument of set-input-mode, and the
function set-quit-char.  As far as I can tell, nothing in the rest of
Emacs uses these.

Does anyone object?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]