From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Protesilaos Stavrou Newsgroups: gmane.emacs.bugs Subject: bug#45068: Patch for Modus themes 1.1.1? Date: Thu, 25 Feb 2021 08:09:53 +0200 Message-ID: <87h7m0n0em.fsf@protesilaos.com> References: <87im9fgm27.fsf@protesilaos.com> <87zh2ozer4.fsf@tcd.ie> <87ft4edret.fsf@protesilaos.com> <87zh2ldgtf.fsf@protesilaos.com> <87k0toof83.fsf@mail.linkov.net> <83wnxo1mcr.fsf@gnu.org> <83v9d81khh.fsf@gnu.org> <83mtyk1hq3.fsf@gnu.org> <87czzgbapt.fsf@protesilaos.com> <83lfe4192f.fsf@gnu.org> <83im9814oh.fsf@gnu.org> <87sg6po0yd.fsf_-_@protesilaos.com> <83czxt2fpd.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="7345"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: contovob@tcd.ie, 45068@debbugs.gnu.org, stefankangas@gmail.com, juri@linkov.net To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 25 07:11:23 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1lF9ru-0001pe-Q1 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 25 Feb 2021 07:11:22 +0100 Original-Received: from localhost ([::1]:54316 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lF9rt-00085Z-Rx for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 25 Feb 2021 01:11:21 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35774) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lF9ra-00085E-V5 for bug-gnu-emacs@gnu.org; Thu, 25 Feb 2021 01:11:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53126) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lF9ra-00051S-Gy for bug-gnu-emacs@gnu.org; Thu, 25 Feb 2021 01:11:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lF9ra-0003Bz-9Y for bug-gnu-emacs@gnu.org; Thu, 25 Feb 2021 01:11:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Protesilaos Stavrou Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 25 Feb 2021 06:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45068 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 45068-submit@debbugs.gnu.org id=B45068.161423340512138 (code B ref 45068); Thu, 25 Feb 2021 06:11:02 +0000 Original-Received: (at 45068) by debbugs.gnu.org; 25 Feb 2021 06:10:05 +0000 Original-Received: from localhost ([127.0.0.1]:36436 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lF9qe-00039i-HP for submit@debbugs.gnu.org; Thu, 25 Feb 2021 01:10:04 -0500 Original-Received: from relay1-d.mail.gandi.net ([217.70.183.193]:33093) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lF9qc-000391-VS for 45068@debbugs.gnu.org; Thu, 25 Feb 2021 01:10:03 -0500 X-Originating-IP: 94.46.225.161 Original-Received: from kronos (unknown [94.46.225.161]) (Authenticated sender: public@protesilaos.com) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 879AC240006; Thu, 25 Feb 2021 06:09:55 +0000 (UTC) In-Reply-To: <83czxt2fpd.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 25 Jan 2021 17:34:22 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:200768 Archived-At: On 2021-01-25, 17:34 +0200, Eli Zaretskii wrote: >> From: Protesilaos Stavrou >> Cc: Stefan Kangas , contovob@tcd.ie, >> info@protesilaos.com, 45068@debbugs.gnu.org, juri@linkov.net >> Date: Mon, 25 Jan 2021 10:49:46 +0200 >> >> A quick-and-dirty workaround would be to place the library in some other >> path, such as lisp/modus-themes.el and keep the other two files were >> they currently are: etc/themes/modus-{operandi,vivendi}-theme.el >> >> This could, however, make the source code more difficult to understand. >> It would also set a bad precedent for any possible future themes, as >> this thread revealed. So Eli Zaretskii proposed a new 'require-theme' >> function. >> >> I believe this is how things stand. >> >> For my part, I am willing to do whatever you consider necessary and will >> follow your lead. > > Thanks. So how about adding such a require-theme function, and then > using it in your themes? Hello Eli, Can you please outline what are the requirements and general functionality of such a 'require-theme' function? I wish to give it a try, though I can only do so in Elisp, whereas 'require' is in C... If there is some source code or documentation I could consult, please point me to it. My intent is to address this issue and then share with you the forthcoming 1.2.0 version of my themes. Thanks again for your time and efforts! Protesilaos -- Protesilaos Stavrou protesilaos.com