emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#60669: closed (Linux Emacs 27.1 custom toolbar icons)


From: GNU bug Tracking System
Subject: bug#60669: closed (Linux Emacs 27.1 custom toolbar icons)
Date: Sun, 03 Sep 2023 09:42:01 +0000

Your message dated Sun, 3 Sep 2023 02:41:11 -0700
with message-id 
<CADwFkmmmRp7XHG5m2BHqL7AKLGTv7fjw5CYwNH19YjirFumzJg@mail.gmail.com>
and subject line Re: bug#60669: Linux Emacs 27.1 custom toolbar icons
has caused the debbugs.gnu.org bug report #60669,
regarding Linux Emacs 27.1 custom toolbar icons
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
60669: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60669
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: Linux Emacs 27.1 custom toolbar icons Date: Sun, 8 Jan 2023 13:01:26 -0800 User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 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.




--- End Message ---
--- Begin Message --- Subject: Re: bug#60669: Linux Emacs 27.1 custom toolbar icons Date: Sun, 3 Sep 2023 02:41:11 -0700
Eli Zaretskii <eliz@gnu.org> writes:

>> Date: Sun, 8 Jan 2023 13:01:26 -0800
>> From: David McCracken <davidm@ixont.com>
>>
>> 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.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]