From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Alfred M. Szmidt" Newsgroups: gmane.emacs.devel Subject: Re: prettify symbols question Date: Fri, 13 Nov 2020 03:27:17 -0500 Message-ID: References: <834kluzkma.fsf@gnu.org> <831rgyziu3.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25464"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Nov 13 09:34:17 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kdUXA-0006Tq-DJ for ged-emacs-devel@m.gmane-mx.org; Fri, 13 Nov 2020 09:34:16 +0100 Original-Received: from localhost ([::1]:36288 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kdUX9-0005WC-CZ for ged-emacs-devel@m.gmane-mx.org; Fri, 13 Nov 2020 03:34:15 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37354) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kdUQQ-0007Dc-9U for emacs-devel@gnu.org; Fri, 13 Nov 2020 03:27:18 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:43272) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kdUQP-0005x3-T2 for emacs-devel@gnu.org; Fri, 13 Nov 2020 03:27:17 -0500 Original-Received: from ams by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1kdUQP-0005z0-4M; Fri, 13 Nov 2020 03:27:17 -0500 In-Reply-To: <831rgyziu3.fsf@gnu.org> (message from Eli Zaretskii on Thu, 12 Nov 2020 17:38:12 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:259124 Archived-At: > If the above doesn't work, then maybe it _is_ related to encoding. > What does the mode line say about 'buffer-file-coding-system when' you > visit this file? > > So when the buffer-file-coding-system is utf-8-unix everything works > (where also the sequence is not acted on in comments). But when the > buffer is raw-text-unix, it does not work for #o210, but works for say > #o10. Some multi-byte thing going on? Yes, raw-text means the buffer includes raw bytes, not characters. Emacs doesn't do anything useful with raw bytes above 127, and in particular doesn't interpret them as characters. Do you have any ideas on what a good coding system would be for this? utf-8 is obviously wrong. The char. set is just 8-bit, or should I write a coding system?