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: Re: modus-themes ELPA and etc/themes Date: Fri, 26 Mar 2021 17:41:34 -0400 Message-ID: References: <8335wpd166.fsf@gnu.org> <83zgyxavxi.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1407"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Mar 26 22:42:46 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 1lPuEA-0000Hw-Gy for ged-emacs-devel@m.gmane-mx.org; Fri, 26 Mar 2021 22:42:46 +0100 Original-Received: from localhost ([::1]:42216 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lPuE9-0004LA-I8 for ged-emacs-devel@m.gmane-mx.org; Fri, 26 Mar 2021 17:42:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53058) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lPuDA-0003iv-S3 for emacs-devel@gnu.org; Fri, 26 Mar 2021 17:41:44 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:33411) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lPuD7-0001v0-1c; Fri, 26 Mar 2021 17:41:44 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id C358E100241; Fri, 26 Mar 2021 17:41:37 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id D10BD10021B; Fri, 26 Mar 2021 17:41:35 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1616794895; bh=AK77JiTsVc07P9qcDTw+u4pgK//pC6zLCy3mQXH/uBM=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=kLHVWUTHj+h4jrqCz1+usWZ2BfOD6yDzkHDV/NsSUusAaRsVnZKX7odtwys4O+KZW wSUeKf7xJJDC/m/FG9KyxPtNvo7lMvzHSGaMaXcnYT6IRabTMn7MYd4m9jrbVkWoVQ sWKbSkAUtuPdBXUUhUuZIpSuf8fb1VGWEtZP+0Hx6JNvCJ1Hb9CiQaHp0WM/AGAUtF hoCm+QBj+9vWhEqT1gR5zCu4fSsnHAFlCqXuRwQJ4CSPrLx/jOBOfr92wAdhJVyCAr hoJsxd2xTAH5pO0UMQgWijqs3Gj9Q3uvWGZ+A1Ts0G6aKpiBN89XHYrFix3CXcNmkS GMNb5ljDO/rVg== Original-Received: from alfajor (unknown [216.154.43.249]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 7898312040D; Fri, 26 Mar 2021 17:41:35 -0400 (EDT) In-Reply-To: <83zgyxavxi.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 21 Mar 2021 07:59:53 +0200") 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:267086 Archived-At: > I envision that more themes will go the way of modus-themes (and at > the time you more or less said the same), so I think it would be good > to design and implement support for such themes in package.el now, > that we have a real-life example. I'm not sure what extra support for it you want in `package.el`. `package.el` already works great to install modus-themes as well as many other themes available from ELPA. The problem here is with the themes we bundle with Emacs, because these are not installed in the normal way (e.g. they're not `load-path` and they're not scrubbed by autoload.el). > I'd like to keep themes in their current location. Where this > requires additional infrastructure for themes that do something > special, I think we should add such an infrastructure. The current problem is not due to modus-themes doing something special, but to the need to record the version of modus-themes that we bundle so that we can compare it to the versions available from ELPA. The problem already existed for other themes, such as `leuven` which we bundle without telling package.el. I opened a bug for that. Stefan