all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: drew.adams@oracle.com, emacs-devel@gnu.org
Subject: Re: question about `quit-char'
Date: Tue, 21 Oct 2008 13:45:46 -0400	[thread overview]
Message-ID: <871vy9suyd.fsf@cyd.mit.edu> (raw)
In-Reply-To: <uprltg8iw.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 21 Oct 2008 19:31:03 +0200")

Eli Zaretskii <eliz@gnu.org> 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	other threads:[~2008-10-21 17:45 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-21 16:57 question about `quit-char' Drew Adams
2008-10-21 17:19 ` Eli Zaretskii
2008-10-21 18:10   ` Drew Adams
2008-10-21 19:42     ` Eli Zaretskii
2008-10-21 17:21 ` Chong Yidong
2008-10-21 17:31   ` Eli Zaretskii
2008-10-21 17:45     ` Chong Yidong [this message]
2008-10-21 18:13       ` Drew Adams
2008-10-21 18:47         ` Chong Yidong
2008-10-21 19:01           ` Lennart Borgman (gmail)
2008-10-21 19:15             ` Drew Adams
2008-10-21 19:15           ` Drew Adams
2008-10-21 20:23             ` Eli Zaretskii
2008-10-21 20:30               ` Drew Adams
2008-10-22  2:47             ` Stephen J. Turnbull
2008-10-22  2:51               ` Drew Adams
2008-10-22  4:54                 ` Stephen J. Turnbull
2008-10-21 19:37       ` Eli Zaretskii
2008-10-21 21:12         ` Chong Yidong
2008-10-21 20:29     ` Eli Zaretskii
2008-10-21 17:35   ` Lennart Borgman (gmail)

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871vy9suyd.fsf@cyd.mit.edu \
    --to=cyd@stupidchicken.com \
    --cc=drew.adams@oracle.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.