From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: jsbien@mimuw.edu.pl (Janusz S. =?UTF-8?Q?Bie=C5=84?=) Newsgroups: gmane.emacs.bugs Subject: bug#32599: 25.2; Feature request: input PUA characters by name Date: Thu, 31 Dec 2020 09:14:41 +0100 Message-ID: <87bleamlxq.fsf@mimuw.edu.pl> References: <86sh30fg4q.fsf@mimuw.edu.pl> <868t4m3nrs.fsf@mimuw.edu.pl> <8736uu3eb3.fsf@gmail.com> <86r2iey9vk.fsf@mimuw.edu.pl> <867ead8wmd.fsf@mimuw.edu.pl> <83lfyt2s25.fsf@gnu.org> <86pno56y82.fsf@mimuw.edu.pl> <83a7f92lzr.fsf@gnu.org> <86woidyvbz.fsf@mimuw.edu.pl> <837ead2glo.fsf@gnu.org> <86woic4fd5.fsf@mimuw.edu.pl> <83r28j2560.fsf@gnu.org> <86muj7u789.fsf@mimuw.edu.pl> <83lfyr20tx.fsf@gnu.org> <86ftozf97u.fsf@mimuw.edu.pl> <78E3DB0A-BBAC-4822-B0B9-7A81CEC05D70@gnu.org> <86k1ebdtn9.fsf@mimuw.edu.pl> <87o8ibchg9.fsf@mimuw.edu.pl> <838s9fhv9e.fsf@gnu.org> <87mtxumqd4.fsf@mimuw.edu.pl> Reply-To: jsbien@mimuw.edu.pl Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36637"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: 32599@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 31 09:15:11 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1kut71-0009Oo-Hg for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 31 Dec 2020 09:15:11 +0100 Original-Received: from localhost ([::1]:58018 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kut70-0000z8-Ip for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 31 Dec 2020 03:15:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48930) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kut6s-0000yp-GA for bug-gnu-emacs@gnu.org; Thu, 31 Dec 2020 03:15:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40995) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kut6s-0005hT-3w for bug-gnu-emacs@gnu.org; Thu, 31 Dec 2020 03:15:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kut6r-00076p-QJ for bug-gnu-emacs@gnu.org; Thu, 31 Dec 2020 03:15:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: jsbien@mimuw.edu.pl (Janusz S. =?UTF-8?Q?Bie=C5=84?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 31 Dec 2020 08:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32599 X-GNU-PR-Package: emacs Original-Received: via spool by 32599-submit@debbugs.gnu.org id=B32599.160940248727284 (code B ref 32599); Thu, 31 Dec 2020 08:15:01 +0000 Original-Received: (at 32599) by debbugs.gnu.org; 31 Dec 2020 08:14:47 +0000 Original-Received: from localhost ([127.0.0.1]:52536 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kut6c-00075y-Sr for submit@debbugs.gnu.org; Thu, 31 Dec 2020 03:14:47 -0500 Original-Received: from mail.mimuw.edu.pl ([193.0.96.6]:39853) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kut6c-00075m-0K for 32599@debbugs.gnu.org; Thu, 31 Dec 2020 03:14:46 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by duch.mimuw.edu.pl (Postfix) with ESMTP id EF2D860073DF7; Thu, 31 Dec 2020 09:14:44 +0100 (CET) X-Virus-Scanned: amavisd-new at mimuw.edu.pl Original-Received: from duch.mimuw.edu.pl ([127.0.0.1]) by localhost (mail.mimuw.edu.pl [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id cWQdyp5S3NdR; Thu, 31 Dec 2020 09:14:42 +0100 (CET) Original-Received: from jsbdebian.mimuw.edu.pl (unknown [176.221.123.174]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by duch.mimuw.edu.pl (Postfix) with ESMTPSA; Thu, 31 Dec 2020 09:14:42 +0100 (CET) In-Reply-To: (Eli Zaretskii's message of "Thu, 31 Dec 2020 09:49:14 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:197074 Archived-At: On Thu, Dec 31 2020 at 9:49 +02, Eli Zaretskii wrote: > On December 31, 2020 8:39:03 AM GMT+02:00, jsbien@mimuw.edu.pl wrote: >> So the PUA names are to be added to ucs-names in mule-cmds.el. At >> first >> glance it doesn't seem difficult, as I already have them in the form >> of=20 >> uni-name.el. I will work on it after New Year. > > What would be the advantage of adding names for PUA codepoints? To make it clear: I'm not adding names to PUA codepoints, I add to Emacs the names already in use for some PUA codepoints. > The disadvantage is clear: bloating the Emacs process memory footprint > by some 137,000 strings of some non-descriptive form, like > PUA-CHARACTER-nn. What do you need PUA-CHARACTER-nn for? I never proposed anything like this. Moreover: There is always price for everything. BTW, not 137,000 but 739 for MUFI 4.0 and a little more for the current=20 version. > > Btw, the names are not generated in mule-cmds.el, they are generated > in unidata-gen.el. I know that and, as I said in my previous mail, I've generated them already: --8<---------------cut here---------------start------------->8--- position: 4051 of 4693 (86%), column: 40 character: =EE=A2=B7 (displayed as =EE=A2=B7) (codepoint 59575,= #o164267, #xe8b7) preferred charset: unicode (Unicode (ISO10646)) code point in charset: 0xE8B7 syntax: w which means: word category: L:Left-to-right (strong) to input: type "C-x 8 RET e8b7" buffer code: #xEE #xA2 #xB7 file code: #xEE #xA2 #xB7 (encoded by coding system utf-8-unix) display: by this font (glyph code) xft:-psbk-Junicode-normal-normal-normal-*-15-*-*-*-*-0-iso10646-1 (#x94= C) Character code properties: customize what to show name: LATIN SMALL LETTER LONG S WITH FLOURISH general-category: Co (Other, Private Use) decomposition: (59575) ('=EE=A2=B7') --8<---------------cut here---------------end--------------->8--- However read-char-by-name takes the names from ucs-names which I have to update. Regards - Janusz --=20 ,=20=20=20 Janusz S. Bien emeryt (emeritus) https://sites.google.com/view/jsbien