unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Robert Pluim <rpluim@gmail.com>, Kenichi Handa <handa@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: [Emacs-diffs] emacs-26 0feb673: Display raw bytes as belonging to 'eight-bit' charset
Date: Fri, 27 Jul 2018 16:46:48 +0300	[thread overview]
Message-ID: <838t5wssdz.fsf@gnu.org> (raw)
In-Reply-To: <87bmas3juo.fsf@gmail.com> (message from Robert Pluim on Fri, 27 Jul 2018 15:10:23 +0200)

> From: Robert Pluim <rpluim@gmail.com>
> Cc: emacs-devel@gnu.org,  Eli Zaretskii <eliz@gnu.org>
> Gmane-Reply-To-List: yes
> Date: Fri, 27 Jul 2018 15:10:23 +0200
> 
> Stefan Monnier <monnier@IRO.UMontreal.CA> writes:
> 
> >>                            (char-charset char))))
> >> +           ;; TIS620.2533 overlaps eight-bit-control, but we want to
> >> +           ;; show eight-bit for raw bytes, not some obscure character
> >> +           ;; set no one heard of.
> >> +           (charset (if (eq charset 'tis620-2533)
> >> +                        'eight-bit
> >> +                      charset))
> >
> > Do we need `char-charset` to return `tis620-2533` for these, or could we
> > instead of the above change `char-charset` to return `eight-bit` or
> > `eight-bit-control`?
> 
> Setting ':supplementary-p t' on tis620-2533 induces 'char-charset' to
> return 'eight-bit' for raw byte chars.

Yes, which is why I asked about Handa-san that.  The documentation
doesn't tell what are the considerations or disadvantages of using
this property.



  reply	other threads:[~2018-07-27 13:46 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20180727064907.6305.13029@vcs0.savannah.gnu.org>
     [not found] ` <20180727064909.85288203C0@vcs0.savannah.gnu.org>
2018-07-27 12:38   ` [Emacs-diffs] emacs-26 0feb673: Display raw bytes as belonging to 'eight-bit' charset Stefan Monnier
2018-07-27 13:10     ` Robert Pluim
2018-07-27 13:46       ` Eli Zaretskii [this message]
2018-07-27 15:00       ` Andreas Schwab
2018-07-27 17:54         ` Eli Zaretskii
2018-07-27 17:59           ` Andreas Schwab
2018-07-27 20:50             ` Eli Zaretskii
2018-07-27 19:03           ` Stefan Monnier
2018-07-27 21:04             ` Eli Zaretskii
2018-07-28 14:15               ` Stefan Monnier
2018-07-28 15:15                 ` Eli Zaretskii
2018-07-28 16:49                   ` Stefan Monnier
2018-07-28 17:37                     ` Eli Zaretskii
2018-07-28  7:53             ` Andreas Schwab
2018-07-27 13:53     ` 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

  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=838t5wssdz.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=handa@gnu.org \
    --cc=rpluim@gmail.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).