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.devel Subject: Re: Inserting by name and describing some PUA characters Date: Sun, 03 Jan 2021 16:36:59 +0100 Message-ID: <877dou58x0.fsf@mimuw.edu.pl> References: <87eej2320z.fsf@mimuw.edu.pl> <83k0sucain.fsf@gnu.org> 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="9127"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jan 03 16:39:13 2021 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 1kw5TM-0002HW-Fh for ged-emacs-devel@m.gmane-mx.org; Sun, 03 Jan 2021 16:39:12 +0100 Original-Received: from localhost ([::1]:46536 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kw5TL-0005iL-IY for ged-emacs-devel@m.gmane-mx.org; Sun, 03 Jan 2021 10:39:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57666) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kw5RO-000542-L3 for emacs-devel@gnu.org; Sun, 03 Jan 2021 10:37:10 -0500 Original-Received: from mail.mimuw.edu.pl ([2001:6a0:5001::4]:50715) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kw5RM-000354-BM; Sun, 03 Jan 2021 10:37:10 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by duch.mimuw.edu.pl (Postfix) with ESMTP id 104766016B0BA; Sun, 3 Jan 2021 16:37:04 +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 Tpk3Z-YHeqtE; Sun, 3 Jan 2021 16:37:00 +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; Sun, 3 Jan 2021 16:37:00 +0100 (CET) In-Reply-To: <83k0sucain.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 03 Jan 2021 17:20:32 +0200") Received-SPF: pass client-ip=2001:6a0:5001::4; envelope-from=jsbien@mimuw.edu.pl; helo=mail.mimuw.edu.pl X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:262364 Archived-At: On Sun, Jan 03 2021 at 17:20 +02, Eli Zaretskii wrote: >> From: jsbien@mimuw.edu.pl (Janusz S. Bie=C5=84) >> Date: Sun, 03 Jan 2021 08:36:28 +0100 >>=20 >> PUA stands for Unicode Private Use Area, cf. e.g. >> https://en.wikipedia.org/wiki/Private_Use_Areas. >>=20 >> I use systematically the PUA characters defined by MUFI, >> cf. e.g. https://en.wikipedia.org/wiki/Medieval_Unicode_Font_Initiative. >>=20 >> Recently I made a quick and dirty solution for my own feature request >>=20 >> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D32599 >>=20 >> (in a slightly different way than suggested originally). >>=20 >> The files and the documentation are available at >> https://github.com/jsbien/unicode4polish in the Emacs-MUFI directory. >>=20 >> Please consider improving and expanding my solution and making it >> available as e.g. ELPA or non-ELPA package. > > Thanks. > > I may be missing something, but I couldn't find in your Github > repository the infrastructure that could be used to tell Emacs to > interpret arbitrary ranges of PUA codepoints as characters with > certain properties. Could you please point me to the parts I missed? You haven't missed nothing. My knowledge of ELisp is too rudimentary for creating such an infrastructure myself. However in the documentation I described the procedure needed to tell Emacs to interpret arbitrary ranges of PUA codepoints as characters with *names*. It definitely can be extended to handle other properties but I have not investigated this aspect. So my repository contains just a proof-of-concept (which also is useful for me personally). Regards - Janusz --=20 ,=20=20=20 Janusz S. Bien emeryt (emeritus) https://sites.google.com/view/jsbien