From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: Adding icon sets to Emacs -- and next steps for icons.el Date: Wed, 24 Aug 2022 14:56:11 +0800 Message-ID: <871qt62kqc.fsf@yahoo.com> References: 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="36722"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: emacs-devel@gnu.org To: Stefan Kangas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Aug 24 08:58:46 2022 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 1oQkLd-0009PE-Hq for ged-emacs-devel@m.gmane-mx.org; Wed, 24 Aug 2022 08:58:45 +0200 Original-Received: from localhost ([::1]:42516 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQkLc-0003Nv-Fm for ged-emacs-devel@m.gmane-mx.org; Wed, 24 Aug 2022 02:58:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42340) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQkJP-0001nS-KJ for emacs-devel@gnu.org; Wed, 24 Aug 2022 02:56:27 -0400 Original-Received: from sonic311-25.consmr.mail.ne1.yahoo.com ([66.163.188.206]:40700) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oQkJO-0000NP-3Y for emacs-devel@gnu.org; Wed, 24 Aug 2022 02:56:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1661324182; bh=wd6ZLPdYtZm12lCJp5GJeCDGBSfMgwXNdMYKKScIrII=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=F/4BM7w2D6NqaxuOQGUmEVxL3Aa5usK8Txj0gUVAsth6LP/gDBKbUKGj9OXGJHkLfTa+Mp0SENwowRJcHj/ykFjYmoB17pXND64HNA7o7Y8/sXhwO0Vx1LfXHiMCm1XTvkTKAgugvqhK4kCfX70rBS097nE0MTHjk/UeIBGohpj6ja4rKHg64eL5pP33MBkENp7nunE+iYiZmfdlXPPXPqrwUCCM2L6R5YpU9En7ITbiqHJ7nEsKhIRwxb/503/ydgWFkGFS7EoiH7+HrZWsreTJUCKt/2gO2dVLFbf+EjJopf6OCW0dD16Jiip+0jr2C+bag0KT3Ayk2OJl7wd9/g== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1661324182; bh=vPCNOu8WG8hdtWmd/7GBEbFJ67+e91QectXM1Mcci25=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=js1YTzGXPMK8dsQWc9RNwtSQsz8TfahSTt10TKT8mJrFEm9EGxOZuMlzMe9tyaP+SHiiCl8lT9Yej7vW1VDyT46z4zMps2LcGzYm3UsP7XAeAbNB5yX3ziiGzwYHPeb41hktNtQljjS9Q297fNZ9yz/mdhuAKJdJl7fv91BsAS5wTM776Wohrhwx7a/A7EA/O8KEJ/yhVKb31JGK53sjFzULgLSuIvOtoCKQe7doqxwOmvj7PBsih2E7NEJaSsuaClSZb0gxzUn1OBhtztBaCpExCxXSsd4t/sie8U9M/TZl8qmbkKc7spZ3R0gUicEJg733jqTkRCAQNck9uaEzPg== X-YMail-OSG: o77KgRkVM1mgRg_lznQ0zF1bPvX8RO4Ej1MbzyrwBmHtydsYKhp4Uezkl26V2mY 0bVHPtjbOCZYOrX1nAURmYUjR4ReB_12rQ_1kUBNq6W0WzjJVdKv9YvwxmWOjNt2wqjivj4nkWoo H.hHKTzAZ46W9mApVNh9CxH5iBswIpyTMb6eLlplwC41S8A7d_V2qiAdYh9zZR3hSttRw7OowZR0 jE24IcIOYJHO1MZWNnWvuSd7iV.WiB9sfsISX4W6ZfgzQdFdsS6saBlZsOpr.DSExvzTuxBM7hOR xfJrZtTp1jY8Gj4riovywLaFRyuZUr6B7RGypAsLI0oKWDfCFNUJ6BuyPkW85VzcIjktFuYr1n9Z O4xQGj6wh6AxYHYv2jBINZiwq9ZQxT.dvbMGezeevbm4vzwr6lP.L0IUSd4VY.nGBKatGC56HKXp ufBAq.R7_IuJiEiWfloJb5EX5XP_9i3nmwAdyME.xkZTVgcHpF6UvOvUGMElMYNF29Li5ggx127Y fMW.8m1V4CWdYyD1Rrvfw6NJby7ebM3aSgQBzLxaxQ0ZKIfVTzdLdylXTywzXnO9Qzyr5iYuHXwQ .PjZZfTfuo5l5JvEQXrUaorkwDcv1qwbWxIINgUrH.lfNjT2Cz21WjjYDM_w4cUHvZsfH7.5OYIa u88pMoiLNL0GPGsXLs9e5PK1k0lC1DicOtdAC19DqGj4RGvX4NRY_23h.NTBdD1HJHXZaTx91hFS 1mrkS.RHUiADQNdmy8jTfDGlZGCIAd4kw6nnvoJ3mkCcVzrhmbWILciM.JIlY3YkoQmntUncNw37 VkLDhuTARk33z5bQY6Oviws2vMv5Tr4MLHIUwS1Pf8 X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.ne1.yahoo.com with HTTP; Wed, 24 Aug 2022 06:56:22 +0000 Original-Received: by hermes--canary-production-sg3-6f58cd9b5-jrp6f (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID d2b23736b4273f43d37043e543a7a38a; Wed, 24 Aug 2022 06:56:15 +0000 (UTC) In-Reply-To: (Stefan Kangas's message of "Tue, 23 Aug 2022 23:45:43 -0700") X-Mailer: WebService/1.1.20560 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.188.206; envelope-from=luangruo@yahoo.com; helo=sonic311-25.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:293962 Archived-At: Stefan Kangas writes: > The exact file chosen will depend on the available icon sets, the user > option `icons-set-priority', and the font size.[1] > (define-icon warnings-suppress button > '((image "warning") ;;; <<< NEW LINE >>> > (emoji "=E2=9B=94") > (symbol " =E2=96=A0 ") > (text " stop ")) > "Suppress warnings." > :version "29.1" > :help-echo "Click to suppress this warning type") Great, thanks! We will finally have some real icons instead of Emoji and text. But please look at the comments I made about providing PBM images, not deleting existing XPM and PBM icons, and the inability of colormapped displays to display anything other than XPM and PBM. AFAIK ImageMagick supports converting icons from SVG to XPM/PBM, so it should be easy to automate.