From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.bugs 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 Message-ID: References: <003901c93405$88750120$0200a8c0@us.oracle.com> Reply-To: Kevin Rodgers , 1205@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1224660624 29543 80.91.229.12 (22 Oct 2008 07:30:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 Oct 2008 07:30:24 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 22 09:31:25 2008 connect(): Connection refused Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KsYBf-0001bp-B9 for geb-bug-gnu-emacs@m.gmane.org; Wed, 22 Oct 2008 09:31:23 +0200 Original-Received: from localhost ([127.0.0.1]:53429 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KsYAZ-0002FZ-LD for geb-bug-gnu-emacs@m.gmane.org; Wed, 22 Oct 2008 03:30:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KsYAW-0002FU-BO for bug-gnu-emacs@gnu.org; Wed, 22 Oct 2008 03:30:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KsYAS-0002FI-Rp for bug-gnu-emacs@gnu.org; Wed, 22 Oct 2008 03:30:11 -0400 Original-Received: from [199.232.76.173] (port=57330 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KsYAS-0002FF-LT for bug-gnu-emacs@gnu.org; Wed, 22 Oct 2008 03:30:08 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:16428) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KsYAS-0005ek-AW for bug-gnu-emacs@gnu.org; Wed, 22 Oct 2008 03:30:08 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KsYAR-0003Jr-7f for bug-gnu-emacs@gnu.org; Wed, 22 Oct 2008 03:30:07 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9M7U17B031214; Wed, 22 Oct 2008 00:30:01 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m9M7F3DO027726; Wed, 22 Oct 2008 00:15:03 -0700 X-Loop: don@donarmstrong.com Resent-From: Kevin Rodgers Original-Sender: news Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 22 Oct 2008 07:15:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1205 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122465913826469 (code B ref -1); Wed, 22 Oct 2008 07:15:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 22 Oct 2008 07:05:38 +0000 Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9M75XFf026462 for ; Wed, 22 Oct 2008 00:05:35 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KsXmf-0005p8-DS for bug-gnu-emacs@gnu.org; Wed, 22 Oct 2008 03:05:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KsXmd-0005og-Pp for bug-gnu-emacs@gnu.org; Wed, 22 Oct 2008 03:05:33 -0400 Original-Received: from [199.232.76.173] (port=48910 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KsXmd-0005oc-Md for bug-gnu-emacs@gnu.org; Wed, 22 Oct 2008 03:05:31 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:14385) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KsXmd-0000KH-1f for bug-gnu-emacs@gnu.org; Wed, 22 Oct 2008 03:05:31 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KsXmZ-0001o2-PH for bug-gnu-emacs@gnu.org; Wed, 22 Oct 2008 03:05:28 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KsXmS-00044D-DI for bug-gnu-emacs@gnu.org; Wed, 22 Oct 2008 07:05:20 +0000 Original-Received: from c-67-161-145-183.hsd1.co.comcast.net ([67.161.145.183]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 Oct 2008 07:05:20 +0000 Original-Received: from kevin.d.rodgers by c-67-161-145-183.hsd1.co.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 Oct 2008 07:05:20 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 24 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-67-161-145-183.hsd1.co.comcast.net User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) In-Reply-To: <003901c93405$88750120$0200a8c0@us.oracle.com> X-detected-kernel: by mx20.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Resent-Date: Wed, 22 Oct 2008 03:30:11 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:21777 Archived-At: 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