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.bugs Subject: bug#54562: 28.0.91; Emoji sequence not composed Date: Tue, 29 Mar 2022 18:42:03 +0300 Message-ID: <83mth8935g.fsf@gnu.org> References: <87bkxu8k7t.fsf.ref@yahoo.com> <874k3m8grb.fsf@yahoo.com> <87pmmauwtp.fsf@gmail.com> <87y20y6ypi.fsf@yahoo.com> <83pmmab53s.fsf@gnu.org> <87sfr66sb7.fsf@yahoo.com> <87a6deunjj.fsf@gmail.com> <87k0ch5x8k.fsf@yahoo.com> <83h77lb6km.fsf@gnu.org> <871qyod5d5.fsf@gnus.org> <87zglc2q14.fsf@yahoo.com> <87y20vtor6.fsf@gmail.com> <87a6db2ajo.fsf@yahoo.com> <87mthatt5h.fsf@gmail.com> <838rsu9twq.fsf@gnu.org> <875ynytfce.fsf@gmail.com> <837d8e9q6x.fsf@gnu.org> <871qymt96j.fsf@gmail.com> <834k3i9i1y.fsf@gnu.org> <87o81prq93.fsf@gmail.com> <83sfr17zkg.fsf@gnu.org> <87k0ccsti5.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13239"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, larsi@gnus.org, 54562@debbugs.gnu.org To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 29 17:43:18 2022 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 1nZE05-0003JG-Rq for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 29 Mar 2022 17:43:18 +0200 Original-Received: from localhost ([::1]:42160 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nZE04-0005NK-NM for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 29 Mar 2022 11:43:16 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57004) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZDzr-0005IZ-AQ for bug-gnu-emacs@gnu.org; Tue, 29 Mar 2022 11:43:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39524) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nZDzq-0002QF-9P for bug-gnu-emacs@gnu.org; Tue, 29 Mar 2022 11:43:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nZDzq-0007Ql-8H for bug-gnu-emacs@gnu.org; Tue, 29 Mar 2022 11:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Mar 2022 15:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54562 X-GNU-PR-Package: emacs Original-Received: via spool by 54562-submit@debbugs.gnu.org id=B54562.164856854028512 (code B ref 54562); Tue, 29 Mar 2022 15:43:02 +0000 Original-Received: (at 54562) by debbugs.gnu.org; 29 Mar 2022 15:42:20 +0000 Original-Received: from localhost ([127.0.0.1]:33421 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZDz9-0007Po-Ge for submit@debbugs.gnu.org; Tue, 29 Mar 2022 11:42:19 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:40894) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZDyt-0007P2-GT for 54562@debbugs.gnu.org; Tue, 29 Mar 2022 11:42:18 -0400 Original-Received: from [2001:470:142:3::e] (port=39742 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZDyo-0002Gd-7d; Tue, 29 Mar 2022 11:41:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=R4qW20UsQR6sdSHDByXYKt2LAFBUQ9QS6Je7gR7JPpc=; b=ExNyirsF/cTc D9paerrvZEpR9tC2fbpT1YFco8Et0oAjAtuddvcx3jrlrmPGx623zJvwwlrwcdcx49AUBWXzlsHuy TPGwc0nCIIGhfSB3mmq47ZNGkXncNVa5BN7JuIirDrctn1XmYg9d5gbTE4HOx4w7JNjOYZvsg5ptE NXODLP3aPLYfPKSwfHHiCRmXPgftPqwJNnTVFNl08J14kI0PKqOv7JPLQ0Bv7QNwr+OCwzUDfJir2 /CndEfM8N+EtrsY/yXnOdWEG6DZA2eS9azwM66dTgqVUQCWD1+ItTLIRyoO0CVYXaGKrb4bhhy0++ CMghAwFpTLKPQPEQhFJkqA==; Original-Received: from [87.69.77.57] (port=2925 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZDyn-0001Bt-Io; Tue, 29 Mar 2022 11:41:57 -0400 In-Reply-To: <87k0ccsti5.fsf@gmail.com> (message from Robert Pluim on Tue, 29 Mar 2022 16:50:10 +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:229065 Archived-At: > From: Robert Pluim > Cc: luangruo@yahoo.com, larsi@gnus.org, 54562@debbugs.gnu.org > Date: Tue, 29 Mar 2022 16:50:10 +0200 > > Eli> We could perhaps avoid the complexity by rewriting the composition > Eli> rule for diacritics. Instead of "\\c.\\c^+" with 1-character > Eli> look-back, we could have several rules: > > Eli> "\\c.\\c^\\c^\\c^\\c^" with 4-character look-back > Eli> "\\c.\\c^\\c^\\c^+" with 3-character look-back > Eli> "\\c.\\c^\\c^+" with 2-character look-back > Eli> "\\c.\\c^+" with 1-character look-back > > Eli> (in that order). I didn't test this, but if it works, maybe it could > Eli> solve the problem without any deep changes on the C level. > > That might work. What would the fallback look like? Suppose we have 4 > diacritics, 3 of which are covered by the same font, and one by a > different one. Would you prefer to attempt to use the font of 3 of > them, or would you prefer to fall back to the font of the base > character? I think I'd prefer to have the font that covers the majority. But I'm not sure it's a real-life dilemma. I fully expect a font that supports the rare diacritic to also support the less rare ones. And if I'm wrong, I'm sure we will hear about that soon enough ;-)