From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: SVG/PNG images in toolbars? Date: Sat, 14 Oct 2017 10:13:14 +0300 Message-ID: <831sm6jj79.fsf@gnu.org> References: <5b6aaac8-6e10-4458-7947-3ac4bd40b47c@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1507965220 9431 195.159.176.226 (14 Oct 2017 07:13:40 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 14 Oct 2017 07:13:40 +0000 (UTC) Cc: emacs-devel@gnu.org To: =?utf-8?Q?Cl=C3=A9ment?= Pit-Claudel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 14 09:13:36 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e3GdR-0000u9-Ca for ged-emacs-devel@m.gmane.org; Sat, 14 Oct 2017 09:13:25 +0200 Original-Received: from localhost ([::1]:53042 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e3GdY-0000wB-Pf for ged-emacs-devel@m.gmane.org; Sat, 14 Oct 2017 03:13:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54831) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e3GdQ-0000vy-4q for emacs-devel@gnu.org; Sat, 14 Oct 2017 03:13:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e3GdN-0003iL-13 for emacs-devel@gnu.org; Sat, 14 Oct 2017 03:13:24 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41367) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e3GdM-0003iH-Tg; Sat, 14 Oct 2017 03:13:20 -0400 Original-Received: from [176.228.60.248] (port=3175 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1e3GdM-0005a9-3R; Sat, 14 Oct 2017 03:13:20 -0400 In-reply-to: <5b6aaac8-6e10-4458-7947-3ac4bd40b47c@gmail.com> (message from =?utf-8?Q?Cl=C3=A9ment?= Pit-Claudel on Sat, 14 Oct 2017 04:15:15 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:219483 Archived-At: > From: Clément Pit-Claudel > Date: Sat, 14 Oct 2017 04:15:15 +0200 > > Question: could we extend tool-bar--image-expression to return a form including references to SVGs and PNGs? I'd be happy to provide a patch. Please show the patch. Though I admit I don't really understand the purpose of such a patch: you can already provide an image spec for a tool-bar button when you write the corresponding define-key expression, and you can secify any images you like in that spec. tool-bar--image-expression is for constructing tool-bar items from menus, AFAIR. Thanks.