From unknown Wed Sep 10 20:08:14 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#10940 <10940@debbugs.gnu.org> To: bug#10940 <10940@debbugs.gnu.org> Subject: Status: Emacs 24: regression reading comma Reply-To: bug#10940 <10940@debbugs.gnu.org> Date: Thu, 11 Sep 2025 03:08:14 +0000 retitle 10940 Emacs 24: regression reading comma reassign 10940 emacs submitter 10940 Chris Leyon severity 10940 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 04 12:13:38 2012 Received: (at submit) by debbugs.gnu.org; 4 Mar 2012 17:13:38 +0000 Received: from localhost ([127.0.0.1]:32929 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S4F01-00040g-8s for submit@debbugs.gnu.org; Sun, 04 Mar 2012 12:13:38 -0500 Received: from eggs.gnu.org ([208.118.235.92]:58059) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S4Ezb-0003zp-PL for submit@debbugs.gnu.org; Sun, 04 Mar 2012 12:13:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S4Eyt-0006KH-FW for submit@debbugs.gnu.org; Sun, 04 Mar 2012 12:12:24 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:49100) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4Eyt-0006K6-AD for submit@debbugs.gnu.org; Sun, 04 Mar 2012 12:12:23 -0500 Received: from eggs.gnu.org ([208.118.235.92]:39683) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4EyZ-00009X-Bf for bug-gnu-emacs@gnu.org; Sun, 04 Mar 2012 12:12:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S4EyX-0006HW-IK for bug-gnu-emacs@gnu.org; Sun, 04 Mar 2012 12:12:02 -0500 Received: from mail-lpp01m010-f41.google.com ([209.85.215.41]:33731) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4EyX-0006HA-6U for bug-gnu-emacs@gnu.org; Sun, 04 Mar 2012 12:12:01 -0500 Received: by lagz14 with SMTP id z14so4797787lag.0 for ; Sun, 04 Mar 2012 09:11:58 -0800 (PST) Received-SPF: pass (google.com: domain of cleyon@gmail.com designates 10.112.29.200 as permitted sender) client-ip=10.112.29.200; Authentication-Results: mr.google.com; spf=pass (google.com: domain of cleyon@gmail.com designates 10.112.29.200 as permitted sender) smtp.mail=cleyon@gmail.com; dkim=pass header.i=cleyon@gmail.com Received: from mr.google.com ([10.112.29.200]) by 10.112.29.200 with SMTP id m8mr7977662lbh.44.1330881118343 (num_hops = 1); Sun, 04 Mar 2012 09:11:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=dgvaKctkC2AEUh21LIRDdSZFjf9KCojg8RHEtPj+U5g=; b=xQAEprU8GhfATB9DEkeqXgHPIuRaOSKch2TpK7OJRwfbP1oWWkOy1LMEx1XK/5wfow awH8C+f8V2WXkY4RYH8z7f2/sfLZ2yOnk9ne5WI1N7aC5m3bOfxnMW+C/02VQlp/3J8v cnhewt/tFJ01+Tcgs4OCAXoun5TCBAl2K7yMU1hMdPyE5CKlXwMngTYHlDOYs9Slzd2c UNhPp67F0ythHEK4QHSCVYUd1wNPkz63xAeBmwPjNDECmTRnhQ0BrbO0xjOwziuc6bI0 vwlrau3mGTA0iZhkhLOxE7wYzw3BQD446CFMdmexLD/1EcF/RWY02+fINn3K4qTFSDH2 ysJA== Received: by 10.112.29.200 with SMTP id m8mr6522023lbh.44.1330881118239; Sun, 04 Mar 2012 09:11:58 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.127.166 with HTTP; Sun, 4 Mar 2012 09:11:28 -0800 (PST) From: Chris Leyon Date: Sun, 4 Mar 2012 12:11:28 -0500 Message-ID: Subject: Emacs 24: regression reading comma To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) In Emacs 23, the lisp reader correctly parses a comma when reading an event modifier, as in the following example specifying the character C-, (global-set-key [(control ,)] 'my-command) The Emacs 24 reader gives the following error when parsing the same expression: Invalid read syntax: ) From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 04 21:48:46 2012 Received: (at 10940) by debbugs.gnu.org; 5 Mar 2012 02:48:46 +0000 Received: from localhost ([127.0.0.1]:33232 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S4Nyf-0000v6-JY for submit@debbugs.gnu.org; Sun, 04 Mar 2012 21:48:45 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.183]:29446) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S4NyJ-0000ub-JH for 10940@debbugs.gnu.org; Sun, 04 Mar 2012 21:48:34 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AicFAKU/KE9FxJvl/2dsb2JhbACBX5x7eYhwnhmGGQSGUJRJhAs X-IronPort-AV: E=Sophos;i="4.73,1,1325480400"; d="scan'208";a="165930258" Received: from 69-196-155-229.dsl.teksavvy.com (HELO pastel.home) ([69.196.155.229]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 04 Mar 2012 21:47:37 -0500 Received: by pastel.home (Postfix, from userid 20848) id 45C38596F8; Sun, 4 Mar 2012 21:47:36 -0500 (EST) From: Stefan Monnier To: Chris Leyon Subject: Re: bug#10940: Emacs 24: regression reading comma Message-ID: References: Date: Sun, 04 Mar 2012 21:47:36 -0500 In-Reply-To: (Chris Leyon's message of "Sun, 4 Mar 2012 12:11:28 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 10940 Cc: 10940@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > In Emacs 23, the lisp reader correctly parses a comma when reading an > event modifier, as in the following example specifying the character > C-, > (global-set-key [(control ,)] 'my-command) You did not realize, but the above relies on the old-style backquote syntax, which has been further phased out (it's been obsolete for a very long time now). So now (control ,) fails in the same way as (control '). Use [(control ?,)] or [(control \,)] instead (which will work for older emacsen as well). Stefan From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 04 22:15:02 2012 Received: (at 10940) by debbugs.gnu.org; 5 Mar 2012 03:15:02 +0000 Received: from localhost ([127.0.0.1]:33288 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S4OO5-0001XA-Dd for submit@debbugs.gnu.org; Sun, 04 Mar 2012 22:15:01 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:53128) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S4ONs-0001Wl-Ai for 10940@debbugs.gnu.org; Sun, 04 Mar 2012 22:14:49 -0500 Received: from bb116-14-103-36.singnet.com.sg ([116.14.103.36]:56463 helo=furball) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1S4ON6-0006k7-So; Sun, 04 Mar 2012 22:14:01 -0500 From: Chong Yidong To: Stefan Monnier Subject: Re: bug#10940: Emacs 24: regression reading comma References: Date: Mon, 05 Mar 2012 11:13:53 +0800 In-Reply-To: (Stefan Monnier's message of "Sun, 04 Mar 2012 21:47:36 -0500") Message-ID: <877gyzd9ji.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: 10940 Cc: 10940@debbugs.gnu.org, Chris Leyon X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) Stefan Monnier writes: >> In Emacs 23, the lisp reader correctly parses a comma when reading an >> event modifier, as in the following example specifying the character >> C-, >> (global-set-key [(control ,)] 'my-command) > > You did not realize, but the above relies on the old-style backquote > syntax, which has been further phased out (it's been obsolete for a very > long time now). So now (control ,) fails in the same way as (control > '). Use [(control ?,)] or [(control \,)] instead (which will work for > older emacsen as well). I've added a note to etc/NEWS about this. From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 04 22:15:12 2012 Received: (at control) by debbugs.gnu.org; 5 Mar 2012 03:15:12 +0000 Received: from localhost ([127.0.0.1]:33292 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S4OOG-0001XZ-3Z for submit@debbugs.gnu.org; Sun, 04 Mar 2012 22:15:12 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:53131) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S4OO3-0001Ww-9V for control@debbugs.gnu.org; Sun, 04 Mar 2012 22:14:59 -0500 Received: from bb116-14-103-36.singnet.com.sg ([116.14.103.36]:56466 helo=furball) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1S4ONJ-00079M-0S for control@debbugs.gnu.org; Sun, 04 Mar 2012 22:14:13 -0500 From: Chong Yidong To: control@debbugs.gnu.org Subject: close 10940 Date: Mon, 05 Mar 2012 11:14:07 +0800 Message-ID: <87boobviww.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) close 10940 thanks From unknown Wed Sep 10 20:08:14 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 02 Apr 2012 11:24:02 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 01 19:24:49 2014 Received: (at control) by debbugs.gnu.org; 1 Oct 2014 23:24:49 +0000 Received: from localhost ([127.0.0.1]:57838 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XZTGL-0005zp-3e for submit@debbugs.gnu.org; Wed, 01 Oct 2014 19:24:49 -0400 Received: from world.peace.net ([96.39.62.75]:44967) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XZTGJ-0005zb-1K for control@debbugs.gnu.org; Wed, 01 Oct 2014 19:24:47 -0400 Received: from c-24-62-95-23.hsd1.ma.comcast.net ([24.62.95.23] helo=jojen) by world.peace.net with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1XZTGD-0002K2-EJ; Wed, 01 Oct 2014 19:24:41 -0400 From: Mark H Weaver To: control@debbugs.gnu.org Date: Wed, 01 Oct 2014 19:24:39 -0400 Message-ID: <8761g3bcg8.fsf@netris.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: severity 10492 minor severity 10940 minor severity 17941 minor severity 18477 important severity 18520 wishlist thanks [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: severity 10492 minor severity 10940 minor severity 17941 minor severity 18477 important severity 18520 wishlist thanks [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject severity 10492 minor severity 10940 minor severity 17941 minor severity 18477 important severity 18520 wishlist thanks