From: Robert Pluim <rpluim@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: ucs-normalize and diacritics
Date: Thu, 26 Jul 2018 10:40:45 +0200 [thread overview]
Message-ID: <877eli5r02.fsf@gmail.com> (raw)
In-Reply-To: <83va93tlb4.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 25 Jul 2018 17:57:35 +0300")
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Robert Pluim <rpluim@gmail.com>
>> Date: Wed, 25 Jul 2018 16:45:03 +0200
>>
>> As a special case, if the character lies in the range 128 (0200
>> octal) through 159 (0237 octal), it stands for a raw byte that does not
>> correspond to any specific displayable character. Such a character lies
>> within the eight-bit-control character set, and is displayed as an
>> escaped octal character code. In this case, C-x = shows part of
>> display ... instead of file.
>
> This text is obsolete and inaccurate, it should be replaced/rewritten.
>
How about something like:
As a special case, if the character lies in the range #x3fff80
through #x3fff9a (128 through 159 decimal, with prefix #x3fff), it
stands for a raw byte that does not correspond to any specific
displayable character. Such a character lies within the
@code{eight-bit-control} character set, and is displayed as an escaped
octal character code (0200 through 0237), or as an escaped hex
character code (x80 through x9a) if @code{display-raw-bytes-as-hex} is
non-@code{nil}.
Iʼm not sure the 'eight-bit-control' part is true, given the reference
to 'tis620-2533' in the what-cursor-position output.
>> emacs -Q
>> C-x C-f /tmp/bin.txt
>> C-x 8 RET 80
>> C-b
>> C-x =
>>
>> which gives
>>
>> Char: \200 (128, #o200, #x80, file ...) point=1 of 1 (0%) column=0
>
> Try
>
> C-x 8 RET 3fff80 RET
Yes, that's better. So C-x 8 RET 80 results in emacs writing 2 bytes on
disk, but 3fff80 results in only one. The joys of multibyte :-)
Robert
next prev parent reply other threads:[~2018-07-26 8:40 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-24 18:17 ucs-normalize and diacritics Robert Pluim
2018-07-24 19:07 ` Eli Zaretskii
2018-07-24 19:20 ` Eli Zaretskii
2018-07-24 20:48 ` Robert Pluim
2018-07-25 2:32 ` Eli Zaretskii
2018-07-25 7:40 ` Robert Pluim
2018-07-25 14:39 ` Eli Zaretskii
2018-07-25 19:59 ` Robert Pluim
2018-07-26 19:47 ` Eli Zaretskii
2018-07-25 14:45 ` Robert Pluim
2018-07-25 14:57 ` Eli Zaretskii
2018-07-26 1:14 ` Richard Stallman
2018-07-26 14:15 ` Matt Lavallee
2018-07-26 18:42 ` Eli Zaretskii
2018-07-26 21:01 ` John Hsieh
2018-07-26 21:54 ` Stefan Monnier
2018-07-28 3:17 ` Richard Stallman
2018-07-31 1:09 ` John Hsieh
2018-07-31 15:22 ` Eli Zaretskii
2018-07-31 15:27 ` John Hsieh
2018-07-31 15:45 ` John Hsieh
2018-07-31 16:33 ` Eli Zaretskii
2018-07-31 16:28 ` Eli Zaretskii
2018-07-31 16:30 ` John Hsieh
2018-07-27 3:21 ` Richard Stallman
2018-07-27 23:48 ` John Hsieh
2018-07-26 8:40 ` Robert Pluim [this message]
2018-07-26 18:41 ` Eli Zaretskii
2018-07-26 20:40 ` Robert Pluim
2018-07-27 5:56 ` Eli Zaretskii
2018-07-27 6:59 ` Eli Zaretskii
2018-07-27 8:36 ` Robert Pluim
2018-07-31 12:37 ` K. Handa
2018-07-31 15:21 ` Eli Zaretskii
2018-08-03 14:21 ` K. Handa
2018-08-03 14:44 ` Andreas Schwab
2018-08-05 13:22 ` K. Handa
2018-08-05 15:28 ` Eli Zaretskii
2018-08-06 22:49 ` K. Handa
2018-08-11 8:20 ` Eli Zaretskii
2018-08-03 17:57 ` Eli Zaretskii
2018-08-05 13:58 ` K. Handa
2018-07-24 20:54 ` Robert Pluim
2018-07-25 2:36 ` Eli Zaretskii
2018-07-25 14:36 ` Eli Zaretskii
2018-07-25 20:11 ` Robert Pluim
2018-07-25 20:21 ` Cesar Crusius
2018-07-25 20:44 ` Robert Pluim
2018-07-25 22:59 ` Cesar Crusius
2018-07-26 8:14 ` Robert Pluim
2018-07-25 21:01 ` Yuri Khan
2018-07-26 2:41 ` Eli Zaretskii
2018-07-26 2:39 ` Eli Zaretskii
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=877eli5r02.fsf@gmail.com \
--to=rpluim@gmail.com \
--cc=eliz@gnu.org \
--cc=emacs-devel@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.