Re: Emacs: Generate autoloads during installation?

2024-08-12 Thread David Bremner
Pengji Zhang writes: > > I wonder if we could generate and install a 'notmuch-autoloads.el' > file as well during installation, like mu4e[1]. So we only need to > load that file at Emacs startup, which should be much cheaper. Currently notmuch-autoloads.el is generated by package.el during ins

Emacs: Generate autoloads during installation?

2024-08-12 Thread Pengji Zhang
Hello! I found that with the shipped Makefile, installing the Emacs Lisp package does not generate autoloads, even though many entry points have been marked with the autoload cookie. Namely, after: ./configure make make install one still has to 'require' the library in order to use,