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: prettify-symbols-mode, derived modes, and compose-region Date: Sat, 06 Mar 2021 12:59:02 +0200 Message-ID: <83im64wnt5.fsf@gnu.org> References: <83k0qmzit9.fsf@gnu.org> <587ee071-985b-450a-2df7-0b4bb0f97b48@posteo.net> <83eeguyt58.fsf@gnu.org> <18caf24f-fb5d-616d-fb24-393f7d2149f7@posteo.net> <83r1kswsm8.fsf@gnu.org> <50e114d3-7569-518e-7404-b17c469aec3b@posteo.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11332"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: D Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Mar 06 12:05:41 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 1lIUke-0002rU-MA for ged-emacs-devel@m.gmane-mx.org; Sat, 06 Mar 2021 12:05:40 +0100 Original-Received: from localhost ([::1]:47638 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lIUkd-0005tG-K2 for ged-emacs-devel@m.gmane-mx.org; Sat, 06 Mar 2021 06:05:39 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45532) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lIUeU-0004xl-1Z for emacs-devel@gnu.org; Sat, 06 Mar 2021 05:59:18 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:37094) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lIUeR-0002U1-GW; Sat, 06 Mar 2021 05:59:15 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3009 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lIUeQ-0004Hl-D5; Sat, 06 Mar 2021 05:59:15 -0500 In-Reply-To: <50e114d3-7569-518e-7404-b17c469aec3b@posteo.net> (message from D on Sat, 6 Mar 2021 11:43:45 +0100) 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:266067 Archived-At: > Cc: monnier@iro.umontreal.ca, larsi@gnus.org, emacs-devel@gnu.org > From: D > Date: Sat, 6 Mar 2021 11:43:45 +0100 > > > In your original use case you didn't have images, you had characters. > > Or did I misunderstand? > > That's correct, my point was whether there was any common underlying > logic one could make use of. Calculating the size of images is different from that of character glyphs. So the general logic may be similar, but the implementation is very different.