On 2020-12-10, 02:25 -0600, Stefan Kangas wrote: > Protesilaos Stavrou writes: > >> I agree that putting them all under lisp/ is not the right way to go >> right now. Today I will experiment with placing the libraries in >> lisp/themes and the derivatives in etc/themes. This will obfuscate the >> source code though, but I will try nonetheless and report back to you >> (without prejudice to any other ideas you or someone else may have). > > Thanks! Looking forward to seeing the new version in Emacs. > > Could you explain how it would obfuscate the source code? I'm not sure > I understand that part. I followed your advice in reviewing my patch. Please find it attached. In short: + The 'modus-operandi-theme' and 'modus-vivendi-theme' are in etc/themes. - Standard commands like 'load-theme' and 'enable-theme' work as intended. - Theme-level functions/commands, such as 'modus-themes-toggle' work as expected. + The other two files, 'modus-themes-core.el' and 'modus-themes.el' are placed under lisp/themes. Note I tried to edit the texi file in light of bug#45141 and I think I did everything right, but I cannot run that command locally---it is slow and my hardware's temparature rises considerably. Perhaps the texi file needs to be edited further, in which case I am prepared to do whatever is necessary (and apologies in advance for taking too much out of your time). * * * On the "obfuscation" point I mentioned before: I expressed myself poorly. What I thought was that it would be difficult to study the theme's code, but one upside (I think) of the aforementioned changes is that M-x find-library now lists the files I placed in lisp/themes. -- Protesilaos Stavrou protesilaos.com