[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Byte-compilation of custom themes
From: |
Stefan Monnier |
Subject: |
Re: Byte-compilation of custom themes |
Date: |
Wed, 24 Jan 2018 11:16:17 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> I am wondering why custom themes are ordinarily left non-byte-compiled,
> based on the following observations:
Good question.
> Is this "aversion" to byte-compilation of custom themes intentional?
I think it's due to the idea that users might download theme files from
random places without realizing that it contains arbitrary Lisp code
(contrary to normal Emacs packages where we consider that users should
know that it contains arbitrary Lisp code). So we prompt users to
confirm that they think the theme file is safe, and users can't be
expected to assess the safety of a .elc file, so we insist on using the
.el file, which the user can inspect without nearly as much pain.
Stefan