From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: new coding system (was: Re: prettify symbols question) Date: Fri, 13 Nov 2020 16:59:08 +0200 Message-ID: <83k0upwber.fsf@gnu.org> References: <834kluzkma.fsf@gnu.org> <831rgyziu3.fsf@gnu.org> <83zh3my2ls.fsf@gnu.org> <83o8k1yb0x.fsf@gnu.org> <83y2j5wio8.fsf@gnu.org> <83sg9dweps.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22172"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: "Alfred M. Szmidt" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Nov 13 16:00:11 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 1kdaYd-0005cd-GF for ged-emacs-devel@m.gmane-mx.org; Fri, 13 Nov 2020 16:00:11 +0100 Original-Received: from localhost ([::1]:52988 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kdaYc-0001TG-Hm for ged-emacs-devel@m.gmane-mx.org; Fri, 13 Nov 2020 10:00:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48042) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kdaXw-00011l-Bi for emacs-devel@gnu.org; Fri, 13 Nov 2020 09:59:28 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60674) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kdaXw-00052I-38 for emacs-devel@gnu.org; Fri, 13 Nov 2020 09:59:28 -0500 Original-Received: from [176.228.60.248] (port=2956 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kdaXr-0002Rf-Ma; Fri, 13 Nov 2020 09:59:25 -0500 In-Reply-To: (ams@gnu.org) 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:259144 Archived-At: > From: "Alfred M. Szmidt" > Cc: emacs-devel@gnu.org > Date: Fri, 13 Nov 2020 09:47:16 -0500 > > So I've created a LISPM charmap, and a LISPM charset map based on > that. Then calling define-charset and define-coding-system, if I now > try to open a Lisp machine file in the lispm coding it seems to be > unable to handle the various characters; e.g., #o210. > > These default coding systems were tried to encode text > in the buffer ‘lispm-char-test.text’: > (lispm-unix (1 . 0) (59 . 1) (117 . 2) (175 . 3) (233 . 4) (291 . 5) > (349 . 6) (407 . 7) (465 . 4194184) (523 . 4194185) (581 . 4194186)) > However, each of them encountered characters it couldn’t encode: > .... What does "M-x describe-character-set RET lispm RET" show? And what was shown where you show the ellipsis?