From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel 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 Message-ID: <838t5wssdz.fsf@gnu.org> References: <20180727064907.6305.13029@vcs0.savannah.gnu.org> <20180727064909.85288203C0@vcs0.savannah.gnu.org> <87bmas3juo.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1532699155 4672 195.159.176.226 (27 Jul 2018 13:45:55 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 27 Jul 2018 13:45:55 +0000 (UTC) Cc: emacs-devel@gnu.org To: Robert Pluim , Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 27 15:45:51 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fj343-000178-Gm for ged-emacs-devel@m.gmane.org; Fri, 27 Jul 2018 15:45:51 +0200 Original-Received: from localhost ([::1]:41392 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fj36A-0002FX-8V for ged-emacs-devel@m.gmane.org; Fri, 27 Jul 2018 09:48:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51465) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fj35C-00027H-B4 for emacs-devel@gnu.org; Fri, 27 Jul 2018 09:47:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fj357-0007Gs-Ro for emacs-devel@gnu.org; Fri, 27 Jul 2018 09:47:02 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59786) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fj34y-0007A1-O7; Fri, 27 Jul 2018 09:46:48 -0400 Original-Received: from [176.228.60.248] (port=3724 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fj34x-0004Gl-Tk; Fri, 27 Jul 2018 09:46:48 -0400 In-reply-to: <87bmas3juo.fsf@gmail.com> (message from Robert Pluim on Fri, 27 Jul 2018 15:10:23 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:227856 Archived-At: > From: Robert Pluim > Cc: emacs-devel@gnu.org, Eli Zaretskii > Gmane-Reply-To-List: yes > Date: Fri, 27 Jul 2018 15:10:23 +0200 > > Stefan Monnier 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.