GNU bug report logs - #47424
28.0.50; enable-theme shows an empty list

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: Stefan Monnier <monnier@HIDDEN>; dated Fri, 26 Mar 2021 21:42:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 47424 <at> debbugs.gnu.org:


Received: (at 47424) by debbugs.gnu.org; 4 Apr 2021 09:05:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 04 05:05:51 2021
Received: from localhost ([127.0.0.1]:34850 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lSyhb-0008Dd-FU
	for submit <at> debbugs.gnu.org; Sun, 04 Apr 2021 05:05:51 -0400
Received: from mail-pl1-f175.google.com ([209.85.214.175]:37844)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1lSyhZ-0008DO-43
 for 47424 <at> debbugs.gnu.org; Sun, 04 Apr 2021 05:05:51 -0400
Received: by mail-pl1-f175.google.com with SMTP id h20so4355641plr.4
 for <47424 <at> debbugs.gnu.org>; Sun, 04 Apr 2021 02:05:49 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:in-reply-to:references:mime-version:date
 :message-id:subject:to:cc;
 bh=lg0N+A19TxrL34m5xZcj+6ZJ22+/fbeo/ZH9LZF7ZHg=;
 b=KFuX75vg9FaHaukHyzRDB/323jZimIsd4oFJiyyEHeCumhvZgduZRYyIAwuLGe1y7Y
 wugcyFVTTrhm3klICCgMnSUBRxQQxf7WMU+ihpZcHkzUi6yOO6NlgxipA3yENWaXcWb0
 cXzgeXW5QfW4PNVMHX4hXc8397z9RU1MnJnqKj1FQe722hy0egxYgYhNy77ZDN7y6IAF
 nPr5kW972L47xMuUhZzBjHDWZwdbJzpH1QfuMRaVmpXJ1fwInydMrj/gf8GLFe9X1/mD
 mpPq0qDx8y3CdVtO8bYPWPAz1SLxX++kM5XTyTJUcpZRxAJXun3pn1qYtnaIoZ05ykbR
 Uhug==
X-Gm-Message-State: AOAM530FsVbB+QpLYcpclKlcSChTUGmCzt1OpzeQrHhA2il5U96KVnwB
 l4GLknI7MCdV+DZTHmG0SHRW2pozoXY+2LNt7OY=
X-Google-Smtp-Source: ABdhPJxZopQoUhx8UFPriZTHLeVmHys7yx8E0oTLC0mK+xnK8goB83XzMPLp6SbB5nbgXIszQ6X0diLVDrSTSDSSWFo=
X-Received: by 2002:a17:902:7788:b029:e9:11:5334 with SMTP id
 o8-20020a1709027788b02900e900115334mr1395061pll.70.1617527143447; Sun, 04 Apr
 2021 02:05:43 -0700 (PDT)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Sun, 4 Apr 2021 04:05:43 -0500
From: Stefan Kangas <stefan@HIDDEN>
In-Reply-To: <83czvaecf5.fsf@HIDDEN>
References: <jwv5z1dwq2i.fsf@HIDDEN> <m1y2e9e55d.fsf@HIDDEN>
 <jwvtuoxz7ey.fsf-monnier+emacs@HIDDEN>
 <CADwFkmnZZbmuzE3irWXQDLFM7seLPgaipOg7dh6iuHFxSSNziQ@HIDDEN>
 <83czvaecf5.fsf@HIDDEN>
MIME-Version: 1.0
Date: Sun, 4 Apr 2021 04:05:43 -0500
Message-ID: <CADwFkm=gkhHppCgmNCVFfS61uQXRKVYnuUa16BR_PFQhtBaqvQ@HIDDEN>
Subject: Re: bug#47424: 28.0.50; enable-theme shows an empty list
To: Eli Zaretskii <eliz@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 47424
Cc: 47424 <at> debbugs.gnu.org, monnier@HIDDEN, mardani29@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.5 (/)

Eli Zaretskii <eliz@HIDDEN> writes:

>> I'm not exactly sure why we bother differentiating between loading a
>> theme and enabling it.  Technically, I understand that there is a
>> difference.  But why should a user have to fiddle around with it?
>
> For the same reason that loading a Lisp package shouldn't change the
> Emacs state, until the user explicitly activates the features in the
> package.  It's unclean to have loading activate stuff, and we've
> invested an effort during the last years to remove that uncleanliness.

I still don't see why a user should need to worry about this
distinction or the complexities involved.  It seems like a suboptimal
interface.

We are here talking about user-facing features.  I think it should be
enough to have one knob to disable themes and one knob to enable them.

> With themes, you can load several ones and then enable/disable any of
> them whenever you see fit.

I don't see why a user would want/need to load a theme if she does not
intend to use it.  If the user wants to load it for later use, why not
just defer loading it until that time?

And if a user *really* wants to load a theme for some reason, there is
always e.g. `load-file' or `load-library'.

What am I missing?

> Under your proposal, disabling a theme would be impossible without
> unloading it, and that might not be easy to do cleanly.

I'm not sure I follow; I see no need to make it symmetrical in that
sense.  In the same way, we don't bother unloading a library just
because the major-mode involved is not used in any buffer.  But we do
provide a way to autoload major modes.

BTW, why would an end-user ever need to unload a theme?  Is it not
enough to simply disable it?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#47424; Package emacs. Full text available.

Message received at 47424 <at> debbugs.gnu.org:


Received: (at 47424) by debbugs.gnu.org; 4 Apr 2021 07:28:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 04 03:28:50 2021
Received: from localhost ([127.0.0.1]:34788 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lSxBh-0005nB-S4
	for submit <at> debbugs.gnu.org; Sun, 04 Apr 2021 03:28:50 -0400
Received: from eggs.gnu.org ([209.51.188.92]:45588)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1lSxBf-0005my-Uj
 for 47424 <at> debbugs.gnu.org; Sun, 04 Apr 2021 03:28:48 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:37202)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1lSxBa-0004SU-CW; Sun, 04 Apr 2021 03:28:42 -0400
Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2917
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1lSxBV-0006OO-Kj; Sun, 04 Apr 2021 03:28:40 -0400
Date: Sun, 04 Apr 2021 10:28:30 +0300
Message-Id: <83czvaecf5.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Stefan Kangas <stefan@HIDDEN>
In-Reply-To: <CADwFkmnZZbmuzE3irWXQDLFM7seLPgaipOg7dh6iuHFxSSNziQ@HIDDEN>
 (message from Stefan Kangas on Sat, 3 Apr 2021 19:14:29 -0500)
Subject: Re: bug#47424: 28.0.50; enable-theme shows an empty list
References: <jwv5z1dwq2i.fsf@HIDDEN> <m1y2e9e55d.fsf@HIDDEN>
 <jwvtuoxz7ey.fsf-monnier+emacs@HIDDEN>
 <CADwFkmnZZbmuzE3irWXQDLFM7seLPgaipOg7dh6iuHFxSSNziQ@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 47424
Cc: 47424 <at> debbugs.gnu.org, monnier@HIDDEN, mardani29@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

> From: Stefan Kangas <stefan@HIDDEN>
> Date: Sat, 3 Apr 2021 19:14:29 -0500
> Cc: 47424 <at> debbugs.gnu.org, Daniel Martín <mardani29@HIDDEN>
> 
> I'm not exactly sure why we bother differentiating between loading a
> theme and enabling it.  Technically, I understand that there is a
> difference.  But why should a user have to fiddle around with it?

For the same reason that loading a Lisp package shouldn't change the
Emacs state, until the user explicitly activates the features in the
package.  It's unclean to have loading activate stuff, and we've
invested an effort during the last years to remove that uncleanliness.

With themes, you can load several ones and then enable/disable any of
them whenever you see fit.  Under your proposal, disabling a theme
would be impossible without unloading it, and that might not be easy
to do cleanly.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#47424; Package emacs. Full text available.

Message received at 47424 <at> debbugs.gnu.org:


Received: (at 47424) by debbugs.gnu.org; 4 Apr 2021 00:14:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 03 20:14:38 2021
Received: from localhost ([127.0.0.1]:34587 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lSqPW-0007aB-5u
	for submit <at> debbugs.gnu.org; Sat, 03 Apr 2021 20:14:38 -0400
Received: from mail-pj1-f49.google.com ([209.85.216.49]:35688)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1lSqPT-0007Zt-NU
 for 47424 <at> debbugs.gnu.org; Sat, 03 Apr 2021 20:14:36 -0400
Received: by mail-pj1-f49.google.com with SMTP id
 il9-20020a17090b1649b0290114bcb0d6c2so6224559pjb.0
 for <47424 <at> debbugs.gnu.org>; Sat, 03 Apr 2021 17:14:35 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:in-reply-to:references:user-agent
 :mime-version:date:message-id:subject:to:cc;
 bh=iPoytxdDf1M9B1Z5FRlVknyz3okuI/ScmqnXAJMPplQ=;
 b=lf4NnRC1M+QQwjDu5i1kf7WI7s3/+NtSzO7kuVRJJmt5U28Lc1mIvOJE2BSuHZqdif
 neemzEk1JMHWJP/PYMaBhPJbWIFvY8rMvS06hnRispfbSxI5RfmxSOSFXONwFCO7qJso
 K4buadMdl0LLy16G01ovT9q8IPB7CNZg/DL/12A9pginHYpddc4XQTROC9cxibRWUS1O
 p1DfH5+21+IarHqDeMbCqsktwCf991SH/Hd68TnIiGgiYGOeosr7kRlyk9k5xvCxzHal
 SajjJTVNO45dud6ECOhybkETlKX43NgTNvUzGQ1UiklcKmZjiaZu0onxrw2PoIk3YWbF
 P6YQ==
X-Gm-Message-State: AOAM532TDsQiuW0O+O7XIl45b+uMbqbBr7o7WnJ3r4ugZfAODLuRGRcC
 wy6Cu1q3E7r6W6ryB9E1TkxfZumiP288r40D3LSrRPxh
X-Google-Smtp-Source: ABdhPJxpiq9fklH0vxU5u2S8TNjwJG+ZL8b34/Za8+jGtZZB4+GxkA2YAU9kb6msV/EbRgFAOcDyHDGl8urscUXBNiQ=
X-Received: by 2002:a17:90a:bd09:: with SMTP id
 y9mr19844260pjr.179.1617495270031; 
 Sat, 03 Apr 2021 17:14:30 -0700 (PDT)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Sat, 3 Apr 2021 19:14:29 -0500
From: Stefan Kangas <stefan@HIDDEN>
In-Reply-To: <jwvtuoxz7ey.fsf-monnier+emacs@HIDDEN> (Stefan Monnier's message
 of "Fri, 26 Mar 2021 21:57:31 -0400")
References: <jwv5z1dwq2i.fsf@HIDDEN> <m1y2e9e55d.fsf@HIDDEN>
 <jwvtuoxz7ey.fsf-monnier+emacs@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Date: Sat, 3 Apr 2021 19:14:29 -0500
Message-ID: <CADwFkmnZZbmuzE3irWXQDLFM7seLPgaipOg7dh6iuHFxSSNziQ@HIDDEN>
Subject: Re: bug#47424: 28.0.50; enable-theme shows an empty list
To: Stefan Monnier <monnier@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 47424
Cc: 47424 <at> debbugs.gnu.org, =?UTF-8?Q?Daniel_Mart=C3=ADn?= <mardani29@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.5 (/)

Stefan Monnier <monnier@HIDDEN> writes:

>> According to the documentation, `enable-theme' enables variable and face
>> settings of already loaded themes, so I think it makes sense that it
>> doesn't offer completions in emacs -Q, because there is no loaded theme
>> yet.
>>
>> Perhaps you wanted to do M-x load-theme, which should properly complete
>> with themes from etc/themes, among other directories?
>
> I know it works as documented, but I don't think it's the behavior we
> really want.  We should autoload themes, just like we autoload pretty
> much everything else.

I'm not exactly sure why we bother differentiating between loading a
theme and enabling it.  Technically, I understand that there is a
difference.  But why should a user have to fiddle around with it?

I have themes in the Emacs distribution or installed from some ELPA
repository.  I am now interested in exactly one thing: enable this
installed theme.  Or don't.  Load as necessary.  As a user, I am almost
completely indifferent to what symbols are defined in my Emacs session.

IOW, I'd be in favour of removing one of `enable-theme' or `load-theme'
and ensure we always DTRT and DWIM (which includes autoloading when
necessary).

(If someone needs a way to reload themes (besides `load-file', I
suppose), we could have a new function `theme-reload'.)




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#47424; Package emacs. Full text available.
Severity set to 'wishlist' from 'normal' Request was from Eli Zaretskii <eliz@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 47424 <at> debbugs.gnu.org:


Received: (at 47424) by debbugs.gnu.org; 27 Mar 2021 06:10:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 27 02:10:36 2021
Received: from localhost ([127.0.0.1]:43178 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lQ29b-00082N-Nw
	for submit <at> debbugs.gnu.org; Sat, 27 Mar 2021 02:10:36 -0400
Received: from eggs.gnu.org ([209.51.188.92]:42076)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>)
 id 1lQ29Z-000826-SR; Sat, 27 Mar 2021 02:10:34 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:59315)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1lQ29T-0004xZ-D0; Sat, 27 Mar 2021 02:10:27 -0400
Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3562
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1lQ29M-0001E2-Vc; Sat, 27 Mar 2021 02:10:25 -0400
Date: Sat, 27 Mar 2021 09:10:22 +0300
Message-Id: <837dltp1o1.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Stefan Monnier <monnier@HIDDEN>
In-Reply-To: <jwvtuoxz7ey.fsf-monnier+emacs@HIDDEN> (message from Stefan
 Monnier on Fri, 26 Mar 2021 21:57:31 -0400)
Subject: Re: bug#47424: 28.0.50; enable-theme shows an empty list
References: <jwv5z1dwq2i.fsf@HIDDEN> <m1y2e9e55d.fsf@HIDDEN>
 <jwvtuoxz7ey.fsf-monnier+emacs@HIDDEN>
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 47424
Cc: 47424 <at> debbugs.gnu.org, mardani29@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

severity 47424 wishlist
thanks

> From: Stefan Monnier <monnier@HIDDEN>
> Date: Fri, 26 Mar 2021 21:57:31 -0400
> Cc: 47424 <at> debbugs.gnu.org
> 
> > Perhaps you wanted to do M-x load-theme, which should properly complete
> > with themes from etc/themes, among other directories?
> 
> I know it works as documented, but I don't think it's the behavior we
> really want.  We should autoload themes, just like we autoload pretty
> much everything else.

So you are asking for a new feature: autoload themes.

However, while autoloading commands, functions, and variables happens
when they are first used, what would be the trigger(s) for autoloading
themes?  If it's just enable-theme, I'm not sure autoloading themes is
justified.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#47424; Package emacs. Full text available.

Message received at 47424 <at> debbugs.gnu.org:


Received: (at 47424) by debbugs.gnu.org; 27 Mar 2021 02:40:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 26 22:40:47 2021
Received: from localhost ([127.0.0.1]:43079 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lPysZ-0002o2-Lc
	for submit <at> debbugs.gnu.org; Fri, 26 Mar 2021 22:40:47 -0400
Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:37368)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <monnier@HIDDEN>) id 1lPysX-0002nm-GP
 for 47424 <at> debbugs.gnu.org; Fri, 26 Mar 2021 22:40:45 -0400
Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1])
 by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 917C4805EF;
 Fri, 26 Mar 2021 22:40:39 -0400 (EDT)
Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1])
 by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id A938280182;
 Fri, 26 Mar 2021 22:40:31 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca;
 s=mail; t=1616812831;
 bh=yGbv6EAd1y/V1sK3+bcYxso0fgAtIYXB189XhinVxxc=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From;
 b=aXwrpiFiLRvoximPtQ4Gai7GHRegS1xwkXdNhv5euyU59h1hy6t/E0/Jl9M333YJN
 RnkaS2xzcdZV3yMqoZkoLmtG/NgG6IcSlX5MVHFxBpv9SnVlIhtK+c3dsm/p/FL4AR
 +3MWCaBEJPmuyS4jxG6puHtA+DBx7b/sR42oZZGbXQFajyyRKh7/pzw1ciVnqBJDCx
 gCH6URugXVpwcJ9qBgjlO4328qRghTGX7/rJa/ESW9iRFW241iMpXdO4jWRxeEDqjg
 27sM4wMH9ZTgRxPrHq4nd/DzWl1jFSv8C1RDwEDlIFbfPEtsSYtjKSesttVw+3zVMf
 YOxhrPuDNj0Bg==
