From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: terminal Date: Sun, 26 Mar 2006 23:20:37 -0500 Organization: Bell Sympatico Message-ID: <87wtegjziq.fsf-monnier+gnu.emacs.help@gnu.org> References: <1143373355.569148.162370@i39g2000cwa.googlegroups.com> <87psk9f8p9.fsf@thalassa.informatimago.com> <1143401462.811473.168640@u72g2000cwu.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1143434429 20456 80.91.229.2 (27 Mar 2006 04:40:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 27 Mar 2006 04:40:29 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 27 06:40:27 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FNjWj-00007Q-Q4 for geh-help-gnu-emacs@m.gmane.org; Mon, 27 Mar 2006 06:40:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FNjWj-0005nY-2c for geh-help-gnu-emacs@m.gmane.org; Sun, 26 Mar 2006 23:40:25 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!nf3.bellglobal.com!nf1.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:XT+7pTCGFWDS+g4IbHkcBcbvPKM= Original-Lines: 19 Original-NNTP-Posting-Host: 70.55.143.15 Original-X-Complaints-To: abuse@sympatico.ca Original-X-Trace: news20.bellglobal.com 1143433238 70.55.143.15 (Sun, 26 Mar 2006 23:20:38 EST) Original-NNTP-Posting-Date: Sun, 26 Mar 2006 23:20:38 EST Original-Xref: shelby.stanford.edu gnu.emacs.help:138395 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:33996 Archived-At: > I try to use M-x keyboard-coding-system command on minibuffer, switching > to iso-latin-1 or iso-8859-1 charset. It works for accented chars but now > alt is not recognized as meta key (it prints a strange symbol, like > a diameter). IIUC the problem is that you're using a terminal that's badly configured, so it uses the 8th bit of data both for accented chars and for the meta-bit. So M-i sends the exact same code (i.e. 233, aka E9) as é, so clearly Emacs can't tell which was meant. You have to change your terminal's settings so that it sends the meta bit differently (typically by turning it into an ESC char such that M-i doesn't send a single 233 byte but two bytes (27 and 105, corresponding to ESC and i). While you're at it, please repot this problem to whoever configured your terminal (e.g. your distribution, or the original author). Stefan