emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: raw-text coding system confuses input method


From: Eli Zaretskii
Subject: Re: raw-text coding system confuses input method
Date: 18 Apr 2004 08:17:26 +0200

> From: address@hidden
> Date: Sun, 18 Apr 2004 01:16:20 +0200
> 
> *) Emacs shows the content of the file as "\205",
>    describe-current-coding-system gives:
>      Coding system for saving this buffer: t -- raw-text-unix
> 
> *) Activate input method with C-x RET C-\ rfc1345 RET
> 
> *) Enter mnemonic for "horizontal ellipsis": &.3
> 
> *) Emacs inserts a character thats surely not an ellipsis, it looks
>    like | but with a gap in the middle. C-u C-x = on this character
>    gives:
> 
>   character: ¦ (0246, 166, 0xa6)
>     charset: eight-bit-graphic (8-bit graphic char (0xA0..0xFF))

I'm not sure this is a bug: raw-text means the buffer is a unibyte
buffer, so there can be no multibyte characters there.  In other
words, there can be only unibyte characters in such a buffer.  It's a
feature.

What did you expect to happen instead?  Did you want Emacs to switch
the buffer to a multibyte one, once you attempt to insert a multibyte
character?

For that matter, what is the real-world problem behind the sequence of
events that you reported?  That is, why would one need to insert a
unibyte character into a buffer and then add multibyte characters to
that same buffer?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]