[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#65468: 29.1; describe-theme fails to describe some themes not loaded
From: |
Mauro Aranda |
Subject: |
bug#65468: 29.1; describe-theme fails to describe some themes not loaded |
Date: |
Thu, 24 Aug 2023 07:16:10 -0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 |
Eli Zaretskii <eliz@gnu.org> writes:
>> Cc: 65468@debbugs.gnu.org
>> Date: Wed, 23 Aug 2023 06:53:03 -0300
>> From: Mauro Aranda <maurooaranda@gmail.com>
>>
>> Thierry Volpiatto <thievol@posteo.net> writes:
>>
>> > This because `describe-theme-1` is not looping in buffer to find
>> > `deftheme` definition.
>>
>> It is a convention that the first form should be a call to deftheme.
>> But it seems built-in themes have deviated from that convention. And
>> other themes might as well, I don't know.
>>
>> >
>> > Try (describe-theme 'leuven) to reproduce (if not already loaded of
>> course).
>> >
>>
>> At least for the leuven themes, it should be easy to make them follow
>> the convention.
>
> I think we should indeed fix the themes that come with Emacs.
Here's a patch for the leuven themes. And I'm CCing Prot so he can take
a look to adjust the modus-themes.
0001-Adjust-built-in-themes-to-convention-Bug-65468.patch
Description: Text Data