From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" 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 09:20:35 -0700 Message-ID: <003b01c93462$1f31da50$c2b22382@us.oracle.com> References: <003901c93405$88750120$0200a8c0@us.oracle.com> Reply-To: Drew Adams , 1205@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1224694231 26681 80.91.229.12 (22 Oct 2008 16:50:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 Oct 2008 16:50:31 +0000 (UTC) To: "'Kevin Rodgers'" , <1205@emacsbugs.donarmstrong.com>, Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 22 18:51:30 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 1Ksgvd-0001jp-5Y for geb-bug-gnu-emacs@m.gmane.org; Wed, 22 Oct 2008 18:51:25 +0200 Original-Received: from localhost ([127.0.0.1]:40221 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KsguX-00068l-8h for geb-bug-gnu-emacs@m.gmane.org; Wed, 22 Oct 2008 12:50:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KsguS-00068H-No for bug-gnu-emacs@gnu.org; Wed, 22 Oct 2008 12:50:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KsguR-000672-AQ for bug-gnu-emacs@gnu.org; Wed, 22 Oct 2008 12:50:12 -0400 Original-Received: from [199.232.76.173] (port=41751 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KsguQ-00066w-VU for bug-gnu-emacs@gnu.org; Wed, 22 Oct 2008 12:50:11 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:53336) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KsguP-0004OS-RD for bug-gnu-emacs@gnu.org; Wed, 22 Oct 2008 12:50:10 -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 m9MGo1C2008661; Wed, 22 Oct 2008 09:50:01 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m9MGU4Fa004123; Wed, 22 Oct 2008 09:30:04 -0700 X-Loop: don@donarmstrong.com Resent-From: "Drew Adams" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 22 Oct 2008 16:30:04 +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 1205-submit@emacsbugs.donarmstrong.com id=B1205.12246924482719 (code B ref 1205); Wed, 22 Oct 2008 16:30:04 +0000 Original-Received: (at 1205) by emacsbugs.donarmstrong.com; 22 Oct 2008 16:20:48 +0000 Original-Received: from rgminet01.oracle.com (rgminet01.oracle.com [148.87.113.118]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9MGKj5k002713 for <1205@emacsbugs.donarmstrong.com>; Wed, 22 Oct 2008 09:20:47 -0700 Original-Received: from agmgw2.us.oracle.com (agmgw2.us.oracle.com [152.68.180.213]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id m9MGKdO7030412; Wed, 22 Oct 2008 10:20:39 -0600 Original-Received: from acsmt707.oracle.com (acsmt707.oracle.com [141.146.40.85]) by agmgw2.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m9MGKbOA018755; Wed, 22 Oct 2008 10:20:38 -0600 Original-Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 22 Oct 2008 09:20:37 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 Thread-Index: Ack0GC+lvo3QVONoQNKvDTeF3OIbbQASYlLg X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Wed, 22 Oct 2008 12:50:12 -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:21787 Archived-At: > >>>> + (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. OK, I didn't mean to pronounce on what Emacs would/should support, but rather to communicate the part about what users should do now in their code. My reading was not just that one can feel confident using C-g now but that that is what one should do, for now. But anyway, you've obviously read the thread, and all I wanted to do was bring it to your attention.