GNU bug report logs - #1205
23.0.60; C-x RET c FOO C-x C-g signals an error

Previous Next

Package: emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Sun, 19 Oct 2008 15:20:02 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Kevin Rodgers <kevin.d.rodgers <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: bug#1205: 23.0.60; C-x RET c FOO C-x C-g signals an error
Date: Wed, 22 Oct 2008 01:05:22 -0600
Drew Adams wrote:
>>>> +     (if (char-equal last-input-char ?\C-g)
>>> quit_char may not be C-g.
>> So ?\C-g should be expressed instead as (nth 3 (current-input-mode)),
>> correct?
> 
> Essentially the question I asked emacs-devel today (based on this thread, though
> I had forgotten where I saw it). See emacs-devel thread "question about
> `quit-char'", FYI.
> 
> The answer I got was no, not in Emacs 23 (or 22 or 21...). Later, maybe. 
> 
> There was a fair amount of noise and distraction in the thread, but that's the
> answer I took away for this question.

That's not the conclusion I came to, which is: You should feel fairly
confident in binding C-g as a quit character in your code, but
Emacs itself should continue to fully support current-input-mode/
set-input-mode -- unless and until a decision is reached to deprecate
the QUIT functionality they provide.

-- 
Kevin Rodgers
Denver, Colorado, USA






This bug report was last modified 16 years and 139 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.