emacs-devel
[Top][All Lists]
Advanced

[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:45:46 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> 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.
>
> This was always the case, so nothing changed lately.
>
>> 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?
>
> I do.  I don't see why we should remove one of the oldest features in
> Emacs, just because it's complicated to use it.  Certainly not now.

Okay.  I didn't realize that current-input-mode has been around for a
while.

Probably the right thing to do, at this point, is to simple assume that
\C-g is the same as quit-char.  So Glenn's patch in bug#1205 is OK.

After the release, we can add a `quit-char' function and change the Lisp
code to use it.




reply via email to

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