From debbugs-submit-bounces@debbugs.gnu.org Thu May 27 23:19:04 2010 Received: (at submit) by debbugs.gnu.org; 28 May 2010 03:19:04 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OHq6B-0001m9-Q3 for submit@debbugs.gnu.org; Thu, 27 May 2010 23:19:04 -0400 Received: from mail-gw0-f44.google.com ([74.125.83.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OHp6l-0001Mu-7d for submit@debbugs.gnu.org; Thu, 27 May 2010 22:15:35 -0400 Received: by gwj19 with SMTP id 19so512451gwj.3 for ; Thu, 27 May 2010 19:15:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=iX+GHdpOqhLCtdRgFPdCTiE0lX6FxKvNGEDDVgpki9g=; b=slNfrZGtqFQZHtHF3bBPHuGbiG2+6n2N13nMq96XVvFfdlMhCTzyRRi4xn0bDTjBpR k6TsOxoPJZiBfliN5G77RP/tLW3RQ4yCv7DLFsYvt8lOv0kk076eM2mhuA+2GYY1Rgij TsiWuQGrKMHJaf+/9JFVinE9eThlF+MJ2cxrQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=DiKfqwnEUyIaH3ywGEFzO1pvh5neBa0LFg9iozni5x15x3sWdlIIuJ0JmA/XO0BNUo oq20AJzLHDFjdL8Hq5PuLLVwfgIbO5AFkyt0nEozlaJUvsVUwOTpCE4CApgmNht+fZ2Z A9jn2jFo3cMqscQz78TrfkAmYlIU0D4nTSOgw= MIME-Version: 1.0 Received: by 10.91.161.22 with SMTP id n22mr409215ago.91.1275012931371; Thu, 27 May 2010 19:15:31 -0700 (PDT) Received: by 10.90.63.16 with HTTP; Thu, 27 May 2010 19:15:31 -0700 (PDT) Date: Fri, 28 May 2010 10:15:31 +0800 Message-ID: Subject: Emacs command `quoted-insert' don't discard RET From: Li Zhai To: submit@debbugs.gnu.org Content-Type: multipart/alternative; boundary=0016e6407afedbc3be04879e1481 X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 27 May 2010 23:19:02 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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: -2.6 (--) --0016e6407afedbc3be04879e1481 Content-Type: text/plain; charset=ISO-8859-1 Package: Emacs Version: 24.0.50.1 When I invoke the command `C-q' to insert some char with character code (C-q 6 0 RET). The documents said the last RET will be discarded, but it doesn't. The last RET inserted to the buffers. I tried to do the same thing in Emacs 23.2, there is no problem. I debugged the function `read-quoted-char' and I found these (let ((translation (lookup-key local-function-key-map (vector char)))) (if (arrayp translation) (setq translated (aref translation 0)))) (setq translated (if (integerp char) (char-resolve-modifiers char) char)) two sexps are transposed in the Emacs 24. In the Emacs 23.2, is (setq translated (if (integerp char) (char-resolve-modifiers char) char)) (let ((translation (lookup-key local-function-key-map (vector char)))) (if (arrayp translation) (setq translated (aref translation 0)))) When I transposed these two sexps to make the code same as the Emacs23.2, the problem is gone. Bye, Li Zhai --0016e6407afedbc3be04879e1481 Content-Type: text/html; charset=ISO-8859-1
Package: Emacs
Version: 24.0.50.1

When I invoke the command `C-q' to insert some char with character code (C-q 6 0 RET).
The documents said the last RET will be discarded, but it doesn't. The last RET
inserted to the buffers. I tried to do the same thing in Emacs 23.2, there is no problem.
I debugged the function `read-quoted-char' and I found these

(let ((translation (lookup-key local-function-key-map (vector char))))
(if (arrayp translation)
(setq translated (aref translation 0))))
(setq translated
(if (integerp char)
(char-resolve-modifiers char)
char))

two sexps are transposed in the Emacs 24.

In the Emacs 23.2, is

(setq translated
(if (integerp char)
(char-resolve-modifiers char)
char))
(let ((translation (lookup-key local-function-key-map (vector char))))
(if (arrayp translation)
(setq translated (aref translation 0))))

When I transposed these two sexps to make the code same as the Emacs23.2, the problem is gone.


Bye,

Li Zhai

--0016e6407afedbc3be04879e1481-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 16 23:38:09 2010 Received: (at 6290) by debbugs.gnu.org; 17 Jun 2010 03:38:09 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OP5vc-0004Di-PS for submit@debbugs.gnu.org; Wed, 16 Jun 2010 23:38:08 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OP5vb-0004DW-0v for 6290@debbugs.gnu.org; Wed, 16 Jun 2010 23:38:07 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAHc1GUxFxISg/2dsb2JhbACecXK/M4UaBI0R X-IronPort-AV: E=Sophos;i="4.53,429,1272859200"; d="scan'208";a="68207689" Received: from 69-196-132-160.dsl.teksavvy.com (HELO pastel.home) ([69.196.132.160]) by ironport2-out.pppoe.ca with ESMTP; 16 Jun 2010 23:38:03 -0400 Received: by pastel.home (Postfix, from userid 20848) id 3139D7F26; Wed, 16 Jun 2010 23:38:02 -0400 (EDT) From: Stefan Monnier To: Li Zhai Subject: Re: bug#6290: Emacs command `quoted-insert' don't discard RET Message-ID: References: Date: Wed, 16 Jun 2010 23:38:02 -0400 In-Reply-To: (Li Zhai's message of "Fri, 28 May 2010 10:15:31 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 6290 Cc: 6290@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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: -2.1 (--) > When I invoke the command `C-q' to insert some char with character > code (C-q 6 0 RET). The documents said the last RET will be > discarded, but it doesn't. The last RET inserted to the > buffers. I tried to do the same thing in Emacs 23.2, there is > no problem. I've installed a fix in the emacs-23 branch, which should make its way to the trunk soonish. Please confirm when you see it's fixed. Stefan From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 18 14:26:20 2010 Received: (at control) by debbugs.gnu.org; 18 Jun 2010 18:26:21 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OPgGh-0005ZW-Q2 for submit@debbugs.gnu.org; Fri, 18 Jun 2010 14:26:20 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OPgGg-0005ZR-DD for control@debbugs.gnu.org; Fri, 18 Jun 2010 14:26:18 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmgFAI5XG0xLd+Hj/2dsb2JhbACScIwicsMEhRsEjRg X-IronPort-AV: E=Sophos;i="4.53,440,1272859200"; d="scan'208";a="68370671" Received: from 75-119-225-227.dsl.teksavvy.com (HELO pastel.home) ([75.119.225.227]) by ironport2-out.pppoe.ca with ESMTP; 18 Jun 2010 14:26:13 -0400 Received: by pastel.home (Postfix, from userid 20848) id 4EF467F26; Fri, 18 Jun 2010 14:26:13 -0400 (EDT) From: Stefan Monnier To: control@debbugs.gnu.org Subject: Re: bug#6456: 24.0.50; quoted-insert not working properly for many keys Message-ID: References: <87d3vo68sr.fsf@leeloo.anubex.internal> Date: Fri, 18 Jun 2010 14:26:13 -0400 In-Reply-To: <87d3vo68sr.fsf@leeloo.anubex.internal> (Tim Van Holder's message of "Fri, 18 Jun 2010 10:31:48 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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: -2.0 (--) forcemerge 6290 6456 thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 16 03:12:28 2010 Received: (at 6290) by debbugs.gnu.org; 16 Jul 2010 07:12:28 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OZf5v-00013O-FH for submit@debbugs.gnu.org; Fri, 16 Jul 2010 03:12:27 -0400 Received: from mail-pv0-f172.google.com ([74.125.83.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OZf5t-00013J-My for 6290@debbugs.gnu.org; Fri, 16 Jul 2010 03:12:26 -0400 Received: by pvd12 with SMTP id 12so691677pvd.3 for <6290@debbugs.gnu.org>; Fri, 16 Jul 2010 00:12:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=JyGmGlalHo9/oCqPmCGsi5R8WNK0t/EpnJs1YHlDKrY=; b=lKHkLQJvnrmtE9S/DSqpaFSURRWEvPAXZ9bdw/IiMqJ4JxiYRzFtcvyrjXbNc2xrcx QyZWQBg4W6X7EVhk29L4MePrlPns+O5jl9pHVhuQdTU5x37yAB85IeevkhMdjidakYih pVhlRgcMSarRqxe9ORaoJXibyuVz1fgY+oYcc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=kY5RYOluMCmbZPimSuly7Nhj/j0i2zU36rq3CthA/bcS4XTojoWwYLzjQASUSe0xxw ojznawnjy0btVlHJfH1p1fJNzdnrCDOH80ckq7DYp7S48ILdILNn/bKyTz5CDhI1QU5B i/7/vaFeaFOF3nef52CHhrHyfPpnPAVy4xSmI= MIME-Version: 1.0 Received: by 10.142.164.14 with SMTP id m14mr852819wfe.152.1279264355998; Fri, 16 Jul 2010 00:12:35 -0700 (PDT) Received: by 10.142.125.6 with HTTP; Fri, 16 Jul 2010 00:12:35 -0700 (PDT) In-Reply-To: References: Date: Fri, 16 Jul 2010 15:12:35 +0800 Message-ID: Subject: Re: bug#6290: Emacs command `quoted-insert' don't discard RET From: Li Zhai To: 6290@debbugs.gnu.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 6290 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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: -2.6 (--) Bug is fixed in Emacs trunk. On Thu, Jun 17, 2010 at 11:38 AM, Stefan Monnier wrote: >> When I invoke the command `C-q' to insert some char with character >> code (C-q 6 0 RET). =A0The documents said the last RET will be >> discarded, but it doesn't. The last RET inserted to the >> buffers. I tried to do the same thing in Emacs 23.2, there is >> no problem. > > I've installed a fix in the emacs-23 branch, which should make its way > to the trunk soonish. =A0Please confirm when you see it's fixed. > > > =A0 =A0 =A0 =A0Stefan > From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 16 11:57:17 2010 Received: (at control) by debbugs.gnu.org; 16 Jul 2010 15:57:17 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OZnHo-0006fG-Md for submit@debbugs.gnu.org; Fri, 16 Jul 2010 11:57:17 -0400 Received: from pantheon-po23.its.yale.edu ([130.132.50.117]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OZnHn-0006f9-9v for control@debbugs.gnu.org; Fri, 16 Jul 2010 11:57:15 -0400 Received: from furry (dhcp128036014221.central.yale.edu [128.36.14.221]) (authenticated bits=0) by pantheon-po23.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o6GFvTIL022484 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 16 Jul 2010 11:57:29 -0400 Received: by furry (Postfix, from userid 1000) id 15AE7C013; Fri, 16 Jul 2010 11:57:29 -0400 (EDT) From: Chong Yidong To: control@debbugs.gnu.org Subject: close 6290 Date: Fri, 16 Jul 2010 11:57:29 -0400 Message-ID: <87aapra07q.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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: -2.7 (--) close 6290 thanks From unknown Mon Aug 18 02:31:18 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 14 Aug 2010 11:24:03 +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