From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Bug#435452: emacs22: `set-keyboard-coding-system' fails in non-X11 mode] Date: Fri, 31 Aug 2007 10:36:16 -0400 Message-ID: References: <87y7fvbp6r.fsf_-_@gmx.de> <87hcmi2jj8.fsf@chbouib.org> <87hcmgwxna.fsf@chbouib.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1188570996 10475 80.91.229.12 (31 Aug 2007 14:36:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 31 Aug 2007 14:36:36 +0000 (UTC) Cc: rms@gnu.org, Kenichi Handa , ludovic.courtes@laas.fr, emacs-devel@gnu.org, 435452@bugs.debian.org, svenjoac@gmx.de To: ludo@chbouib.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 31 16:36:31 2007 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 1IR7bo-0000YV-Ob for ged-emacs-devel@m.gmane.org; Fri, 31 Aug 2007 16:36:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IR7bo-00089m-5O for ged-emacs-devel@m.gmane.org; Fri, 31 Aug 2007 10:36:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IR7bk-00089N-KO for emacs-devel@gnu.org; Fri, 31 Aug 2007 10:36:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IR7bi-00089A-Bq for emacs-devel@gnu.org; Fri, 31 Aug 2007 10:36:23 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IR7bi-000893-5u for emacs-devel@gnu.org; Fri, 31 Aug 2007 10:36:22 -0400 Original-Received: from x-132-204-254-24.xtpr.umontreal.ca ([132.204.254.24] helo=ceviche.home) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IR7bf-0008Iv-4U; Fri, 31 Aug 2007 10:36:19 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id E358DB462C; Fri, 31 Aug 2007 10:36:16 -0400 (EDT) In-Reply-To: <87hcmgwxna.fsf@chbouib.org> ("Ludovic =?iso-8859-1?Q?Court?= =?iso-8859-1?Q?=E8s=22's?= message of "Thu\, 30 Aug 2007 22\:55\:05 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-Detected-Kernel: Linux 2.6 (newer, 3) 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:77492 Archived-At: > Typing M-x yields the `=F8' ("o slash") character instead of running > `execute-extended-command'. This is because your terminal sends the exact same byte sequence (in this case it's actually a single byte) when you type M-x as when you type =F8, so Emacs has no way to distinguish the two: it chooses to interpret the byte as =F8 here (which messes up the M-x case) and you could tell it to interpret = it as M-x (which would mess up the =F8 case). >>> 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. Indeed, that's the right solution because it tells your Terminal to use different byte-sequences for the two different cases. Stefan