From: Jean-Christophe Helary <brandelune@gmail.com>
To: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: numbers instead of accented letters...
Date: Mon, 26 Nov 2018 23:09:48 +0900 [thread overview]
Message-ID: <F3E518EC-68DE-4A56-A7D3-9E4771E24EDD@gmail.com> (raw)
In-Reply-To: <jwv8t1gq8qw.fsf-monnier+gmane.emacs.help@gnu.org>
> On Nov 26, 2018, at 22:20, Stefan Monnier <monnier@iro.umontreal.ca> wrote:
>
>>> If this works without complaint, check the "U" in the mode-line: is it
>>> still there?
>> Everything worked as you said and indeed the U is still there.
>
> And if you now try `emacs -Q ~/.emacs.el` anew, you again see the \NNN
> and the "=" in the modeline?
That's correct.
> Does the file have file-local variables as in
>
> -*- ... -*-
>
> on the first line or
I have the blurb added by Package.el at the top:
; Added by Package.el. This must come before configurations of
;; installed packages. Don't delete this line. If you don't want it,
;; just comment it out by adding a semicolon to the start of the line.
;; You may delete these explanatory comments.
> Local Variables:
> ...
> End:
>
> on the last few lines?
And custom-set-faces at the end.
>> So, should I interpret that as Emacs is, for some reason, not using
>> UTF-8 to read the file ?
>
> Yes, the `=` means that Emacs decided that this file should be treated
> as binary data rather than utf-8 text, basically.
>
> Could you also try to search for a 0-byte? E.g. with
>
> C-s C-q 0 C-s C-s
>
> ?
I have one. I created a keyboard macro the other day to have Cmd+A do a (home made) select all, because I did not know that emacs had a select-all command already. The macro is:
;;; Select All : Cmd+A (Meta+A)
(fset 'selectAll
(lambda (&optional arg) "Keyboard macro." (interactive "p") (kmacro-exec-ring-item '("\274^@\0\276" 0 "%d") arg)))
(global-set-key (kbd "M-a") 'selectAll)
If I remove that code, the file behaves properly...
Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune
next prev parent reply other threads:[~2018-11-26 14:09 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
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 [this message]
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
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=F3E518EC-68DE-4A56-A7D3-9E4771E24EDD@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.
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).