From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jean Magnan de Bornier Newsgroups: gmane.emacs.help Subject: Re: accents in xterm emacs Date: Thu, 30 Jan 2003 19:23:01 +0100 Organization: Guest of ProXad - France Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87vg06wl8a.fsf@bornier.net> References: <87hebrekye.fsf@bornier.net> <87bs1zfwp5.fsf@kuntu.zangpo.org> <87y953pow1.fsf@bornier.net> <5l4r7q7i00.fsf@rum.cs.yale.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1043951522 4404 80.91.224.249 (30 Jan 2003 18:32:02 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 30 Jan 2003 18:32:02 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18eJTj-00018Z-00 for ; Thu, 30 Jan 2003 19:31:59 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18eJTT-0000Yc-00 for gnu-help-gnu-emacs@m.gmane.org; Thu, 30 Jan 2003 13:31:43 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!syros.belnet.be!news.belnet.be!fr.usenet-edu.net!usenet-edu.net!wanadoo.fr!proxad.net!feeder2-1.proxad.net!news2-2.free.fr!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i386-debian-linux-gnu) Cancel-Lock: sha1:Payc5OxvuRNsVtOdJq3tXoGdAFE= Original-Lines: 48 Original-NNTP-Posting-Date: 30 Jan 2003 19:30:04 MET Original-NNTP-Posting-Host: 62.147.114.108 Original-X-Trace: 1043951404 news2-2.free.fr 258 62.147.114.108:1297 Original-X-Complaints-To: abuse@proxad.net Original-Xref: shelby.stanford.edu gnu.emacs.help:109596 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:6110 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:6110 "Stefan Monnier " a écrit notamment: >>> Try 'TERM=linux && emacs -nw'. >> Yes, this solves my problem number one, > > Huh !? Does anybody know why this works ? > I thought that C-x RET k (aka set-keyboard-coding-system) was unavoidable. > >> accented letters can be read within gnus). Besides I lose my "M" key, >> which is kind of disturbing in emacs ;). I could not find it anywhere else. > > Maybe your terminal sends the same code for M-i as for é, in which > case you'll first need to figure out how to tell it to send different > codes so that Emacs can tell the difference. > Usually, terminals can be configured to turn the meta key into an ESC > prefix (which is Emacs understands automatically). See the metaSendsEscape > and the eightBitInput resources of your xterm. > > > Stefan OK I will describe all the symptoms of what happens with my "emacs21 -nw"; my default coding is iso-8859-15. When I start emacs in xterm, the special characters become: é: TAB è: go to next paragraph ç: message in modeline "set face" à: same as "F10" If the I type C-X ret k I have the message to set coding system, with "default: iso-latin-9" I just hit return and then my special characters are back, and to obtain M-X I have to type ESC-X (M-X makes the phi small letter). When in gnus I still cannot see special char, but all what I described before works in gnus as in other programs. Typing C-X ret t has the following effect: modeline proposes to set coding with default nil; I hit enter and do it again, and then the proposal is "default iso-latin-9", I hit enter again and *nothing* is changed !! Sorry to be so long and curious but I find this strange... Thanks for any hint that would make emacs work as expected without setting coding again each time, CU -- Jean Magnan de Bornier Faculté d'Économie Appliquée Université Aix-Marseille 3 et GREQAM 15-19 Allée Claude Forbin 13627 Aix-en-Provence cedex 1 France http://junon.u-3mrs.fr/afa10w40