From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org, ?=@murphy.debian.org (Ludovic =?UTF-8?Q?Court=C3=A8s) Newsgroups: gmane.linux.debian.devel.bugs.general,gmane.emacs.devel Subject: Bug#435452: emacs22: `set-keyboard-coding-system' fails in non-X11 mode] Date: Wed, 29 Aug 2007 22:05:47 +0200 Message-ID: <87hcmi2jj8.fsf@chbouib.org> References: <87y7fvbp6r.fsf_-_@gmx.de> Reply-To: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s), ?=@murphy.debian.org, 435452@bugs.debian.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1188418268 17904 80.91.229.12 (29 Aug 2007 20:11:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 29 Aug 2007 20:11:08 +0000 (UTC) Cc: Ludovic Courtes , 435452@bugs.debian.org, rms@gnu.org, emacs-devel@gnu.org, handa@m17n.org To: Sven Joachim Original-X-From: bounce-debian-bugs-dist=glddb-debian-bugs-dist=m.gmane.org@lists.debian.org Wed Aug 29 22:11:06 2007 Return-path: Envelope-to: glddb-debian-bugs-dist@m.gmane.org Original-Received: from murphy.debian.org ([70.103.162.31]) by lo.gmane.org with esmtp (Exim 4.50) id 1IQTs7-0002wV-QA for glddb-debian-bugs-dist@m.gmane.org; Wed, 29 Aug 2007 22:10:40 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by murphy.debian.org (Postfix) with QMQP id 39AD72DFCB; Wed, 29 Aug 2007 20:16:46 +0000 (UTC) Old-Return-Path: Original-Received: from rietz.debian.org (rietz.debian.org [140.211.166.43]) by murphy.debian.org (Postfix) with ESMTP id 0AB472DDD0; Wed, 29 Aug 2007 20:16:46 +0000 (UTC) Original-Received: from debbugs by rietz.debian.org with local (Exim 4.50) id 1IQTqY-0008My-PK; Wed, 29 Aug 2007 20:09:02 +0000 X-Loop: owner@bugs.debian.org Resent-From: ludo@gnu.org, ?=@murphy.debian.org (Ludovic =?UTF-8?Q?Court=C3=A8s) Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: Rob Browning Resent-Date: Wed, 29 Aug 2007 20:09:02 +0000 Resent-Message-ID: X-Debian-PR-Message: report 435452 X-Debian-PR-Package: emacs22 X-Debian-PR-Keywords: X-Debian-PR-Source: emacs22 Original-Received: via spool by 435452-submit@bugs.debian.org id=B435452.118841798031260 (code B ref 435452); Wed, 29 Aug 2007 20:09:02 +0000 Original-Received: (at 435452) by bugs.debian.org; 29 Aug 2007 20:06:20 +0000 Original-Received: from solo.fdn.fr ([80.67.169.19]) by rietz.debian.org with esmtp (Exim 4.50) id 1IQTnv-00087y-Id for 435452@bugs.debian.org; Wed, 29 Aug 2007 20:06:19 +0000 Original-Received: from localhost.localdomain (adh419.fdn.fr [80.67.176.9]) by smtp.fdn.fr (Postfix) with ESMTP id 345CE4304CE; Wed, 29 Aug 2007 22:06:17 +0200 (CEST) Original-Received: by localhost.localdomain (Postfix, from userid 1000) id ED57CEC164; Wed, 29 Aug 2007 22:05:47 +0200 (CEST) X-URL: http://www.laas.fr/~lcourtes/ X-PGP-Key-ID: 0xEB1F5364 X-PGP-Key: http://www.laas.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 821D 815D 902A 7EAB 5CEE D120 7FBA 3D4F EB1F 5364 X-OS: i486-pc-linux-gnu In-Reply-To: <87y7fvbp6r.fsf_-_@gmx.de> (Sven Joachim's message of "Tue\, 28 Aug 2007 18\:26\:36 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 (1.212-2003-09-23-exp) on rietz.debian.org X-Spam-Level: X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER autolearn=no version=2.60-bugs.debian.org_2005_01_02 Resent-Date: Wed, 29 Aug 2007 20:09:02 +0000 X-Rc-Virus: 2006-10-25_01 X-Rc-Spam: 2007-05-24_01 X-Mailing-List: X-Loop: debian-bugs-dist@lists.debian.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: debian-bugs-dist-request@lists.debian.org Xref: news.gmane.org gmane.linux.debian.devel.bugs.general:296437 gmane.emacs.devel:77358 Archived-At: Hi, Sven Joachim writes: >>> Invoking `set-keyboard-coding-system' in an "emacs -nw" session fails. >>> For instance, asking it `no-conversion' (which is needed so that dead >>> keys work as expected) fails: >> >>> Unsupported coding system in Encoded-kbd mode: no-conversion >> >> I don't understand why you have to set >> keyboard-coding-system to no-conversion for dead keys. Dead >> keys must be handled by terminal, and Emacs just receives >> the resulting character (encoded in your locale) from the >> terminal. So, setting keyboard-coding-system to what is >> appropriate for your locale should work well, and that >> should be done automatically. Indeed, using "C" as my locale fixes the problem (I used to have "LC_CTYPE=fr_FR"). Strangely enough, Emacs 21.4.1 with "LC_CTYPE=fr_FR" doesn't have the problem (i.e., dead keys are usable). Checking the "Meta Sends Escape" box of the xterm in which I run Emacs 22 also fixes the problem, even with a non-C locale. I guess I'm just displaying my lack of familiarity with how terminals work... >> What other choices were tried? utf-8, latin-X should all >> work. What is your locale? With a "C" locale, utf-8, latin-1, and others are accepted, whereas `no-conversion' yields the above error message. Thanks, Ludovic.