unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Pascal Bourguignon <spam@mouse-potato.com>
Subject: Re: Non-ASCII characters Key binding (emacs 21.4)
Date: Wed, 19 Oct 2005 03:47:54 +0200	[thread overview]
Message-ID: <87r7ai5lbp.fsf@thalassa.informatimago.com> (raw)
In-Reply-To: dj2qb9$mac$1@aphrodite.grec.isp.9tel.net

Mounir AITTAHAR <mounir.aittahar@fri.fr> writes:

> Mounir AITTAHAR wrote:
>> This problem occurs when emacs is launched in X11 mode (console mode works)
>
> In true console mode, yes.
>
> Even in Xterm-mode it doenst work, and this is more serious :
>   * typing "é" produces "M-i" !
>   * "C-xxx" doesn'nt work too...
>
> I'm feeling lost...

Not surprizing, if you change random variables.

In a terminal, the input is much more basic.  You have only a stream
of 8-bit codes.  The terminal can be configured to send ESC c when you
type Meta-C, or to send c|0x80.  Unfortunately, if you use another
encoding than ASCII, codes with the high order bit set are used (to
encode non ASCII characters).

So if  you want to  be able to  distinguish an ISO-8859-1 é  from M-i,
you'll have to configure the terminal to send ESC i for M-i instead of
'i'|0x80.  And of course, configure emacs accordingly.


-- 
__Pascal Bourguignon__                     http://www.informatimago.com/

  reply	other threads:[~2005-10-19  1:47 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-16 21:54 Non-ASCII characters Key binding (emacs 21.4) Mounir AITTAHAR
2005-10-17  3:08 ` Stefan Monnier
2005-10-18 15:58   ` Mounir AITTAHAR
2005-10-18 16:06     ` Mounir AITTAHAR
2005-10-18 16:51     ` Pascal Bourguignon
2005-10-19  8:51       ` Mounir AITTAHAR
2005-10-19 23:11         ` Stefan Monnier
2005-10-17 11:47 ` Mounir AITTAHAR
2005-10-18 12:35   ` Mounir AITTAHAR
2005-10-19  1:47     ` Pascal Bourguignon [this message]
2005-10-24 19:23 ` [solved] " Mounir AITTAHAR
2005-10-24 23:52   ` Stefan Monnier
2005-10-25 13:29     ` Mounir AITTAHAR

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r7ai5lbp.fsf@thalassa.informatimago.com \
    --to=spam@mouse-potato.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).