From unknown Tue Jun 17 22:22:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#60669: Linux Emacs 27.1 custom toolbar icons Resent-From: David McCracken Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 08 Jan 2023 23:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60669 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 60669@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1673221148950 (code B ref -1); Sun, 08 Jan 2023 23:40:02 +0000 Received: (at submit) by debbugs.gnu.org; 8 Jan 2023 23:39:08 +0000 Received: from localhost ([127.0.0.1]:34981 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pEfFs-0000FA-F2 for submit@debbugs.gnu.org; Sun, 08 Jan 2023 18:39:08 -0500 Received: from lists.gnu.org ([209.51.188.17]:36264) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pEdHc-0000vp-UA for submit@debbugs.gnu.org; Sun, 08 Jan 2023 16:32:52 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pEdHc-0008De-Ox for bug-gnu-emacs@gnu.org; Sun, 08 Jan 2023 16:32:48 -0500 Received: from bosmailout05.eigbox.net ([66.96.188.5]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pEdHb-0002fk-6W for bug-gnu-emacs@gnu.org; Sun, 08 Jan 2023 16:32:48 -0500 Received: from [10.20.15.1] (helo=bosmailscan01.eigbox.net) by bosmailout05.eigbox.net with esmtp (Exim) id 1pEcnN-0005BT-8f for bug-gnu-emacs@gnu.org; Sun, 08 Jan 2023 16:01:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ixont.com; s=dkim; h=Sender:Content-Transfer-Encoding:Content-Type:Subject:From:To: MIME-Version:Date:Message-ID:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=8BOnbff6202Xev9WX6QqGP1gJePPYBgcQy+T1mscRmY=; b=CL9ig+41vLqNxVIbjLBdYqn4a9 tLMS+rJO0VQbmM/qUS1+zqKRLB0dZpW6ciE87TQ6Z71+pn+U/amVJk4eMBdoqBhusH2grTSCXvOvz NA/T0MmS7LaOLfwRK5Ti48LDg8vbHT5b91gxR+JbERGbEsvcgUCsQpaITJZ6bKyVqQ98XojMGQqpX MFzLOzcLVdfYzAAF4crxPM8LLF1CYIRmqAET3hh2avHpvtL7R1Sau3xlWx2YGcDL5uNqMHhCy8+4h 7iAsU4+cL3rVMmLRJiHuHWMmYgvl4An4/L5K0UmWzfry/13N69IlY7QC6+eHMG/30ggbmEMLTCjhX sa9db6vA==; Received: from [10.115.3.32] (helo=bosimpout12) by bosmailscan01.eigbox.net with esmtp (Exim) id 1pEcnM-0006v3-56 for bug-gnu-emacs@gnu.org; Sun, 08 Jan 2023 16:01:32 -0500 Received: from bosauthsmtp08.yourhostingaccount.com ([10.20.18.8]) by bosimpout12 with id 6M1V290010ASroS01M1YuS; Sun, 08 Jan 2023 16:01:32 -0500 X-Authority-Analysis: v=2.3 cv=d4VuNSrE c=1 sm=1 tr=0 a=BF10AaGwQl41phDg7WSPyA==:117 a=8V9CQAzvb1UE/5s8aP8Njg==:17 a=IkcTkHD0fZMA:10 a=RvmDmJFTN0MA:10 a=mKwSscnsFN4A:10 a=ftvGiPgexfJggSUz8EAA:9 a=QEXdDO2ut3YA:10 Received: from 23-115-169-72.lightspeed.mtryca.sbcglobal.net ([23.115.169.72]:60266 helo=[192.168.1.66]) by bosauthsmtp08.eigbox.net with esmtpsa (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim) id 1pEcnI-0008Cr-RE for bug-gnu-emacs@gnu.org; Sun, 08 Jan 2023 16:01:28 -0500 Message-ID: <998e8e01-2c89-da4b-9c36-83b987af3bdf@ixont.com> Date: Sun, 8 Jan 2023 13:01:26 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Content-Language: en-US From: David McCracken Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-EN-UserInfo: 7db9acb10a66b5d38e8efde72e4a1877:931c98230c6409dcc37fa7e93b490c27 X-EN-AuthUser: davidm@ixont.com X-EN-OrigIP: 23.115.169.72 X-EN-OrigHost: 23-115-169-72.lightspeed.mtryca.sbcglobal.net Received-SPF: pass client-ip=66.96.188.5; envelope-from=SRS0=lx//uD=5F=ixont.com=davidm@eigbox.net; helo=bosmailout05.eigbox.net X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Mailman-Approved-At: Sun, 08 Jan 2023 18:39:03 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.2 (-) The Emacs 27.1 provided (apt-get install) by Ubuntu 22.04 reduces support for custom toolbar icons. It only works with B/W pbm files and only if located in /usr/share/emacs/27.1/etc/images and only if there isn't an xpm file with the same base name. i.e. name.pbm works but not if there is a name.xpm in the directory. If these conditions are not met nothing is displayed. This does not seem to be baked into Emacs 27.1 because these restrictions don't exist in Windows Emacs 27.1. They are also not inherent in Linux because they don't exist in Linux Emacs 26.1. There are two serious problems with these seemingly unnecessary changes. B/W icons reduce not just the aesthetic quality but also subtle visual clues that help an icon convey its meaning. Accepting only icons in the version-numbered installation directory means that custom icons are wiped out by upgrading Emacs. The installer program I provide with my Emacs library stores its (xpm) icons in ~/icons (a directory created by my installer). My library accesses these by e.g. (tool-bar-add-item "~/icons/lxa-pin" Linux Emacs 27.1 is the only version in which this does not work. To test whether it does not like that the directory is relatively insecure, I tried moving my icons to /usr/local but they were still ignored. In all other versions, adding the xpm extension to the reference causes it to fail but I tested this anyway and it accomplished nothing. From unknown Tue Jun 17 22:22:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#60669: Linux Emacs 27.1 custom toolbar icons Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 09 Jan 2023 03:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60669 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: David McCracken Cc: 60669@debbugs.gnu.org Received: via spool by 60669-submit@debbugs.gnu.org id=B60669.16732351633776 (code B ref 60669); Mon, 09 Jan 2023 03:33:02 +0000 Received: (at 60669) by debbugs.gnu.org; 9 Jan 2023 03:32:43 +0000 Received: from localhost ([127.0.0.1]:35365 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pEitu-0000yp-U9 for submit@debbugs.gnu.org; Sun, 08 Jan 2023 22:32:43 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54196) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pEits-0000yY-Gv for 60669@debbugs.gnu.org; Sun, 08 Jan 2023 22:32:41 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pEitn-00031C-5z; Sun, 08 Jan 2023 22:32:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=cnLfaMY2/URPZ73tGxNEOoF8kxWEvoQ4IaxuGzvEanE=; b=QeNAxdDbCvw2 6H3w6GMlJJROM/mAfRH1HVMZOjGLoX8XbiJC69JoUc0d9ubsCJmIbFPHa0zZRac5Xwz6ke2jeXflj rj6Pf71DN+8miu292eAF6bJM3yNkn+HkP4t6HFC1mqkhBu7yx+JbNaoIG9W2kZcAXz9abJQJPHnjn SRb4Um/xMGM/k+hUtyvnHVkZQwMTu3EVhCjEk9fOgxxIsDKvhggiyDskOji0GJeYgFLnr5CyGhppm q97zWWSMsF1ollmz3hk7VUwKAJ2kvzTOaer0XXTFYIGBOVffllEhyFrHbR1Syh+AMCndqQNoGtNM9 KSyc6+xtIuLdg0E8YAWXww==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pEitm-0003SK-IW; Sun, 08 Jan 2023 22:32:34 -0500 Date: Mon, 09 Jan 2023 05:32:58 +0200 Message-Id: <83eds4pel1.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <998e8e01-2c89-da4b-9c36-83b987af3bdf@ixont.com> (message from David McCracken on Sun, 8 Jan 2023 13:01:26 -0800) References: <998e8e01-2c89-da4b-9c36-83b987af3bdf@ixont.com> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Sun, 8 Jan 2023 13:01:26 -0800 > From: David McCracken > > The Emacs 27.1 provided (apt-get install) by Ubuntu 22.04 reduces > support for custom toolbar icons. It only works with B/W pbm files and > only if located in /usr/share/emacs/27.1/etc/images and only if there > isn't an xpm file with the same base name. i.e. name.pbm works but not > if there is a name.xpm in the directory. If these conditions are not met > nothing is displayed. > > This does not seem to be baked into Emacs 27.1 because these > restrictions don't exist in Windows Emacs 27.1. They are also not > inherent in Linux because they don't exist in Linux Emacs 26.1. > > There are two serious problems with these seemingly unnecessary changes. > B/W icons reduce not just the aesthetic quality but also subtle visual > clues that help an icon convey its meaning. Accepting only icons in the > version-numbered installation directory means that custom icons are > wiped out by upgrading Emacs. > > The installer program I provide with my Emacs library stores its (xpm) > icons in ~/icons (a directory created by my installer). My library > accesses these by e.g. > (tool-bar-add-item "~/icons/lxa-pin" > Linux Emacs 27.1 is the only version in which this does not work. To > test whether it does not like that the directory is relatively insecure, > I tried moving my icons to /usr/local but they were still ignored. In > all other versions, adding the xpm extension to the reference causes it > to fail but I tested this anyway and it accomplished nothing. Can you please show a reproducible recipe, starting from "emacs -Q", that exhibits the problem you are describing? I don't think I understand what exactly doesn't work in your case. Also, please use "M-x report-emacs-bug" to post the details, as that command collects important details about the Emacs build configuration that make investigation easier. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 10 04:08:05 2023 Received: (at control) by debbugs.gnu.org; 10 Jan 2023 09:08:05 +0000 Received: from localhost ([127.0.0.1]:38776 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pFAc0-00085e-Uq for submit@debbugs.gnu.org; Tue, 10 Jan 2023 04:08:05 -0500 Received: from mail-oa1-f47.google.com ([209.85.160.47]:39867) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pFAbw-00084Z-4y for control@debbugs.gnu.org; Tue, 10 Jan 2023 04:08:01 -0500 Received: by mail-oa1-f47.google.com with SMTP id 586e51a60fabf-1442977d77dso11521927fac.6 for ; Tue, 10 Jan 2023 01:08:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:mime-version:from:from:to:cc:subject :date:message-id:reply-to; bh=kpByKzA2c+e/PSUC69yOoRh3PNpNb2aTYZwO7q0PKMs=; b=Wk55gG25LzrbUZ8/vt3/1EQjHymedFYa/u4vCo7mAnsBXOF6bFrd8q3wSrbxTfWSh9 V9oqD+VOGjrHP7V8RRayO/LlF5t0Dft6pc+vsY0l6CbQovb6i9n1FjzSseWe/Q5CwxY7 zQKp7B8xsbHbbT6igIxZKzKM+9NTPQa4AVVJBumcFe0KashZdH7jVjeh2cL5rL7nu66c N+BAnAOpOOtcezJy8ds2gFqeHpLsil/y0RUxMBPcl4tHEQQ9l/f2AKCT2bbfyaKauNbU uiaSvXqZYWE9BHfP/RDeoYCQ+TfLqvrEf17ztJVJowsfPd80gKVVFMx/XQ5zQuFPP22K 7TYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=kpByKzA2c+e/PSUC69yOoRh3PNpNb2aTYZwO7q0PKMs=; b=RDZpuGPflrLEYBBscXB/ij+wgLsv7qzHBkgqlVOTu0H6NSJJJ0Ss5LjPrsIT95B2HB fJv6yJ+6QH2GoF4qGVyVNAX/mMy++llhujXy0Ckgiz6R7SWc/dlsqLDyKUE46hfwK8Lz luTjfseWNcpVrkSjjWv1Mm5xTnNcQuJ4H3agcKOJarJTaREGgwY2ceworo9YJHRT3Bg0 TQjqZjLmqHTHtd9219NSvHnphqo9Mh0CqNjEbs3zYzoHmDNEjqTBzlgcvRQzvl1iRO78 TP0Zf+qz58a4O3q8ZUleSNejz8l8dXZTfp5Tc433eFB+4hFdv3MmUy5QxL/EUVkeiQAu U4gA== X-Gm-Message-State: AFqh2krJZdrB32UWpmGCWpdcytjTdW8FLf809ZohdYai9IGjSxCza842 RZriRBcVGhfwJMjx7BK34/hKFxJsaWaZ7Rd2KbDpu4H9 X-Google-Smtp-Source: AMrXdXu4Fzi+BhmV7/wX5hxH0ljKFxPfLL0NUofmzWhv/YWB/05erZ4mAIL/HoZnpYkiMLI6ecQQeK/HF5mANN38acA= X-Received: by 2002:a05:6870:472a:b0:148:28c1:3d46 with SMTP id b42-20020a056870472a00b0014828c13d46mr4057707oaq.199.1673341674697; Tue, 10 Jan 2023 01:07:54 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 10 Jan 2023 01:07:54 -0800 From: Stefan Kangas X-Hashcash: 1:20:230110:control@debbugs.gnu.org::vVKzqI8C48QljG7W:3NlB MIME-Version: 1.0 Date: Tue, 10 Jan 2023 01:07:54 -0800 Message-ID: Subject: To: control@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: tags 60669 + moreinfo thanks Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (stefankangas[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.160.47 listed in wl.mailspike.net] 2.0 BLANK_SUBJECT Subject is present but empty 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) tags 60669 + moreinfo thanks From unknown Tue Jun 17 22:22:19 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: David McCracken Subject: bug#60669: closed (Re: bug#60669: Linux Emacs 27.1 custom toolbar icons) Message-ID: References: <998e8e01-2c89-da4b-9c36-83b987af3bdf@ixont.com> X-Gnu-PR-Message: they-closed 60669 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: moreinfo Reply-To: 60669@debbugs.gnu.org Date: Sun, 03 Sep 2023 09:42:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1693734122-7126-1" This is a multi-part message in MIME format... ------------=_1693734122-7126-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #60669: Linux Emacs 27.1 custom toolbar icons which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 60669@debbugs.gnu.org. --=20 60669: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D60669 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1693734122-7126-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 60669-done) by debbugs.gnu.org; 3 Sep 2023 09:41:31 +0000 Received: from localhost ([127.0.0.1]:39546 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qcjbm-0001q9-HQ for submit@debbugs.gnu.org; Sun, 03 Sep 2023 05:41:30 -0400 Received: from mail-lj1-x22e.google.com ([2a00:1450:4864:20::22e]:42381) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qcjbk-0001pv-60 for 60669-done@debbugs.gnu.org; Sun, 03 Sep 2023 05:41:29 -0400 Received: by mail-lj1-x22e.google.com with SMTP id 38308e7fff4ca-2bcb54226e7so5846141fa.1 for <60669-done@debbugs.gnu.org>; Sun, 03 Sep 2023 02:41:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693734072; x=1694338872; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=eBy9SsQF1b7O3P4+vmBGfD7QDo9Ffta4dQ0KO0BjAqM=; b=iUL1s4/LK9sSK3icX8tlbleqDsaPFOi3cwdn9aDjQ/Pwe7f3b6a78fD/BtExeGOef9 8foeK1X19vmVeCXRqNK4Ndid0EP1Gr5ZfmDNZSapbtXQfL1KVfqFWNm+AhemkdyMRYpa X2KhUNMwuvMUQNttMmERDRYjWgyIIqbt55MTgL1QB0Yev2648CQUHEeSityO/GG1rHXY RKxzCpELDNpN8GlmGYKu0iMdqioQo9Tu4MANFc+dzFvQzEW1Pbp//+IA79qPAv2PPmSW r7bx2f8CLaS/NYUmctXZ3Xe6SZAOe+22J2dBC+OtmY2cNP9uzQLKDfbi6bmQHbIO4S3D /NxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693734072; x=1694338872; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=eBy9SsQF1b7O3P4+vmBGfD7QDo9Ffta4dQ0KO0BjAqM=; b=SAJPuPaC+FbOR3Gsir6oryQy12aBdnnWHkUL/NpxOug+N6ViEkFAdpu1Q08pcp+d1+ k9yqsZzAaiwqRRn11kvcYNpzCnoLYfGJ2eXByh/yMiJ6+Y5hqIe2eX66YStN4O5Javuo AKbgfwYdAwcJDYFwd0zcQF3j+Kfq7R1Lb42GwMd4e5ll+87xk6e3c7nKb/q6p3uM0O6c 2hWRoM5xyxth0r5rI6O8Gp/37wH4YEu53wuoHruWyI/cq4jHYsUcvghG/5SZXquoYjO0 KCtSQZwthgfgKC9ZwK/nqhYXRTTvGSbCJrRRgNXqm7F4HT/qugAQM9Cis3Gqipjvc71k Tx6w== X-Gm-Message-State: AOJu0YzanPwoP1HpPcT03pKrzH0t/ASvHbV80h6/vQa+sdSo3EKpug8C 3HH0+c3DlZSOQ/G6hnsHUf0RI7or1M39kc6qF8I= X-Google-Smtp-Source: AGHT+IH7mzmWiheXaM7Ra50rfW906Rf8eWeKv/5oVFTxn6vNOJS+pAfq9jrVPtI7vE3/ACg82vYK3bgg9S43FkFy4IY= X-Received: by 2002:a2e:b168:0:b0:2bd:1f0d:8c07 with SMTP id a8-20020a2eb168000000b002bd1f0d8c07mr2329996ljm.19.1693734072011; Sun, 03 Sep 2023 02:41:12 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 3 Sep 2023 02:41:11 -0700 From: Stefan Kangas In-Reply-To: <83eds4pel1.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 09 Jan 2023 05:32:58 +0200") References: <998e8e01-2c89-da4b-9c36-83b987af3bdf@ixont.com> <83eds4pel1.fsf@gnu.org> MIME-Version: 1.0 Date: Sun, 3 Sep 2023 02:41:11 -0700 Message-ID: Subject: Re: bug#60669: Linux Emacs 27.1 custom toolbar icons To: Eli Zaretskii Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 60669-done Cc: 60669-done@debbugs.gnu.org, David McCracken X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: >> Date: Sun, 8 Jan 2023 13:01:26 -0800 >> From: David McCracken >> >> The Emacs 27.1 provided (apt-get install) by Ubuntu 22.04 reduces >> support for custom toolbar icons. It only works with B/W pbm files and >> only if located in /usr/share/emacs/27.1/etc/images and only if there >> isn't an xpm file with the same base name. i.e. name.pbm works but not >> if there is a name.xpm in the directory. If these conditions are not met >> nothing is displayed. >> >> This does not seem to be baked into Emacs 27.1 because these >> restrictions don't exist in Windows Emacs 27.1. They are also not >> inherent in Linux because they don't exist in Linux Emacs 26.1. >> >> There are two serious problems with these seemingly unnecessary changes. >> B/W icons reduce not just the aesthetic quality but also subtle visual >> clues that help an icon convey its meaning. Accepting only icons in the >> version-numbered installation directory means that custom icons are >> wiped out by upgrading Emacs. >> >> The installer program I provide with my Emacs library stores its (xpm) >> icons in ~/icons (a directory created by my installer). My library >> accesses these by e.g. >> (tool-bar-add-item "~/icons/lxa-pin" >> Linux Emacs 27.1 is the only version in which this does not work. To >> test whether it does not like that the directory is relatively insecure, >> I tried moving my icons to /usr/local but they were still ignored. In >> all other versions, adding the xpm extension to the reference causes it >> to fail but I tested this anyway and it accomplished nothing. > > Can you please show a reproducible recipe, starting from "emacs -Q", > that exhibits the problem you are describing? I don't think I > understand what exactly doesn't work in your case. > > Also, please use "M-x report-emacs-bug" to post the details, as that > command collects important details about the Emacs build configuration > that make investigation easier. > > Thanks. More information was requested, but none was given within 9 months, so I'm closing this bug. If this is still an issue, please reply to this email (use "Reply to all" in your email client) and we can reopen the bug report. ------------=_1693734122-7126-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 8 Jan 2023 23:39:08 +0000 Received: from localhost ([127.0.0.1]:34981 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pEfFs-0000FA-F2 for submit@debbugs.gnu.org; Sun, 08 Jan 2023 18:39:08 -0500 Received: from lists.gnu.org ([209.51.188.17]:36264) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pEdHc-0000vp-UA for submit@debbugs.gnu.org; Sun, 08 Jan 2023 16:32:52 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pEdHc-0008De-Ox for bug-gnu-emacs@gnu.org; Sun, 08 Jan 2023 16:32:48 -0500 Received: from bosmailout05.eigbox.net ([66.96.188.5]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pEdHb-0002fk-6W for bug-gnu-emacs@gnu.org; Sun, 08 Jan 2023 16:32:48 -0500 Received: from [10.20.15.1] (helo=bosmailscan01.eigbox.net) by bosmailout05.eigbox.net with esmtp (Exim) id 1pEcnN-0005BT-8f for bug-gnu-emacs@gnu.org; Sun, 08 Jan 2023 16:01:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ixont.com; s=dkim; h=Sender:Content-Transfer-Encoding:Content-Type:Subject:From:To: MIME-Version:Date:Message-ID:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=8BOnbff6202Xev9WX6QqGP1gJePPYBgcQy+T1mscRmY=; b=CL9ig+41vLqNxVIbjLBdYqn4a9 tLMS+rJO0VQbmM/qUS1+zqKRLB0dZpW6ciE87TQ6Z71+pn+U/amVJk4eMBdoqBhusH2grTSCXvOvz NA/T0MmS7LaOLfwRK5Ti48LDg8vbHT5b91gxR+JbERGbEsvcgUCsQpaITJZ6bKyVqQ98XojMGQqpX MFzLOzcLVdfYzAAF4crxPM8LLF1CYIRmqAET3hh2avHpvtL7R1Sau3xlWx2YGcDL5uNqMHhCy8+4h 7iAsU4+cL3rVMmLRJiHuHWMmYgvl4An4/L5K0UmWzfry/13N69IlY7QC6+eHMG/30ggbmEMLTCjhX sa9db6vA==; Received: from [10.115.3.32] (helo=bosimpout12) by bosmailscan01.eigbox.net with esmtp (Exim) id 1pEcnM-0006v3-56 for bug-gnu-emacs@gnu.org; Sun, 08 Jan 2023 16:01:32 -0500 Received: from bosauthsmtp08.yourhostingaccount.com ([10.20.18.8]) by bosimpout12 with id 6M1V290010ASroS01M1YuS; Sun, 08 Jan 2023 16:01:32 -0500 X-Authority-Analysis: v=2.3 cv=d4VuNSrE c=1 sm=1 tr=0 a=BF10AaGwQl41phDg7WSPyA==:117 a=8V9CQAzvb1UE/5s8aP8Njg==:17 a=IkcTkHD0fZMA:10 a=RvmDmJFTN0MA:10 a=mKwSscnsFN4A:10 a=ftvGiPgexfJggSUz8EAA:9 a=QEXdDO2ut3YA:10 Received: from 23-115-169-72.lightspeed.mtryca.sbcglobal.net ([23.115.169.72]:60266 helo=[192.168.1.66]) by bosauthsmtp08.eigbox.net with esmtpsa (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim) id 1pEcnI-0008Cr-RE for bug-gnu-emacs@gnu.org; Sun, 08 Jan 2023 16:01:28 -0500 Message-ID: <998e8e01-2c89-da4b-9c36-83b987af3bdf@ixont.com> Date: Sun, 8 Jan 2023 13:01:26 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Content-Language: en-US To: bug-gnu-emacs@gnu.org From: David McCracken Subject: Linux Emacs 27.1 custom toolbar icons Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-EN-UserInfo: 7db9acb10a66b5d38e8efde72e4a1877:931c98230c6409dcc37fa7e93b490c27 X-EN-AuthUser: davidm@ixont.com X-EN-OrigIP: 23.115.169.72 X-EN-OrigHost: 23-115-169-72.lightspeed.mtryca.sbcglobal.net Received-SPF: pass client-ip=66.96.188.5; envelope-from=SRS0=lx//uD=5F=ixont.com=davidm@eigbox.net; helo=bosmailout05.eigbox.net X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 08 Jan 2023 18:39:03 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.2 (-) The Emacs 27.1 provided (apt-get install) by Ubuntu 22.04 reduces support for custom toolbar icons. It only works with B/W pbm files and only if located in /usr/share/emacs/27.1/etc/images and only if there isn't an xpm file with the same base name. i.e. name.pbm works but not if there is a name.xpm in the directory. If these conditions are not met nothing is displayed. This does not seem to be baked into Emacs 27.1 because these restrictions don't exist in Windows Emacs 27.1. They are also not inherent in Linux because they don't exist in Linux Emacs 26.1. There are two serious problems with these seemingly unnecessary changes. B/W icons reduce not just the aesthetic quality but also subtle visual clues that help an icon convey its meaning. Accepting only icons in the version-numbered installation directory means that custom icons are wiped out by upgrading Emacs. The installer program I provide with my Emacs library stores its (xpm) icons in ~/icons (a directory created by my installer). My library accesses these by e.g. (tool-bar-add-item "~/icons/lxa-pin" Linux Emacs 27.1 is the only version in which this does not work. To test whether it does not like that the directory is relatively insecure, I tried moving my icons to /usr/local but they were still ignored. In all other versions, adding the xpm extension to the reference causes it to fail but I tested this anyway and it accomplished nothing. ------------=_1693734122-7126-1-- From unknown Tue Jun 17 22:22:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#60669: Linux Emacs 27.1 custom toolbar icons Resent-From: David McCracken Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 08 Sep 2023 04:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60669 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: Stefan Kangas , Eli Zaretskii Cc: 60669-done@debbugs.gnu.org Received: via spool by 60669-done@debbugs.gnu.org id=D60669.169414609028214 (code D ref 60669); Fri, 08 Sep 2023 04:09:02 +0000 Received: (at 60669-done) by debbugs.gnu.org; 8 Sep 2023 04:08:10 +0000 Received: from localhost ([127.0.0.1]:41877 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeSmv-0007L0-L9 for submit@debbugs.gnu.org; Fri, 08 Sep 2023 00:08:10 -0400 Received: from bosmailout06.eigbox.net ([66.96.187.6]:48215) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeSmq-0007KT-UT for 60669-done@debbugs.gnu.org; Fri, 08 Sep 2023 00:08:08 -0400 Received: from bosmailscan03.eigbox.net ([10.20.15.3]) by bosmailout06.eigbox.net with esmtp (Exim) id 1qeSmj-0006Ze-Aj for 60669-done@debbugs.gnu.org; Fri, 08 Sep 2023 00:07:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ixont.com; s=dkim; h=Sender:Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=Q0bz42FsZRit1iOuMa5+ydVauxgKT5w27tGdQMFfk0U=; b=d5NhnehXji3QFgPnrXEBfwrKGH Uzk4fZ9Agwo3dPpOxj3Y5rQPMXSV79I2PSlyFOHQ2I0n9Ey6cHibyvYj41f8WhPZFXErOfe4WQSM1 XS6jPh2xJFwOURPSMTNjJIKS5eaEtorcesSPclGIWPqdmeLxyiJ+7c6IIjNGcap6U0jRaR/jc4Nda taDpuloKXSovZY4LhceDQzLEourke+SVUXjKsnulm7YmAMVeOWCTJHSZY0t/VJqzkvqdvU+jw90TA pyKLDLTl8+5mnPbyn4tL4jcwBbiHUyitNvx+7rVtTQUfvpLy6z7ocUoCB/R20EkjmARq0kmbS53/8 52JRvAEA==; Received: from [10.115.3.33] (helo=bosimpout13) by bosmailscan03.eigbox.net with esmtp (Exim) id 1qeSmi-0004Oz-Ti for 60669-done@debbugs.gnu.org; Fri, 08 Sep 2023 00:07:56 -0400 Received: from bosauthsmtp10.yourhostingaccount.com ([10.20.18.10]) by bosimpout13 with id jG7t2A0020D2CUy01G7wbt; Fri, 08 Sep 2023 00:07:56 -0400 X-Authority-Analysis: v=2.3 cv=G76H7+s5 c=1 sm=1 tr=0 a=Kpo39fPXdbgqDwiI3/AEUA==:117 a=8V9CQAzvb1UE/5s8aP8Njg==:17 a=IkcTkHD0fZMA:10 a=zNV7Rl7Rt7sA:10 a=mDV3o1hIAAAA:8 a=5uJjYwlGAAAA:8 a=4mSHN45XG_Ll4FMtTgIA:9 a=QEXdDO2ut3YA:10 a=_FVE-zBwftR9WsbkzFJk:22 a=BFCC1qkpAUusnFHpP09J:22 Received: from 23-115-169-72.lightspeed.mtryca.sbcglobal.net ([23.115.169.72]:50183 helo=[192.168.1.66]) by bosauthsmtp10.eigbox.net with esmtpsa (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim) id 1qeSmf-0005CA-7L; Fri, 08 Sep 2023 00:07:53 -0400 Message-ID: Date: Thu, 7 Sep 2023 21:07:59 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird References: <998e8e01-2c89-da4b-9c36-83b987af3bdf@ixont.com> <83eds4pel1.fsf@gnu.org> Content-Language: en-US From: David McCracken In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-EN-UserInfo: 7db9acb10a66b5d38e8efde72e4a1877:931c98230c6409dcc37fa7e93b490c27 X-EN-AuthUser: davidm@ixont.com X-EN-OrigIP: 23.115.169.72 X-EN-OrigHost: 23-115-169-72.lightspeed.mtryca.sbcglobal.net X-Spam-Score: 0.3 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) I could not do what you asked because I restored an earlier version of Ubuntu (20.04) and Emacs (26.3) to verify that it was a new problem. The problem did not exist in the earlier versions. I wasn't going to deliberate corrupt my computer again just for a little information. On 2023-09-03 2:41 AM, Stefan Kangas wrote: > Eli Zaretskii writes: > >>> Date: Sun, 8 Jan 2023 13:01:26 -0800 >>> From: David McCracken >>> >>> The Emacs 27.1 provided (apt-get install) by Ubuntu 22.04 reduces >>> support for custom toolbar icons. It only works with B/W pbm files and >>> only if located in /usr/share/emacs/27.1/etc/images and only if there >>> isn't an xpm file with the same base name. i.e. name.pbm works but not >>> if there is a name.xpm in the directory. If these conditions are not met >>> nothing is displayed. >>> >>> This does not seem to be baked into Emacs 27.1 because these >>> restrictions don't exist in Windows Emacs 27.1. They are also not >>> inherent in Linux because they don't exist in Linux Emacs 26.1. >>> >>> There are two serious problems with these seemingly unnecessary changes. >>> B/W icons reduce not just the aesthetic quality but also subtle visual >>> clues that help an icon convey its meaning. Accepting only icons in the >>> version-numbered installation directory means that custom icons are >>> wiped out by upgrading Emacs. >>> >>> The installer program I provide with my Emacs library stores its (xpm) >>> icons in ~/icons (a directory created by my installer). My library >>> accesses these by e.g. >>> (tool-bar-add-item "~/icons/lxa-pin" >>> Linux Emacs 27.1 is the only version in which this does not work. To >>> test whether it does not like that the directory is relatively insecure, >>> I tried moving my icons to /usr/local but they were still ignored. In >>> all other versions, adding the xpm extension to the reference causes it >>> to fail but I tested this anyway and it accomplished nothing. >> Can you please show a reproducible recipe, starting from "emacs -Q", >> that exhibits the problem you are describing? I don't think I >> understand what exactly doesn't work in your case. >> >> Also, please use "M-x report-emacs-bug" to post the details, as that >> command collects important details about the Emacs build configuration >> that make investigation easier. >> >> Thanks. > More information was requested, but none was given within 9 months, so > I'm closing this bug. If this is still an issue, please reply to this > email (use "Reply to all" in your email client) and we can reopen the > bug report.