all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH 0/4] Update mu and autoload mu4e.
@ 2016-05-08 10:21 Alex Kost
  2016-05-08 10:21 ` [PATCH 1/4] gnu: mu: Use 'modify-phases' Alex Kost
                   ` (5 more replies)
  0 siblings, 6 replies; 18+ messages in thread
From: Alex Kost @ 2016-05-08 10:21 UTC (permalink / raw)
  To: guix-devel

Hello, does anyone use mu4e (emacs interface for 'mu')?  If you do, may
I ask how?  By adding "~/.guix-profile/share/emacs/site-lisp/mu4e" to
'load-path' manually and requiring mu4e?

Our Emacs doesn't look in sub-directories of "share/emacs/site-lisp"
(only in "guix.d" subdir), so mu4e is not found automatically...
I've just thought that it would probably be better to look at site-lisp
subdirs and not to use a special "guix.d" directory, but it's for a
separate thread.

Returning to mu4e, I see that (require 'mu4e) is recommended¹, but IMO
requiring features in your ".emacs" is a bad practice.  I recommend to
avoid it if possible, because requiring big packages can significantly
reduce start-up time of your Emacs.  Instead you can wrap your settings
with 'with-eval-after-load' and use 'autoload' function if you need to
"pick" some command from a package.  Alternatively there is
'use-package' package².

After this patchset, "M-x mu4e" will be available right away (do not
require mu4e, as it will not be needed).

[PATCH 1/4] gnu: mu: Use 'modify-phases'.
[PATCH 2/4] gnu: mu: Install emacs files in a proper place.
[PATCH 3/4] gnu: mu: Install emacs autoloads.
[PATCH 4/4] gnu: mu: Update to 0.9.16.

¹ http://www.djcbsoftware.nl/code/mu/mu4e/Minimal-configuration.html#Minimal-configuration
² https://github.com/jwiegley/use-package

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2016-05-12 10:03 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-08 10:21 [PATCH 0/4] Update mu and autoload mu4e Alex Kost
2016-05-08 10:21 ` [PATCH 1/4] gnu: mu: Use 'modify-phases' Alex Kost
2016-05-09 20:14   ` Ludovic Courtès
2016-05-08 10:21 ` [PATCH 2/4] gnu: mu: Install emacs files in a proper place Alex Kost
2016-05-09 20:16   ` Ludovic Courtès
2016-05-10  8:21     ` Alex Kost
2016-05-10 13:23       ` Ludovic Courtès
2016-05-08 10:21 ` [PATCH 3/4] gnu: mu: Install emacs autoloads Alex Kost
2016-05-09 20:17   ` Ludovic Courtès
2016-05-08 10:21 ` [PATCH 4/4] gnu: mu: Update to 0.9.16 Alex Kost
2016-05-09 20:17   ` Ludovic Courtès
2016-05-08 16:11 ` [PATCH 0/4] Update mu and autoload mu4e Leo Famulari
2016-05-09 20:11 ` Ludovic Courtès
2016-05-10  8:21   ` Alex Kost
2016-05-10 13:23     ` Ludovic Courtès
2016-05-11 11:32       ` Alex Kost
2016-05-11 16:00         ` Ludovic Courtès
2016-05-12 10:03           ` Alex Kost

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.