From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier 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 08:38:56 -0400 Message-ID: References: <20180727064907.6305.13029@vcs0.savannah.gnu.org> <20180727064909.85288203C0@vcs0.savannah.gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1532695028 18714 195.159.176.226 (27 Jul 2018 12:37:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 27 Jul 2018 12:37:08 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Eli Zaretskii To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 27 14:37:04 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 1fj1zU-0004k1-Ey for ged-emacs-devel@m.gmane.org; Fri, 27 Jul 2018 14:37:04 +0200 Original-Received: from localhost ([::1]:41015 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fj21b-0001I2-3k for ged-emacs-devel@m.gmane.org; Fri, 27 Jul 2018 08:39:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35816) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fj21O-0001Fj-Ci for emacs-devel@gnu.org; Fri, 27 Jul 2018 08:39:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fj21L-000066-9k for emacs-devel@gnu.org; Fri, 27 Jul 2018 08:39:02 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:36570) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fj21L-0008Tv-50; Fri, 27 Jul 2018 08:38:59 -0400 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id w6RCcumC029245; Fri, 27 Jul 2018 08:38:57 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id A2098652D1; Fri, 27 Jul 2018 08:38:56 -0400 (EDT) In-Reply-To: <20180727064909.85288203C0@vcs0.savannah.gnu.org> (Eli Zaretskii's message of "Fri, 27 Jul 2018 02:49:07 -0400 (EDT)") X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6338=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6338> : inlines <6780> : streams <1793759> : uri <2679979> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 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:227854 Archived-At: > (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`? Stefan