diff options
| author | Lin Jian <me@linj.tech> | 2023-05-10 12:28:40 +0800 |
|---|---|---|
| committer | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-05-18 08:04:40 -0300 |
| commit | e7820571fc84689b3a6ae42815ae975aa35c9d72 (patch) | |
| tree | 7d3e0ff047a8fb2afaee3bd924bd424dbbfb10b1 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | 427ff8e07fa259718db16771b2b3d2f1961dabd6 (diff) | |
mu: generate mu4e-autoloads.el
* What is autoload?
Basically, it allows you to delay the loading of a package[1].
* What is a name-autoloads.el file?
When installing a package using package.el, Emacs generates[1] a
name-autoloads.el file for that package, which is used to autoload the
principal user commands defined[2][3] in the package.
* What problem does this patch solve?
There are some autoload commands defined[3] by mu4e. Before, those
autoload commands cannot be autoloaded because of the missing
mu4e-autoloads.el file since mu4e installed from nixpkgs does not use
package.el. This patch fixes that.
To sum up, with this patch, you can call (mu4e) without
calling (require 'mu4e) first.
* Isn't it better to contribute to the build system of the upstream mu
project to generate that mu4e-autoloads.el file?
It seems impossible[4] to do so.
[1]: https://www.gnu.org/software/emacs/manual/html_node/elisp/Autoload.html
[2]: https://www.gnu.org/software/emacs/manual/html_node/elisp/Packaging-Basics.html
[3]: https://github.com/djcb/mu/blob/581f8d7e92cc71545c0abea2f0e44d2ffe8b351c/mu4e/mu4e.el#L58
[4]: https://github.com/djcb/mu/pull/2313
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