Received: from alfajor (unknown [216.154.43.249])
 by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 716D71201BB;
 Fri, 26 Mar 2021 22:40:31 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
To: Daniel =?windows-1252?Q?Mart=EDn?= <mardani29@HIDDEN>
Subject: Re: bug#47424: 28.0.50; enable-theme shows an empty list
Message-ID: <jwvczvlz5hg.fsf-monnier+emacs@HIDDEN>
References: <jwv5z1dwq2i.fsf@HIDDEN> <m1y2e9e55d.fsf@HIDDEN>
 <jwvtuoxz7ey.fsf-monnier+emacs@HIDDEN>
Date: Fri, 26 Mar 2021 22:40:30 -0400
In-Reply-To: <jwvtuoxz7ey.fsf-monnier+emacs@HIDDEN> (Stefan Monnier's message
 of "Fri, 26 Mar 2021 21:57:31 -0400")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-SPAM-INFO: Spam detection results:  0
 ALL_TRUSTED                -1 Passed through trusted hosts only via SMTP
 AWL -0.099 Adjusted score from AWL reputation of From: address
 BAYES_00                 -1.9 Bayes spam probability is 0 to 1%
 DKIM_SIGNED               0.1 Message has a DKIM or DK signature,
 not necessarily valid
 DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature
 DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's
 domain
X-SPAM-LEVEL: 
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 47424
Cc: 47424 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

>> According to the documentation, `enable-theme' enables variable and face
>> settings of already loaded themes, so I think it makes sense that it
>> doesn't offer completions in emacs -Q, because there is no loaded theme
>> yet.
>>
>> Perhaps you wanted to do M-x load-theme, which should properly complete
>> with themes from etc/themes, among other directories?
>
> I know it works as documented, but I don't think it's the behavior we
> really want.  We should autoload themes, just like we autoload pretty
> much everything else.

BTW, we already do some of that for themes in other cases.
E.g. `M-x customize-themes` is perfectly able to list the available
themes without having to load them beforehand, and so is
`M-x custom-theme-visit-theme` which will additionally autoload the
theme you choose to customize if needed.


        Stefan





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#47424; Package emacs. Full text available.

Message received at 47424 <at> debbugs.gnu.org:


Received: (at 47424) by debbugs.gnu.org; 27 Mar 2021 01:57:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 26 21:57:43 2021
Received: from localhost ([127.0.0.1]:43054 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lPyCt-00086U-0X
	for submit <at> debbugs.gnu.org; Fri, 26 Mar 2021 21:57:43 -0400
Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:33581)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <monnier@HIDDEN>) id 1lPyCr-00086H-EH
 for 47424 <at> debbugs.gnu.org; Fri, 26 Mar 2021 21:57:41 -0400
Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1])
 by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 35CD0100241;
 Fri, 26 Mar 2021 21:57:36 -0400 (EDT)
Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1])
 by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id E4F7410021B;
 Fri, 26 Mar 2021 21:57:33 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca;
 s=mail; t=1616810253;
 bh=G+Be3TWAoLOfLC3tYk/mPWwKH96RzYN8iMAGW1i3RWg=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From;
 b=Nxh39MzT38TFdT22zEcLb5zc/6odx4OggcSep58xLgUSPHb25fMguYezQLn+Tc16q
 lB4qHKt8bMnjAFMCWdXfTC7Lu13pIeP1W7Ef4JxNNsBG1DlTzKuA5oi6SJmn/9pTpB
 Vd3aCVSFei+fU2eJStUxeJ3FUPnZoI9gbRu5hIs7THVBdvH6TFuQZCLIkMabNLvqT4
 hcprGBQmFwwAE1z3qe5QionIXh3mfsTIxiFS/J82dDwHTcB38VA9crGwOlnG89PTVH
 RD5JHucTwMqWtPed219i2PNcOWhUWX6MJ4di4FSz0O2ENfPYvUDq7oucWuVHBfgh91
 m8Xc5kl8Xsx6w==
Received: from alfajor (unknown [216.154.43.249])
 by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id AAB541206EB;
 Fri, 26 Mar 2021 21:57:33 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
To: Daniel =?windows-1252?Q?Mart=EDn?= <mardani29@HIDDEN>
Subject: Re: bug#47424: 28.0.50; enable-theme shows an empty list
Message-ID: <jwvtuoxz7ey.fsf-monnier+emacs@HIDDEN>
References: <jwv5z1dwq2i.fsf@HIDDEN> <m1y2e9e55d.fsf@HIDDEN>
Date: Fri, 26 Mar 2021 21:57:31 -0400
In-Reply-To: <m1y2e9e55d.fsf@HIDDEN> ("Daniel =?windows-1252?Q?Mart=EDn?=
 =?windows-1252?Q?=22's?= message of "Sat, 27
 Mar 2021 02:50:38 +0100")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-SPAM-INFO: Spam detection results:  0
 ALL_TRUSTED                -1 Passed through trusted hosts only via SMTP
 AWL -0.102 Adjusted score from AWL reputation of From: address
 BAYES_00                 -1.9 Bayes spam probability is 0 to 1%
 DKIM_SIGNED               0.1 Message has a DKIM or DK signature,
 not necessarily valid
 DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature
 DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's
 domain
X-SPAM-LEVEL: 
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 47424
Cc: 47424 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> According to the documentation, `enable-theme' enables variable and face
> settings of already loaded themes, so I think it makes sense that it
> doesn't offer completions in emacs -Q, because there is no loaded theme
> yet.
>
> Perhaps you wanted to do M-x load-theme, which should properly complete
> with themes from etc/themes, among other directories?

I know it works as documented, but I don't think it's the behavior we
really want.  We should autoload themes, just like we autoload pretty
much everything else.


        Stefan





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#47424; Package emacs. Full text available.

Message received at 47424 <at> debbugs.gnu.org:


Received: (at 47424) by debbugs.gnu.org; 27 Mar 2021 01:50:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 26 21:50:54 2021
Received: from localhost ([127.0.0.1]:43019 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lPy6H-0007vR-Mo
	for submit <at> debbugs.gnu.org; Fri, 26 Mar 2021 21:50:54 -0400
Received: from sonic314-20.consmr.mail.ir2.yahoo.com ([77.238.177.146]:37920)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mardani29@HIDDEN>) id 1lPy6F-0007v5-K5
 for 47424 <at> debbugs.gnu.org; Fri, 26 Mar 2021 21:50:53 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048;
 t=1616809844; bh=wS2AaeDQ/6TxSqtieMf1H+wlGG4XYR7rS9PNcGMBM58=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To;
 b=YVtOiWbBUboTRG53TUhWbfhd95ChiwOqGYMOPHTHrhRQFrpDtIoh0DL9YAm31KmuLAUFrF/amJpilI1r8KEFfyQXfGQUYRO3x/MZJao6h1UNadjLFhCjVuIF5ymlf8wFZ5FE5EvgnKNzIvQWCKD6nicvZSgydQXCVgFJmCkWp6ArCOHcHNnRyviuhW2gHhVd9oUUQFuqjLtQqEsGGU/vrYdO3glsLiL8oi4bnqYIPvQ7TZ8bppX1xJLDZH1P2VGe8Xk0NVLFndat4lSB1VGXMnXO+amkJNzVsMjqVe025ydOInggqsO7xheyzuVCU5Afo+3bnnYxV0032K6kzO2wfQ==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1616809844; bh=lvv7sqjbXeEEQzZrP9m8k2yfj26F9DilZpsjvU+WI2U=;
 h=X-Sonic-MF:From:To:Subject:Date:From:Subject;
 b=kdwt68FDOHzw+bdxDnpJ/TcG7s4fgjFQOkGdCymcBFSeFTJwJ/Ku6ALKhw4xd6rsqU1LnZo5AzkOs1PbwRMnGdhmk0qGxxiaWg3AKaOsRSqwphT2wQ5vSi4HqpXi5OoaGeurLiv8dkNEbGv3U3QWE1biGSaj8vHaM6HANIyo5/VM41TsHzwW2tfBqknxq8ZYroE+kaNKyFBTl9HnXaUKRGcNlW09XfDGmBnfp3ZMsgRtN7NKQvxmTIlVVBTpstzvt4TY9uQjBl2piAaDCHl3GVowLAbqwLU8vsX/4thOIa5H79EasRTdTF7qAdZx/5NqRKxX98NMI1/cb3FD3vFTQQ==
X-YMail-OSG: J4H1lvkVM1nzsqKpTpEDQUiSVbcsuGDbuXv39LF83EvC.SpAnIbZMIoN3jELFcG
 W0hnQGCFs_8G6xOI2awehlP5JA4CpsYwBjJlvDE8yC5Hu7nfdITDI3hXY3wgDRuHUacxW4cehlZI
 PTrDGLK8BlqhwvB..81wwmx.6Th8eMuUh_K_XHtGg0UiuwiglUKTeBMPTva9bP0uggLY6B_sF4.4
 z22ntIIp2lKMdwiOYCJvfbnZj2EywlKC9m7Q3xi4hMReyDC4dwxAmpZx8hPADEMUvpXn6FPuSolZ
 IVOiZGC2bhAN1OlpT4ytG3Hk5BUIfX67isM9CgeAhfIVahUKaxdxRMMrspc3U15q5EYI8Fu3._qX
 oSAwErbv30AoMWiP2o0lF9vR6e6eXtoYCNnKcwhmvdzckPZZxAEtFAybzRt4525RQcAWLfGwmeGb
 BB91zeNbFGGWta8Wps31o1V_E89lGvA8WusDl3D8QEyIfzvVStiseVz1Cx62XqDy8PRxEBLquXnf
 qof.EBp3ZgY3qepw4Dhlk_EXVtLizrN9cHGCMmCOQ_N6yT1aCcFDYEZ9L1yn1ypdQW8ioLGyKVzq
 XDnDzztnhVY5OW3sU9qpT.z6RZByuHeohYknl7zIw1.2ONhLykI5bEHppOjoR1CLPhdHxOQ3y0g.
 .iXaBoL.vGwxIEMuBCtQslnmQKeSNfX2vt7MXibpGgHDS.ZJ0lpFacOORDpLMefh3qZYD3VJsgaR
 J_2DWK.amL27Y3ZbuV7hxorRbfmrAn20mmmIWjv7Fw.0EMZYE9QZQcaap9AQKWpMbUTQDVzCFngT
 xZ1LKDnBm4Swi3ZxCK1VNI_UNb4dZIcH4E1in_uL31QZkjMIfyfFAKLcpsgtVD..DlKsfnlFHj_7
 yIC1JBjtdwnm4.fI8v_RAQKU24xhC.fClQesM.m9znVVvuimX4o3GqjZGE8TXKe0oeiTIX0cx0i1
 G7PJm0_uyzvZ2xRqm0Hcj6UC2MOcmLDotHO1l5JRLe5VSN_iXfceDWdCxxF9nIMO.4Pma7v.kD1y
 DM3F9BgL0iFc63ekakHAnstKwpjwwJmijC5SzhYaGY6bBghDLru9Mb.l97If3kLgHbPg.i3DEoMx
 tEHEbzs6YQakuJvyStBfU8K.kPWggp4qhJbeBHmSdM9yQjWd1v.KEZKo4vKTtI9UwdNJCT6gvCnI
 FcRc8QCShZZ4qOsl0Ve7o70qxC2gjt7z1DOMW7UtBAIgeGUOHh4SBLdfXvKwZRUORf.OYNO01IV5
 jheYvQEhicXIb1HGW9DKnkoyTvIV2fIB7_NxRaX9nTpLuQXeqLmD9u0sKVZCUfeI95D6Qflu8uYT
 XjNWxNgtJOoGHBltLhE4st0raRJDW0GSE6m7igHblWDd3kZKL2u836vGB3LJUfvIrBozdugbjRNK
 tNARRdCzk7TKFkq.RDg61dV7ONHVrRk_Rs1_yrj.zfnA47FNXa4atDbKy6fp18OtsungrH6rR172
 Z4VPTwjXHy6bMJpTSpkt0iOAqZB.9y83sCr_pO4zrflBvfh6xYerhNAVbl9VSjgVpWqTpJDAbRD_
 DM231L4PByMW41wbPvwNDfWpNTrIByq9lgaBkL.fCdO3lgg4_RmuxXioOBFY1KaKixe8eTPLmHFI
 099nqC0ZGQy1PM8DWQNCX64.pbt_f3g7OpAph6f3jmCFuLQ6tuxCs5C.vgg6AzQTFLhadlio9J4L
 P3S3UmJXa4LjQIUmCJGVYnQFwSnfOCYXwTJdnJS6o84pw6v5Nlz7mWRecuU41L32QxtQaczKP9qF
 y15u6Xk5kqsvO5jhjVyh.sr36TvUuVWlo_L9RKrN15B7KqtNBVrgo_zSCgL5RaNotDGuUIdJ_Evc
 aWxdxiQpVRz9xoAYljw3n4tooM9Oyo8a1ycuDMcxyg0n657MQVRRbkvPydszS7B90pdYmsb29Gci
 MKuGJG_8OwtXamNJeotVMur8NFOhrwZfSCZkM6TLPpb4lk00kV3feLR.16pVyFcxP6qgvVRmlP21
 jXJcLvrZf8Meki7H7cqBpQaL86bYDxtnu868c7tc4U4H6mQVs3AgSXsYjtz.iDKo4DKWhwd6aGK4
 WnHFHcHFqY6YSsXQ26gh.VsJHKpkT8x4RxdKV0tMRToSS9pewWuHJVz1TgcLz.UrCPidBjc4ZduE
 xEPeVYcRx6glywVlt.daxqfuRcZ9u.yJNHC4DoExq97OSaOPb_kTPeiAjF0yzaQVMVj9hWjPmP6L
 smOt1IPnND53io9fbrzvUEfX14NoLWsTljsZog4Yne_4ad3yDTw37Ipw92G0S28gqy3rBm6R0ptW
 mA27u91xeB5QaT14Vi8OeTG93BXlJH677Htj_pR4RULqnuF_lWkK4GdJ_byMVy_2M8cqQQUD_am_
 kG8Jey5eGqDM..DqGJYqsPjGwWR2LZNmRTdrBRsHU.y_5PmewrEX.BCINhDyOwYkMl_z22uw.1Ce
 vzWO4JPWITHIKIzthWgTrNIn_nX6PuevxU9WrSaYHx02Um.aR395KXqBJlD8IHrQ8whc52dLKBBq
 4SLm_RUy8lfEto_53oNe6bwPxs_Nc0S2y81C63Mn16g--
X-Sonic-MF: <mardani29@HIDDEN>
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic314.consmr.mail.ir2.yahoo.com with HTTP; Sat, 27 Mar 2021 01:50:44 +0000
Received: by kubenode510.mail-prod1.omega.ir2.yahoo.com (VZM Hermes SMTP
 Server) with ESMTPA ID d8c744c364602164816968518456a011; 
 Sat, 27 Mar 2021 01:50:40 +0000 (UTC)
From: =?utf-8?Q?Daniel_Mart=C3=ADn?= <mardani29@HIDDEN>
To: Stefan Monnier <monnier@HIDDEN>
Subject: Re: bug#47424: 28.0.50; enable-theme shows an empty list
References: <jwv5z1dwq2i.fsf@HIDDEN>
Date: Sat, 27 Mar 2021 02:50:38 +0100
In-Reply-To: <jwv5z1dwq2i.fsf@HIDDEN> (Stefan Monnier's message of
 "Fri, 26 Mar 2021 17:41:25 -0400")
Message-ID: <m1y2e9e55d.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (darwin)
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: WebService/1.1.17936
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
 Apache-HttpAsyncClient/4.1.4 (Java/11.0.9.1)
Content-Length: 583
X-Spam-Score: 0.2 (/)
X-Debbugs-Envelope-To: 47424
Cc: 47424 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.8 (/)

Stefan Monnier <monnier@HIDDEN> writes:

>
>
> If I do
>
>     emacs -Q
>     M-x enable-theme RET TAB
>
> I'd expect to see a list of available themes including at least thoese
> in `etc/themes`, but that list is empty ;-(
>

According to the documentation, `enable-theme' enables variable and face
settings of already loaded themes, so I think it makes sense that it
doesn't offer completions in emacs -Q, because there is no loaded theme
yet.

Perhaps you wanted to do M-x load-theme, which should properly complete
with themes from etc/themes, among other directories?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#47424; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 26 Mar 2021 21:41:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 26 17:41:37 2021
Received: from localhost ([127.0.0.1]:42709 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lPuD3-0005v6-54
	for submit <at> debbugs.gnu.org; Fri, 26 Mar 2021 17:41:37 -0400
Received: from lists.gnu.org ([209.51.188.17]:42332)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <monnier@HIDDEN>) id 1lPuD1-0005uz-QB
 for submit <at> debbugs.gnu.org; Fri, 26 Mar 2021 17:41:36 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:53018)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <monnier@HIDDEN>)
 id 1lPuD0-0003g2-13
 for bug-gnu-emacs@HIDDEN; Fri, 26 Mar 2021 17:41:35 -0400
Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:27634)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <monnier@HIDDEN>)
 id 1lPuCv-0001n1-SG
 for bug-gnu-emacs@HIDDEN; Fri, 26 Mar 2021 17:41:33 -0400
Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1])
 by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 07385441367
 for <bug-gnu-emacs@HIDDEN>; Fri, 26 Mar 2021 17:41:29 -0400 (EDT)
Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1])
 by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id B82CA441361
 for <bug-gnu-emacs@HIDDEN>; Fri, 26 Mar 2021 17:41:26 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca;
 s=mail; t=1616794886;
 bh=8ARdhhvEBWVWWcJNAiYjdRUkJcMIEWa7JL1JFysk3PM=;
 h=From:To:Subject:Date:From;
 b=d1/C4q+ZTUOEZqT13PJsT7Jxx91TbbJQ+7/04e2hvWJmbl1dNryJPfppCoutDcGQK
 sCIKNogff9qs2Mfv8sJCA2AKOfdta7iuL6pO010rgQScc1HLkYfEhuCKWvupkNrJLG
 7prB5R7fXHm77PEHOne4/eekptdZXP1fPW/i7cVapAzvx38EpEicLDD+lVDwM7gnAA
 l3G4cRbaW0nKHHRueoU/G3xbf+CHRzB9Il8lT69GQlAmHwiU8+4uNuRJJVB0oIF4xs
 AJgfyqfNe7oysopv+eQ94nN1/80YX9Wfcf49TOtcewMas3IY15cB/L14MB4Jq+mWp2
 R/Sj8k1bGknUg==
Received: from alfajor (unknown [216.154.43.249])
 by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 47FA31203E5
 for <bug-gnu-emacs@HIDDEN>; Fri, 26 Mar 2021 17:41:26 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 28.0.50; enable-theme shows an empty list
Date: Fri, 26 Mar 2021 17:41:25 -0400
Message-ID: <jwv5z1dwq2i.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-SPAM-INFO: Spam detection results:  0
 ALL_TRUSTED                -1 Passed through trusted hosts only via SMTP
 AWL -0.104 Adjusted score from AWL reputation of From: address
 BAYES_00                 -1.9 Bayes spam probability is 0 to 1%
 DKIM_SIGNED               0.1 Message has a DKIM or DK signature,
 not necessarily valid
 DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature
 DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's
 domain
X-SPAM-LEVEL: 
Received-SPF: pass client-ip=132.204.25.50;
 envelope-from=monnier@HIDDEN; helo=mailscanner.iro.umontreal.ca
X-Spam_score_int: -42
X-Spam_score: -4.3
X-Spam_bar: ----
X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

Package: Emacs
Version: 28.0.50


If I do

    emacs -Q
    M-x enable-theme RET TAB

I'd expect to see a list of available themes including at least thoese
in `etc/themes`, but that list is empty ;-(


        Stefan



In GNU Emacs 28.0.50 (build 1, i686-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0)
 of 2021-03-16 built on alfajor
Repository revision: e325e51217a5504dd61656eeaf1b7d62ecdc0248
Repository branch: work
Windowing system distributor 'The X.Org Foundation', version 11.0.12010000
System Description: Debian GNU/Linux bullseye/sid

Configured using:
 'configure -C --enable-checking --enable-check-lisp-object-type --with-modules --with-cairo --with-tiff=ifavailable
 'CFLAGS=-Wall -g3 -Og -Wno-pointer-sign'
 PKG_CONFIG_PATH=/home/monnier/lib/pkgconfig'

Configured features:
CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON
LIBOTF LIBSELINUX LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER PNG
RSVG SOUND THREADS TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB

Important settings:
  value of $LANG: fr_CH.UTF-8
  locale-coding-system: utf-8-unix

Major mode: InactiveMinibuffer

Minor modes in effect:
  shell-dirtrack-mode: t
  electric-pair-mode: t
  global-reveal-mode: t
  reveal-mode: t
  auto-insert-mode: t
  savehist-mode: t
  minibuffer-electric-default-mode: t
  global-compact-docstrings-mode: t
  url-handler-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  global-prettify-symbols-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t
  auto-composition-mode: t

Load-path shadows:
/home/monnier/src/emacs/elpa/packages/ivy-hydra/ivy-hydra hides /home/monnier/src/emacs/elpa/packages/ivy/ivy-hydra
/home/monnier/src/emacs/elpa/packages/hyperbole/set hides /home/monnier/src/emacs/work/lisp/emacs-lisp/set
/home/monnier/src/emacs/elpa/packages/landmark/landmark hides /home/monnier/src/emacs/work/lisp/obsolete/landmark
/home/monnier/src/emacs/elpa/packages/crisp/crisp hides /home/monnier/src/emacs/work/lisp/obsolete/crisp

Features:
(rfc2104 smtpmail shadow sort mail-extr emacsbug adaptive-wrap
mm-archive url-dav cus-edit cus-start cus-load url-http-ntlm ntlm
hmac-md5 hex-util md4 gnutls network-stream url-http url-gw nsm
shr-color color html5-schema rng-xsd xsd-regexp rng-cmpct rng-nxml
rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util
rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap sgml-mode nxml-util
nxml-enc xmltok sh-script make-mode tramp tramp-loaddefs trampver
tramp-integration tramp-compat ls-lisp gited-tests gited gited-ci ert
hideshow sml-mode package-x two-column typer-mode url-file url-dired
url-cache quail texinfo tex-mode mode-local bbdb-com crm bbdb bbdb-site
timezone tuareg tuareg-opam caml-types caml-help caml-emacs find-file
completion sendmail nroff-mode cperl-mode rx facemenu perl-mode epa-file
tuareg-jbuild-mode scheme edebug emms-source-file locate emms
emms-compat loadhist prefixed-core debug backtrace dabbrev grep ielm pp
autorevert filenotify files-x vc-mtn vc-hg vc-bzr vc-src vc-sccs vc-svn
vc-cvs vc-rcs vc-dir ewoc pcase log-view ffap autoload cl-print enriched
shell dired-aux dired-x shortdoc help-fns radix-tree view cal-china
lunar solar cal-dst cal-bahai cal-islam cal-hebrew holidays hol-loaddefs
cal-french diary-lib diary-loaddefs mule-util cal-move org-element
avl-tree generator ol-eww eww xdg url-queue mm-url ol-rmail ol-mhe
ol-irc ol-info ol-gnus nnselect gnus-search eieio-opt speedbar imenu
ezimage dframe gnus-art mm-uu mml2015 mm-view mml-smime smime dig
gnus-sum shr kinsoku svg dom gnus-group gnus-undo gnus-start gnus-dbus
dbus xml gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo parse-time
gnus-spec gnus-int gnus-range gnus-win gnus nnheader wid-edit ol-docview
doc-view jka-compr image-mode exif ol-bibtex bibtex iso8601 ol-bbdb
ol-w3m org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro
org-footnote org-src ob-comint org-pcomplete pcomplete org-list
org-faces org-entities org-version ob-emacs-lisp ob-core ob-eval
org-table ol org-keys org-compat advice org-macs org-loaddefs
format-spec find-func cal-menu calendar cal-loaddefs whitespace
sm-c-mode smie rect bug-reference log-edit message rmc puny dired
dired-loaddefs rfc822 mml mml-sec epa derived epg epg-config gnus-util
rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231
rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils
gmm-utils mailheader pcvs-util add-log misearch multi-isearch cl-extra
executable copyright smerge-mode diff vc vc-git diff-mode vc-dispatcher
filecache server time-date flymake-proc flymake compile
text-property-search comint ansi-color ring warnings noutline outline
easy-mmode flyspell ispell checkdoc lisp-mnt thingatpt help-mode edmacro
kmacro load-dir elec-pair reveal autoinsert savehist minibuf-eldef
disp-table compact-docstrings proof-site proof-autoloads cl-seq
gnu-elpa-features kotl-autoloads finder-inf url-auth info sly-autoloads
package browse-url url url-proxy url-privacy url-expand url-methods
url-history url-cookie url-domsuf url-util mailcap url-handlers
url-parse auth-source eieio eieio-core cl-macs gv eieio-loaddefs
password-cache json subr-x map url-vars seq byte-opt bytecomp
byte-compile cconv cl-loaddefs cl-lib iso-transl tooltip eldoc electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu
timer select scroll-bar mouse jit-lock font-lock syntax font-core
term/tty-colors frame epa-hook jka-cmpr-hook simple minibuffer
cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai
tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian
slovak czech european ethiopic indian cyrillic chinese composite
charscript charprop case-table help abbrev obarray cl-preloaded nadvice
button loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote threads dbusbind inotify
dynamic-setting system-font-setting font-render-setting cairo
move-toolbar gtk x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 8 2117642 359421)
 (symbols 24 58178 92) (strings 16 237236 31333) (string-bytes 1 8204470)
 (vectors 8 207462)
 (vector-slots 4 3873938 567298) (floats 8 1566 415)
 (intervals 28 319267 613)
 (buffers 564 655))





Acknowledgement sent to Stefan Monnier <monnier@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#47424; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 4 Apr 2021 09:15:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.