From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: modus-themes ELPA and etc/themes Date: Sat, 20 Mar 2021 15:52:39 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20384"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Mar 20 20:53:59 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lNhfb-0005C0-Ao for ged-emacs-devel@m.gmane-mx.org; Sat, 20 Mar 2021 20:53:59 +0100 Original-Received: from localhost ([::1]:60020 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lNhfa-00045M-Cb for ged-emacs-devel@m.gmane-mx.org; Sat, 20 Mar 2021 15:53:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52424) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lNheW-0003cB-A8 for emacs-devel@gnu.org; Sat, 20 Mar 2021 15:52:53 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:13514) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lNheP-0002rT-TV for emacs-devel@gnu.org; Sat, 20 Mar 2021 15:52:51 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 1CF33441228; Sat, 20 Mar 2021 15:52:43 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id C8863441225; Sat, 20 Mar 2021 15:52:41 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1616269961; bh=h4w/phm9TIk2qddmDth3QVKBz+2fFXaUdrOuxchVH80=; h=From:To:Subject:Date:From; b=OQtH70Oy40zLf82Vx5aG+CAvC6UUOtfP9ooV+ph5dS0QqcFn6A3N/8Kh3v5Ls3o3G FXsNk02nxZlDXVpHa9Bz+0E587fgDb8zFvTXaVEQUSEWes70JrvRpZklXLpwljYUxh 90x+MsftINPfSyLoxPaxHPfM0UDJTD9lCbzap4mwD6bJa/m0KrwTLwENUwx+xfxXJ+ 22v2mjVtCLypMx8mjTZGjv2M5I3d7Z8R3fJ4MkDNHLsZ5mHfrOMlIvTJNs554kW0Fp niYTnQkOnvTHqrgHVbFmkANTh+SQqd6as3J+czxZfBss+WTkGllIob8WY6JefdvkZ9 B0egwytLM6RSg== Original-Received: from alfajor (unknown [216.154.43.249]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 69DAE120341; Sat, 20 Mar 2021 15:52:41 -0400 (EDT) Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; 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-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:266664 Archived-At: I just noticed that Emacs is not aware that it comes bundled with `modus-themes`, so it may unnecessarily fetch `modus-themes` from the GNU ELPA archive. The problem is due to the fact that the file is under `etc/themes` and is hence not processed by our autoloads machinery which would otherwise add something like (push (purecopy '(modus-themes 1 2 4)) package--builtin-versions) to lisp/loaddefs.el. There are various ways to fix this, but to me the simplest would be to move `etc/themes` to `lisp` (or at least to move `modus-themes.el`). Stefan