[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: numbers instead of accented letters...
From: |
Jean-Christophe Helary |
Subject: |
Re: numbers instead of accented letters... |
Date: |
Sun, 25 Nov 2018 13:22:41 +0900 |
> On Nov 25, 2018, at 12:38, Eli Zaretskii <eliz@gnu.org> wrote:
>
>> From: Jean-Christophe Helary <brandelune@gmail.com>
>> Date: Sun, 25 Nov 2018 11:55:02 +0900
>>
>> What have I possibly done to have my .emacs.el display number sequences
>> instead of accented letters ?
>>
>> I just noticed that a few days ago...
>>
>> for ex:
>>
>> ;; pour h\303\251riter du $PATH quand Emacs est lanc\303\251 hors de la
>> ligne de commande
>>
>> Also, it is not only a display issue, when I type such accented sequences I
>> can only see the number sequences...
>>
>> Other files (normal text files, etc.) are not affected by this behavior.
>>
>> To make sure that I use UTF-8 everywhere I have this code:
>>
>> ;; UTF-8
>> (setq locale-coding-system 'utf-8)
>> (set-terminal-coding-system 'utf-8)
>> (set-keyboard-coding-system 'utf-8)
>> (set-selection-coding-system 'utf-8)
>> (prefer-coding-system 'utf-8)
>> (when (display-graphic-p)
>> (setq x-select-request-type '(UTF8_STRING COMPOUND_TEXT TEXT STRING)))
>
> On what OS is that?
macOS
> Also, what other non-ASCII characters do you have in your .emacs.el?
Most of my comments are written in French so there are a few others.
> (You can search for them with "N-: (skip-chars-forward "\000-\177") RET.)
>
> And if you remove all of the above settings, does the problem go away?
I commented out the code and relaunched emacs. I get the same weird behavior in
.emacs.el but not in other buffers (not even *scratch*)
Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune