From: Jean-Christophe Helary <brandelune@gmail.com>
To: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: numbers instead of accented letters...
Date: Sun, 25 Nov 2018 13:22:41 +0900 [thread overview]
Message-ID: <C413D952-15BC-4826-A88A-6E9C3912B5E9@gmail.com> (raw)
In-Reply-To: <83lg5hkerb.fsf@gnu.org>
> 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
next prev parent reply other threads:[~2018-11-25 4:22 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-25 2:55 numbers instead of accented letters Jean-Christophe Helary
2018-11-25 3:38 ` Eli Zaretskii
2018-11-25 4:22 ` Jean-Christophe Helary [this message]
2018-11-25 16:21 ` Eli Zaretskii
2018-11-25 16:42 ` Jean-Christophe Helary
2018-11-26 8:09 ` Jean-Christophe Helary
2018-11-25 16:56 ` Stefan Monnier
2018-11-26 7:22 ` Jean-Christophe Helary
2018-11-26 8:10 ` Jean-Christophe Helary
2018-11-26 13:20 ` Stefan Monnier
2018-11-26 14:09 ` Jean-Christophe Helary
2018-11-26 14:20 ` Stefan Monnier
2018-11-26 14:46 ` Jean-Christophe Helary
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=C413D952-15BC-4826-A88A-6E9C3912B5E9@gmail.com \
--to=brandelune@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.