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: Fri, 12 Mar 2021 10:12:42 +0200 Message-ID: <83lfaslrid.fsf@gnu.org> References: <83a6r9mwgk.fsf@gnu.org> <87mtv9h8jf.fsf@gnus.org> <83y2etl9us.fsf@gnu.org> <87a6r9h1wj.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19195"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, 47074@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 12 09:14:01 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 1lKcvo-0004rX-UE for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 12 Mar 2021 09:14:00 +0100 Original-Received: from localhost ([::1]:42106 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKcvn-00031X-WA for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 12 Mar 2021 03:14:00 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59776) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKcus-00023H-6A for bug-gnu-emacs@gnu.org; Fri, 12 Mar 2021 03:13:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44435) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKcur-0003KL-UX for bug-gnu-emacs@gnu.org; Fri, 12 Mar 2021 03:13:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKcur-0005vo-Ql for bug-gnu-emacs@gnu.org; Fri, 12 Mar 2021 03:13:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 Mar 2021 08:13:01 +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.161553676922781 (code B ref 47074); Fri, 12 Mar 2021 08:13:01 +0000 Original-Received: (at 47074) by debbugs.gnu.org; 12 Mar 2021 08:12:49 +0000 Original-Received: from localhost ([127.0.0.1]:55981 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKcue-0005vN-QU for submit@debbugs.gnu.org; Fri, 12 Mar 2021 03:12:48 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:41846) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKcud-0005v9-Ok for 47074@debbugs.gnu.org; Fri, 12 Mar 2021 03:12:48 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:56177) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKcuX-00037p-Dy; Fri, 12 Mar 2021 03:12:42 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2939 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lKcuW-0003Z9-1P; Fri, 12 Mar 2021 03:12:41 -0500 In-Reply-To: (message from Stefan Kangas on Thu, 11 Mar 2021 19:38:12 -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:202149 Archived-At: > From: Stefan Kangas > Date: Thu, 11 Mar 2021 19:38:12 -0600 > Cc: 47074@debbugs.gnu.org > > How would we go about implementing something like that? Do we need to > scan the buffer for any images and re-insert them when we change the > font size, or can we just add an image attribute or something? AFAIR, the display property has a way of reacting to the value of a symbol's variable cell automatically. Not sure the image display property can, too, but it won't do any harm trying. Keep in mind that changing the text scale requires redisplaying the buffer, so Emacs will regenerate the images anyway.