From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Herbert Euler Newsgroups: gmane.emacs.devel Subject: recognization Date: Thu, 2 Jul 2009 14:04:46 +0800 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_0cc991c8-6667-4ea4-9a06-d21a0f1ceb56_" X-Trace: ger.gmane.org 1246514710 1994 80.91.229.12 (2 Jul 2009 06:05:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 Jul 2009 06:05:10 +0000 (UTC) To: Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 02 08:05:03 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MMFPq-0003Mv-Ir for ged-emacs-devel@m.gmane.org; Thu, 02 Jul 2009 08:05:03 +0200 Original-Received: from localhost ([127.0.0.1]:52142 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MMFPp-0006be-Sp for ged-emacs-devel@m.gmane.org; Thu, 02 Jul 2009 02:05:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MMFPi-0006Y8-CA for emacs-devel@gnu.org; Thu, 02 Jul 2009 02:04:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MMFPc-0006Ms-H2 for emacs-devel@gnu.org; Thu, 02 Jul 2009 02:04:53 -0400 Original-Received: from [199.232.76.173] (port=37394 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MMFPb-0006MW-V4 for emacs-devel@gnu.org; Thu, 02 Jul 2009 02:04:48 -0400 Original-Received: from bay0-omc2-s37.bay0.hotmail.com ([65.54.246.173]:11627) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MMFPb-0008Cw-Ec for emacs-devel@gnu.org; Thu, 02 Jul 2009 02:04:47 -0400 Original-Received: from BAY143-W11 ([65.55.154.46]) by bay0-omc2-s37.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 1 Jul 2009 23:04:46 -0700 X-Originating-IP: [124.127.101.0] Importance: Normal X-OriginalArrivalTime: 02 Jul 2009 06:04:46.0524 (UTC) FILETIME=[003847C0:01C9FADB] X-detected-operating-system: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:111892 Archived-At: --_0cc991c8-6667-4ea4-9a06-d21a0f1ceb56_ Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 8bit I find the key is recognized differently before and after evaluating (set-keyboard-coding-system 'utf-8) in today's updated version of Emacs. Before evaluating that, it is recognized as RET; after that, it is then recognized as C-j. Evaluating (set-keyboard-coding-system nil) is one way to make be recognized as RET again. This change breaks several modes' behaviors. How to avoid such things happenning? Thanks. Regards, Guanpeng Xu _________________________________________________________________ Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us --_0cc991c8-6667-4ea4-9a06-d21a0f1ceb56_ Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: 8bit I find the <Enter> key is recognized differently before and after
evaluating

  (set-keyboard-coding-system 'utf-8)

in today's updated version of Emacs.  Before evaluating that, it is
recognized as RET; after that, it is then recognized as C-j.
Evaluating

  (set-keyboard-coding-system nil)

is one way to make <Enter> be recognized as RET again.

This change breaks several modes' behaviors.  How to avoid such
things happenning?  Thanks.

Regards,
Guanpeng Xu

Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! Try it! --_0cc991c8-6667-4ea4-9a06-d21a0f1ceb56_-- From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: recognization Date: Thu, 02 Jul 2009 15:44:48 +0900 Message-ID: References: NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1246517126 7424 80.91.229.12 (2 Jul 2009 06:45:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 Jul 2009 06:45:26 +0000 (UTC) Cc: emacs-devel@gnu.org To: Herbert Euler Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 02 08:45:19 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MMG2o-0007rp-GV for ged-emacs-devel@m.gmane.org; Thu, 02 Jul 2009 08:45:18 +0200 Original-Received: from localhost ([127.0.0.1]:38773 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MMG2n-0008B8-U3 for ged-emacs-devel@m.gmane.org; Thu, 02 Jul 2009 02:45:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MMG2X-00080a-Fz for emacs-devel@gnu.org; Thu, 02 Jul 2009 02:45:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MMG2T-0007zN-Ra for emacs-devel@gnu.org; Thu, 02 Jul 2009 02:45:01 -0400 Original-Received: from [199.232.76.173] (port=48106 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MMG2T-0007zK-Pn for emacs-devel@gnu.org; Thu, 02 Jul 2009 02:44:57 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:45075) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MMG2T-0006K7-9T for emacs-devel@gnu.org; Thu, 02 Jul 2009 02:44:57 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MMG2S-0004vL-A6 for emacs-devel@gnu.org; Thu, 02 Jul 2009 02:44:56 -0400 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id n626im6T028684; Thu, 2 Jul 2009 15:44:48 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp2.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id n626imHJ023383; Thu, 2 Jul 2009 15:44:48 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp2.aist.go.jp with ESMTP id n626imkS022176; Thu, 2 Jul 2009 15:44:48 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 4.69) (envelope-from ) id 1MMG2K-0006aJ-3E; Thu, 02 Jul 2009 15:44:48 +0900 In-reply-to: (message from Herbert Euler on Thu, 2 Jul 2009 14:04:46 +0800) X-Detected-Operating-System: by mx20.gnu.org: Solaris 9 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:111895 Archived-At: In article , Herbert Euler writes: > I find the key is recognized differently before and after > evaluating > (set-keyboard-coding-system 'utf-8) Oops, I've just installed this fix. 2009-07-02 Kenichi Handa * international/mule.el (set-keyboard-coding-system): Force *-unix coding-system to avoid eol conversion. --- Kenichi Handa handa@m17n.org