nixpkgs/pkgs/applications/editors/emacs
Lin Jian ac4f5079f7 emacsPackages.mu4e: init at 1.10.7
This patch packages mu4e as an Emacs lisp package based on the mu4e
output of the multiple-output package mu, which makes mu4e a good
citizen of Emacs lisp packages in two aspects.

First, mu4e now utilizes the Emacs lisp package infrastructure in
Nixpkgs.  This allows users who want to do AOT native compilation for
non-default Emacs variants[0] to build only mu4e itself instead of the
whole mu package[1].

Second, mu4e now conforms to the Emacs builtin package manager[2].
Without this patch, mu4e autoloaded commands do not work
out-of-the-box[3] because its directory is added to load-path by
site-start.el after the initialization of package-directory-list,
which causes package-activate-all to not load mu4e-autoloads.el.  This
patch fixes this issue when mu4e is installed to Emacs using the
withPackages wrapper[4].

[0]: such as emacs-pgtk
[1]: mu.override { emacs = emacs-pgtk; }
[2]: package.el
[3]: either (require 'mu4e) or (require 'mu4e-autoloads) is needed to
be called before an autoloaded command is called
[4]: emacs-pgtk.pkgs.withPackages (epkgs: [ epkgs.mu4e ])
2023-09-06 16:27:13 +00:00
..
elisp-packages emacsPackages.mu4e: init at 1.10.7 2023-09-06 16:27:13 +00:00
default.nix emacs: fix build on x86_64-darwin 2023-09-02 04:20:00 +00:00
generic.nix emacs: add missing libXi dependency when enabling withXinput2 2023-09-01 13:30:27 +00:00
macport_noescape_noop.h emacs-macport: build on LLVM 14 2023-08-31 14:20:27 +00:00
native-comp-driver-options-28.patch emacs: change substituteInPlace invocation to an aligning patch 2022-11-30 11:37:12 -08:00
native-comp-driver-options.patch emacs: change substituteInPlace invocation to an aligning patch 2022-11-30 11:37:12 -08:00
site-start.el emacs: keep the default first writable native-comp-eln-load-path dir 2023-08-28 15:46:04 +00:00
sources.nix emacs: refactor 2023-08-26 16:21:58 +00:00