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#47074: Replace XPM icons with Unicode codepoints in customize/widgets Date: Thu, 11 Mar 2021 22:01:11 +0200 Message-ID: <8335x1mpdk.fsf@gnu.org> References: <83a6r9mwgk.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5305"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 47074@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 11 21:02:44 2021 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 1lKRW7-0001Hy-Oa for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 11 Mar 2021 21:02:43 +0100 Original-Received: from localhost ([::1]:35842 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKRW6-0004Pq-PU for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 11 Mar 2021 15:02:42 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54454) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKRVS-0004NB-L4 for bug-gnu-emacs@gnu.org; Thu, 11 Mar 2021 15:02:06 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43420) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKRVS-0006FD-8w for bug-gnu-emacs@gnu.org; Thu, 11 Mar 2021 15:02:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKRVS-0002cd-7a for bug-gnu-emacs@gnu.org; Thu, 11 Mar 2021 15:02:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Mar 2021 20:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47074 X-GNU-PR-Package: emacs Original-Received: via spool by 47074-submit@debbugs.gnu.org id=B47074.161549289010036 (code B ref 47074); Thu, 11 Mar 2021 20:02:02 +0000 Original-Received: (at 47074) by debbugs.gnu.org; 11 Mar 2021 20:01:30 +0000 Original-Received: from localhost ([127.0.0.1]:54966 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKRUv-0002bn-MB for submit@debbugs.gnu.org; Thu, 11 Mar 2021 15:01:29 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36422) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKRUu-0002bb-H7 for 47074@debbugs.gnu.org; Thu, 11 Mar 2021 15:01:28 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:55454) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKRUo-0005qw-6B; Thu, 11 Mar 2021 15:01:22 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1835 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lKRUb-00016d-2Y; Thu, 11 Mar 2021 15:01:14 -0500 In-Reply-To: (message from Stefan Kangas on Thu, 11 Mar 2021 11:51:45 -0600) 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:202092 Archived-At: > From: Stefan Kangas > Date: Thu, 11 Mar 2021 11:51:45 -0600 > Cc: 47074@debbugs.gnu.org > > Eli Zaretskii writes: > > > char-displayable-p is expensive, though. > > Could we perhaps cache the results if it is prohibitively slow? It isn't prohibitively slow, just slow. > > So I generally find the idea of using characters for this purpose > > problematic; we've seen these problems in other places in Emacs. Why > > not use SVG images instead? > > I think SVG is obviously much preferable to XPM, but there is still the > problem that the images don't scale with the text. Do we have a general > solution to that? If not, should we have one? With SVG, I believe we could. (We can scale other kinds of images as well, but they don't look well when enlarged, AFAIK.)