[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: change radix of displayed quoted chars
From: |
Sebastien Kirche |
Subject: |
Re: change radix of displayed quoted chars |
Date: |
Fri, 26 Nov 2004 15:48:35 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (darwin) |
Le 26 Nov 2004, Eli Zaretskii s'est exprimé ainsi :
> > I would like to change the displayed value that is still octal.
>
> Can you tell how you got those characters displayed? Are they part of
> buffer text, or are they displayed in the echo area? If the latter,
> what command displayed those octal codes?
These octal values are displayed in the buffer text.
Typically, they are french accentuated characters pasted in the iso-8859-1
encoded buffer that are mac-roman encoded when copying then from an OSX
application.
I used to find the correct encoding before to perform a C-x RET c then
paste. But i cannot remember that value. (mac-roman seems not to fix the
problem).
Anyway, for quick fix as i know that e.g. 142(mac-roman) -> é (latin-1) i
would have to M-% C-q 1 4 2 RET é RET !
But for convenience i set read-quoted-char-radix to 10 but as octal is still
displayed i have to convert the value for the C-q insert.
So i wonder if i can modify the display to fit the entry.
Sébastien Kirche