From unknown Sat Aug 16 20:57:19 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#1205 <1205@debbugs.gnu.org> To: bug#1205 <1205@debbugs.gnu.org> Subject: Status: 23.0.60; C-x RET c FOO C-x C-g signals an error Reply-To: bug#1205 <1205@debbugs.gnu.org> Date: Sun, 17 Aug 2025 03:57:19 +0000 retitle 1205 23.0.60; C-x RET c FOO C-x C-g signals an error reassign 1205 emacs submitter 1205 Eli Zaretskii severity 1205 normal thanks From eliz@gnu.org Sun Oct 19 08:12:37 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.3 required=4.0 tests=AWL,BAYES_00,FOURLA, GAPPY_SUBJECT,RCVD_IN_DNSWL_MED,RCVD_IN_NIX1 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 19 Oct 2008 15:12:38 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9JFCX7b010894 for ; Sun, 19 Oct 2008 08:12:34 -0700 Received: from mail.gnu.org ([199.232.76.166]:52334 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KrZul-0000sj-T5 for emacs-pretest-bug@gnu.org; Sun, 19 Oct 2008 11:09:55 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KrZxI-0002Qs-BW for emacs-pretest-bug@gnu.org; Sun, 19 Oct 2008 11:12:32 -0400 Received: from mtaout3.012.net.il ([84.95.2.7]:58859) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KrZxH-0002Qf-VV for emacs-pretest-bug@gnu.org; Sun, 19 Oct 2008 11:12:32 -0400 Received: from HOME-C4E4A596F7 ([77.126.98.197]) by i_mtaout3.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0K8Z00JP1RN9E4P1@i_mtaout3.012.net.il> for emacs-pretest-bug@gnu.org; Sun, 19 Oct 2008 17:13:57 +0200 (IST) Date: Sun, 19 Oct 2008 17:12:33 +0200 From: Eli Zaretskii Subject: 23.0.60; C-x RET c FOO C-x C-g signals an error X-012-Sender: halo1@inter.net.il To: emacs-pretest-bug@gnu.org Message-id: X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: emacs -Q C-x RET c utf-8 RET C-x C-g produces an unexpected error message: Wrong type argument: commandp, nil (What happened here is that I changed my mind after typing the second C-x and wanted to bail out. I expected to see "Quit", not an error.) The problem happens no matter what coding-system you use instead of utf-8. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file d:/gnu/emacs/etc/DEBUG for instructions. In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2008-10-19 on HOME-C4E4A596F7 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4)' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENU value of $XMODIFIERS: nil locale-coding-system: cp1255 default-enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: shell-dirtrack-mode: t tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: r C-x C-s C-x C-x C-g C-r C-w C-w C-w C-r C-s C-s M-x s h e l l - c o m m l s . e d : / g n C-h c e m SPC C-g M-! l s C-h c C-g C-h f m i n i b u f f e r - c o m p l e t e - s h e C-x C-x C-g C-r m i n i b C-g C-x o C-x o C-SPC C-x o C-g C-h v C-M-v C-x o M-! l s SPC d : / g n e m a / l i s C-SPC C-g C-x o C-x c u t f - 8 C-x C-g M-x r e p o r t - e m a Recent messages: Saving file d:/gnu/emacs/lisp/simple.el... Wrote d:/gnu/emacs/lisp/simple.el Quit Mark saved where search started TAB (translated from ) runs the command minibuffer-complete-shell-command Quit TAB (translated from ) runs the command minibuffer-complete-shell-command Quit [3 times] Mark set Quit [2 times] universal-coding-system-argument: Wrong type argument: commandp, nil From rgm@gnu.org Mon Oct 20 19:53:29 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-11.7 required=4.0 tests=AWL,BAYES_00,FOURLA, GAPPY_SUBJECT,HAS_BUG_NUMBER,RCVD_IN_DNSWL_MED,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1205) by emacsbugs.donarmstrong.com; 21 Oct 2008 02:53:29 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9L2rQnU024986 for <1205@emacsbugs.donarmstrong.com>; Mon, 20 Oct 2008 19:53:27 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1Ks7KY-0006Am-RZ; Mon, 20 Oct 2008 22:50:46 -0400 From: Glenn Morris To: Eli Zaretskii Cc: 1205@debbugs.gnu.org Subject: Re: bug#1205: 23.0.60; C-x RET c FOO C-x C-g signals an error References: X-Spook: government Axis of Evil Belknap Ansar al-Islam mindwar X-Ran: =^1/?T*s1~7y!E@CG26_8$$Rq(=cfr)b8(5%{m~5rz?Mg,W@b>1EJ.S;_Wt$FM}m7YOT2C X-Hue: blue X-Debbugs-No-Ack: yes X-Attribution: GM Date: Mon, 20 Oct 2008 22:50:46 -0400 In-Reply-To: (Eli Zaretskii's message of "Sun, 19 Oct 2008 17:12:33 +0200") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Eli Zaretskii wrote: > emacs -Q > C-x RET c utf-8 RET C-x C-g > > produces an unexpected error message: > > Wrong type argument: commandp, nil Perhaps this: *** mule-cmds.el 5 Oct 2008 19:07:03 -0000 1.341 --- mule-cmds.el 21 Oct 2008 02:52:14 -0000 *************** *** 287,292 **** --- 287,295 ---- (cmd (key-binding keyseq)) prefix) + (if (char-equal last-input-char ?\C-g) + (keyboard-quit)) + (when (memq cmd '(universal-argument digit-argument)) (call-interactively cmd) From eliz@gnu.org Mon Oct 20 23:32:52 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-5.9 required=4.0 tests=AWL,BAYES_00,FOURLA, GAPPY_SUBJECT,HAS_BUG_NUMBER,RCVD_IN_NIX1 autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1205) by emacsbugs.donarmstrong.com; 21 Oct 2008 06:32:52 +0000 Received: from mtaout1.012.net.il (mtaout1.012.net.il [84.95.2.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9L6WmWI015518 for <1205@emacsbugs.donarmstrong.com>; Mon, 20 Oct 2008 23:32:50 -0700 Received: from HOME-C4E4A596F7 ([77.126.98.197]) by i-mtaout1.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0K9200CMSSWWRP00@i-mtaout1.012.net.il> for 1205@emacsbugs.donarmstrong.com; Tue, 21 Oct 2008 08:34:11 +0200 (IST) Date: Tue, 21 Oct 2008 08:32:45 +0200 From: Eli Zaretskii Subject: Re: bug#1205: 23.0.60; C-x RET c FOO C-x C-g signals an error In-reply-to: X-012-Sender: halo1@inter.net.il To: Glenn Morris Cc: 1205@debbugs.gnu.org Reply-to: Eli Zaretskii Message-id: References: > From: Glenn Morris > Cc: 1205@emacsbugs.donarmstrong.com > Date: Mon, 20 Oct 2008 22:50:46 -0400 > > Eli Zaretskii wrote: > > > emacs -Q > > C-x RET c utf-8 RET C-x C-g > > > > produces an unexpected error message: > > > > Wrong type argument: commandp, nil > > > Perhaps this: > > > *** mule-cmds.el 5 Oct 2008 19:07:03 -0000 1.341 > --- mule-cmds.el 21 Oct 2008 02:52:14 -0000 > *************** > *** 287,292 **** > --- 287,295 ---- > (cmd (key-binding keyseq)) > prefix) > > + (if (char-equal last-input-char ?\C-g) > + (keyboard-quit)) > + > (when (memq cmd '(universal-argument digit-argument)) > (call-interactively cmd) Looks correct to me. Thanks. From schwab@suse.de Tue Oct 21 01:52:34 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-10.4 required=4.0 tests=AWL,BAYES_00,FOURLA, GAPPY_SUBJECT,HAS_BUG_NUMBER,RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1205) by emacsbugs.donarmstrong.com; 21 Oct 2008 08:52:34 +0000 Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9L8qUfi017573 for <1205@emacsbugs.donarmstrong.com>; Tue, 21 Oct 2008 01:52:32 -0700 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 9057646525; Tue, 21 Oct 2008 10:58:36 +0200 (CEST) From: Andreas Schwab To: Glenn Morris Cc: 1205@debbugs.gnu.org, Eli Zaretskii Subject: Re: bug#1205: 23.0.60; C-x RET c FOO C-x C-g signals an error References: X-Yow: YUGGA-HUGGA-BUGGA-TUGGA!! HEY-HEY!! A TRAIN STATION!! No, a POST OFFICE!! An OCEAN LINER!! No, I think it's a CAFETERIA!!! Date: Tue, 21 Oct 2008 10:52:29 +0200 In-Reply-To: (Glenn Morris's message of "Mon, 20 Oct 2008 22:50:46 -0400") Message-ID: User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Glenn Morris writes: > + (if (char-equal last-input-char ?\C-g) quit_char may not be C-g. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From geb-bug-gnu-emacs@m.gmane.org Tue Oct 21 19:43:12 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-9.2 required=4.0 tests=AWL,BAYES_00,FOURLA, GAPPY_SUBJECT,HAS_BUG_NUMBER,RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 22 Oct 2008 02:43:12 +0000 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 m9M2h7Ih025192 for ; Tue, 21 Oct 2008 19:43:09 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KsTgg-0005tN-Jy for bug-gnu-emacs@gnu.org; Tue, 21 Oct 2008 22:43:06 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KsTge-0005sX-Sp for bug-gnu-emacs@gnu.org; Tue, 21 Oct 2008 22:43:06 -0400 Received: from [199.232.76.173] (port=46775 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KsTge-0005sM-JL for bug-gnu-emacs@gnu.org; Tue, 21 Oct 2008 22:43:04 -0400 Received: from main.gmane.org ([80.91.229.2]:58392 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KsTge-0002O4-7D for bug-gnu-emacs@gnu.org; Tue, 21 Oct 2008 22:43:04 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KsTgU-0003UD-Ry for bug-gnu-emacs@gnu.org; Wed, 22 Oct 2008 02:42:54 +0000 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 02:42:54 +0000 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 02:42:54 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Kevin Rodgers Subject: Re: bug#1205: 23.0.60; C-x RET c FOO C-x C-g signals an error Date: Tue, 21 Oct 2008 20:42:58 -0600 Lines: 13 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Sender: news X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Andreas Schwab wrote: > Glenn Morris writes: > >> + (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? -- Kevin Rodgers Denver, Colorado, USA From drew.adams@oracle.com Tue Oct 21 22:18:08 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-8.1 required=4.0 tests=AWL,BAYES_00,FOURLA, GAPPY_SUBJECT,HAS_BUG_NUMBER,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 22 Oct 2008 05:18:08 +0000 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 m9M5I5PE031484 for ; Tue, 21 Oct 2008 22:18:06 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KsW6e-0007Ei-Do for bug-gnu-emacs@gnu.org; Wed, 22 Oct 2008 01:18:04 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KsW6c-0007Ce-6N for bug-gnu-emacs@gnu.org; Wed, 22 Oct 2008 01:18:03 -0400 Received: from [199.232.76.173] (port=60696 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KsW6b-0007CW-UJ for bug-gnu-emacs@gnu.org; Wed, 22 Oct 2008 01:18:01 -0400 Received: from agminet01.oracle.com ([141.146.126.228]:32317) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KsW6b-00051U-Fg for bug-gnu-emacs@gnu.org; Wed, 22 Oct 2008 01:18:01 -0400 Received: from agmgw2.us.oracle.com (agmgw2.us.oracle.com [152.68.180.213]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id m9M5HgJU012716; Wed, 22 Oct 2008 00:17:43 -0500 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 m9M5Hg08018129; Tue, 21 Oct 2008 23:17:42 -0600 Received: from dradamslap1 (/24.23.165.218) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 22 Oct 2008 05:17:42 +0000 From: "Drew Adams" To: "'Kevin Rodgers'" , <1205@debbugs.gnu.org>, References: Subject: RE: bug#1205: 23.0.60; C-x RET c FOO C-x C-g signals an error Date: Tue, 21 Oct 2008 22:17:51 -0700 Message-ID: <003901c93405$88750120$0200a8c0@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: Ackz8+bbNbYd4lpDTgG5cNNq1woS+gAEQnXg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 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.4-2.6 X-CrossAssassin-Score: 2 > >> + (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. From rgm@gnu.org Tue Oct 21 23:48:08 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-11.7 required=4.0 tests=AWL,BAYES_00,FOURLA, GAPPY_SUBJECT,HAS_BUG_NUMBER,RCVD_IN_DNSWL_MED,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1205-done) by emacsbugs.donarmstrong.com; 22 Oct 2008 06:48:08 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9M6m50d020829 for <1205-done@emacsbugs.donarmstrong.com>; Tue, 21 Oct 2008 23:48:06 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1KsXT9-0003XR-Cc; Wed, 22 Oct 2008 02:45:23 -0400 From: Glenn Morris To: 1205-done@debbugs.gnu.org Subject: Re: bug#1205: 23.0.60; C-x RET c FOO C-x C-g signals an error References: X-Spook: 22nd SAS Panama Verisign Uzbekistan sweep enforcers X-Ran: wTZ*$#9~0'm:OIP7K6L9R+J4\Q.0?gr9jDmfw-{{Z%9FlH-~0.!>f;j=d.UUa#^dEjh>S4 X-Hue: cyan X-Debbugs-No-Ack: yes X-Attribution: GM Date: Wed, 22 Oct 2008 02:45:23 -0400 In-Reply-To: (Kevin Rodgers's message of "Tue, 21 Oct 2008 20:42:58 -0600") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 2008-10-22 Glenn Morris * international/mule-cmds.el (universal-coding-system-argument): Check for C-g. (Bug#1205) From geb-bug-gnu-emacs@m.gmane.org Wed Oct 22 00:05:38 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-9.3 required=4.0 tests=AWL,BAYES_00,FOURLA, GAPPY_SUBJECT,HAS_BUG_NUMBER,RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 22 Oct 2008 07:05:38 +0000 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 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 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 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 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 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 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 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 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/ To: bug-gnu-emacs@gnu.org From: Kevin Rodgers Subject: Re: 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 Lines: 24 Message-ID: References: <003901c93405$88750120$0200a8c0@us.oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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> Sender: news 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) 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 From monnier@iro.umontreal.ca Wed Oct 22 08:00:39 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-8.4 required=4.0 tests=AWL,BAYES_00,FOURLA, GAPPY_SUBJECT,HAS_BUG_NUMBER,RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 22 Oct 2008 15:00:40 +0000 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 m9MF0ZlE014465 for ; Wed, 22 Oct 2008 08:00:37 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KsfCM-0005Pa-Oj for bug-gnu-emacs@gnu.org; Wed, 22 Oct 2008 11:00:34 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KsfCL-0005Ok-4P for bug-gnu-emacs@gnu.org; Wed, 22 Oct 2008 11:00:34 -0400 Received: from [199.232.76.173] (port=54044 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KsfCL-0005Oe-0i for bug-gnu-emacs@gnu.org; Wed, 22 Oct 2008 11:00:33 -0400 Received: from ironport2-out.pppoe.ca ([206.248.154.182]:30790 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KsfCK-0004f9-4L for bug-gnu-emacs@gnu.org; Wed, 22 Oct 2008 11:00:32 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjMHAEfd/khFxLrB/2dsb2JhbACBcivEMINPgQs X-IronPort-AV: E=Sophos;i="4.33,464,1220241600"; d="scan'208";a="28714987" Received: from 69-196-186-193.dsl.teksavvy.com (HELO pastel.home) ([69.196.186.193]) by ironport2-out.teksavvy.com with ESMTP; 22 Oct 2008 11:00:30 -0400 Received: by pastel.home (Postfix, from userid 20848) id DD5908101; Wed, 22 Oct 2008 11:00:29 -0400 (EDT) From: Stefan Monnier To: Kevin Rodgers Cc: 1205@debbugs.gnu.org, bug-gnu-emacs@gnu.org Subject: Re: bug#1205: 23.0.60; C-x RET c FOO C-x C-g signals an error Message-ID: References: <003901c93405$88750120$0200a8c0@us.oracle.com> Date: Wed, 22 Oct 2008 11:00:29 -0400 In-Reply-To: (Kevin Rodgers's message of "Wed, 22 Oct 2008 01:05:22 -0600") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. > 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. I believe the conclusion of thread is that we should keep doing it the simple way until either we remove the functionality or we fix all the code to support the functionality reliably. Stefan From drew.adams@oracle.com Wed Oct 22 09:21:05 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-8.1 required=4.0 tests=AWL,BAYES_00,FOURLA, GAPPY_SUBJECT,HAS_BUG_NUMBER,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 22 Oct 2008 16:21:05 +0000 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 m9MGL1KK002720 for ; Wed, 22 Oct 2008 09:21:02 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KsgSC-0003BV-4O for bug-gnu-emacs@gnu.org; Wed, 22 Oct 2008 12:21:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KsgS8-00037u-L5 for bug-gnu-emacs@gnu.org; Wed, 22 Oct 2008 12:20:59 -0400 Received: from [199.232.76.173] (port=33890 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KsgS8-00037j-2E for bug-gnu-emacs@gnu.org; Wed, 22 Oct 2008 12:20:56 -0400 Received: from rgminet01.oracle.com ([148.87.113.118]:59433) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KsgS7-0003Op-Bp for bug-gnu-emacs@gnu.org; Wed, 22 Oct 2008 12:20:55 -0400 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 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 Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 22 Oct 2008 09:20:37 -0700 From: "Drew Adams" To: "'Kevin Rodgers'" , <1205@debbugs.gnu.org>, References: <003901c93405$88750120$0200a8c0@us.oracle.com> Subject: RE: 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> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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.4-2.6 X-CrossAssassin-Score: 2 > >>>> + (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. From unknown Sat Aug 16 20:57:19 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Thu, 20 Nov 2008 15:24:04 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator From rgm@gnu.org Wed Jan 7 10:14:39 2009 Received: (at control) by emacsbugs.donarmstrong.com; 7 Jan 2009 18:14:39 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: *** X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=3.8 required=4.0 tests=MISSING_SUBJECT,NOSUBJECT, PHONENUMBER,VALID_BTS_CONTROL autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n07IEaLG004590 for ; Wed, 7 Jan 2009 10:14:38 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LKcuB-0007fP-G7; Wed, 07 Jan 2009 13:13:23 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18788.61635.416104.326747@fencepost.gnu.org> Date: Wed, 7 Jan 2009 13:13:23 -0500 From: Glenn Morris To: control severity 1729 minor reassign 1791 emacs,ns reassign 1801 emacs,ns reassign 1802 emacs,ns reassign 1803 emacs,ns reassign 1804 emacs,ns reassign 1815 spam unarchive 737 unarchive 1205 From rgm@gnu.org Wed Jan 7 10:48:32 2009 Received: (at control) by emacsbugs.donarmstrong.com; 7 Jan 2009 18:48:32 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=1.3 required=4.0 tests=MISSING_SUBJECT,NOSUBJECT, X_DEBBUGS_NO_ACK autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n07ImTmc013162 for ; Wed, 7 Jan 2009 10:48:31 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LKdQz-0000Ot-Ne; Wed, 07 Jan 2009 13:47:17 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18788.63669.679197.915562@fencepost.gnu.org> Date: Wed, 7 Jan 2009 13:47:17 -0500 From: Glenn Morris To: control X-Debbugs-No-Ack: yes forcemerge 1205 1817 From rgm@gnu.org Wed Jan 7 20:43:21 2009 Received: (at control) by emacsbugs.donarmstrong.com; 8 Jan 2009 04:43:21 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: ** X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=2.3 required=4.0 tests=MISSING_SUBJECT,NOSUBJECT, VALID_BTS_CONTROL autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n084hEWU001459 for ; Wed, 7 Jan 2009 20:43:16 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LKmiX-0001Ll-Eu; Wed, 07 Jan 2009 23:42:01 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18789.33817.377214.78032@fencepost.gnu.org> Date: Wed, 7 Jan 2009 23:42:01 -0500 From: Glenn Morris To: control reassign 1820 spam reassign 1822 spam reassign 1823 spam reassign 1825 spam unmerge 1817 retitle 1817 last-input-char severity 1817 minor reassign 1819 emacs,w32 From unknown Sat Aug 16 20:57:19 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Thu, 05 Feb 2009 15:24:14 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator