Mu4e: Gate org-msg behind +org flag
This commit is contained in:
parent
37b918d0d6
commit
7dff598725
6 changed files with 12 additions and 9 deletions
|
@ -84,7 +84,7 @@ Modules that reconfigure or augment packages or features built into Emacs.
|
||||||
+ [[file:../modules/emacs/vc/README.org][vc]] - TODO
|
+ [[file:../modules/emacs/vc/README.org][vc]] - TODO
|
||||||
|
|
||||||
* :email
|
* :email
|
||||||
+ [[file:../modules/email/mu4e/README.org][mu4e]] =+gmail= - TODO
|
+ [[file:../modules/email/mu4e/README.org][mu4e]] =+org +gmail= - TODO
|
||||||
+ [[file:../modules/email/notmuch/README.org][notmuch]] - TODO
|
+ [[file:../modules/email/notmuch/README.org][notmuch]] - TODO
|
||||||
+ wanderlust =+gmail= - TODO
|
+ wanderlust =+gmail= - TODO
|
||||||
|
|
||||||
|
|
|
@ -171,7 +171,7 @@
|
||||||
;;zig ; C, but simpler
|
;;zig ; C, but simpler
|
||||||
|
|
||||||
:email
|
:email
|
||||||
;;(mu4e +gmail)
|
;;(mu4e +org +gmail)
|
||||||
;;notmuch
|
;;notmuch
|
||||||
;;(wanderlust +gmail)
|
;;(wanderlust +gmail)
|
||||||
|
|
||||||
|
|
|
@ -33,12 +33,15 @@ via IMAP) and ~mu~ (to index my mail into a format ~mu4e~ can understand).
|
||||||
#+end_quote
|
#+end_quote
|
||||||
|
|
||||||
** Module Flags
|
** Module Flags
|
||||||
+ ~+gmail~ Enables gmail-specific configuration for mail ~To~ or ~From~ a gmail
|
+ =+gmail= Enables gmail-specific configuration for mail ~To~ or ~From~ a gmail
|
||||||
address, or a maildir with ~gmail~ in the name.
|
address, or a maildir with ~gmail~ in the name.
|
||||||
|
+ =+org= Use =org-msg= for composing email in Org, then sending a multipart text
|
||||||
|
(ASCII export) and HTML message.
|
||||||
|
|
||||||
** Plugins
|
** Plugins
|
||||||
+ [[https://github.com/jeremy-compostella/org-msg][org-msg]]
|
|
||||||
+ [[https://github.com/iqbalansari/mu4e-alert][mu4e-alert]]
|
+ [[https://github.com/iqbalansari/mu4e-alert][mu4e-alert]]
|
||||||
|
+ =+org=
|
||||||
|
+ [[https://github.com/jeremy-compostella/org-msg][org-msg]]
|
||||||
|
|
||||||
* Prerequisites
|
* Prerequisites
|
||||||
This module requires:
|
This module requires:
|
||||||
|
@ -75,7 +78,7 @@ environment.systemPackages = with pkgs; [
|
||||||
+ Prettified =mu4e:main= view
|
+ Prettified =mu4e:main= view
|
||||||
+ Cooperative locking of the =mu= process. Another Emacs instance may request
|
+ Cooperative locking of the =mu= process. Another Emacs instance may request
|
||||||
access, or grab the lock when it's available.
|
access, or grab the lock when it's available.
|
||||||
+ =org-msg= integration, which can be toggled per-message, with revamped style and
|
+ =org-msg= integration with =+org=, which can be toggled per-message, with revamped style and
|
||||||
an accent colour
|
an accent colour
|
||||||
+ Gmail integrations with the =+gmail= flag
|
+ Gmail integrations with the =+gmail= flag
|
||||||
+ Email notifications with =mu4e-alert=, and (on Linux) a customised notification style
|
+ Email notifications with =mu4e-alert=, and (on Linux) a customised notification style
|
||||||
|
@ -102,7 +105,7 @@ You can now proceed with the [[#mu-and-mu4e][mu and mu4e]] section.
|
||||||
The steps needed to set up =mu4e= with =mbsync= are very similar to the ones for
|
The steps needed to set up =mu4e= with =mbsync= are very similar to the ones for
|
||||||
[[#offlineimap][offlineimap]].
|
[[#offlineimap][offlineimap]].
|
||||||
|
|
||||||
Start with writing a ~\~/.mbsyncrc~. An example for Gmail can be found on
|
Start with writing a ~~/.mbsyncrc~. An example for Gmail can be found on
|
||||||
[[http://pragmaticemacs.com/emacs/migrating-from-offlineimap-to-mbsync-for-mu4e/][pragmaticemacs.com]]. A non-Gmail example is available as a gist [[https://gist.github.com/agraul/60977cc497c3aec44e10591f94f49ef0][here]]. The [[http://isync.sourceforge.net/mbsync.html][manual
|
[[http://pragmaticemacs.com/emacs/migrating-from-offlineimap-to-mbsync-for-mu4e/][pragmaticemacs.com]]. A non-Gmail example is available as a gist [[https://gist.github.com/agraul/60977cc497c3aec44e10591f94f49ef0][here]]. The [[http://isync.sourceforge.net/mbsync.html][manual
|
||||||
page]] contains all needed information to set up your own.
|
page]] contains all needed information to set up your own.
|
||||||
|
|
||||||
|
|
|
@ -210,7 +210,7 @@
|
||||||
|
|
||||||
(use-package! org-msg
|
(use-package! org-msg
|
||||||
:after mu4e
|
:after mu4e
|
||||||
:when (featurep! :lang org)
|
:when (featurep! +org)
|
||||||
:config
|
:config
|
||||||
(setq org-msg-options "html-postamble:nil H:5 num:nil ^:{} toc:nil author:nil email:nil tex:dvipng"
|
(setq org-msg-options "html-postamble:nil H:5 num:nil ^:{} toc:nil author:nil email:nil tex:dvipng"
|
||||||
org-msg-startup "hidestars indent inlineimages"
|
org-msg-startup "hidestars indent inlineimages"
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
(wan! "Couldn't find mbsync or offlineimap command. \
|
(wan! "Couldn't find mbsync or offlineimap command. \
|
||||||
You may not have a way of fetching mail."))
|
You may not have a way of fetching mail."))
|
||||||
|
|
||||||
(when (and (featurep! :lang org)
|
(when (and (featurep! +org)
|
||||||
(not IS-WINDOWS))
|
(not IS-WINDOWS))
|
||||||
(unless (executable-find "identify")
|
(unless (executable-find "identify")
|
||||||
(warn! "Couldn't find the identify command from imagemagik. \
|
(warn! "Couldn't find the identify command from imagemagik. \
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
;; -*- no-byte-compile: t; -*-
|
;; -*- no-byte-compile: t; -*-
|
||||||
;;; email/mu4e/packages.el
|
;;; email/mu4e/packages.el
|
||||||
|
|
||||||
(when (featurep! :lang org)
|
(when (featurep! +org)
|
||||||
(package! org-msg :pin "2db6725c4a4f4342a9c61895b7c3c82795b01fee"))
|
(package! org-msg :pin "2db6725c4a4f4342a9c61895b7c3c82795b01fee"))
|
||||||
|
|
||||||
(package! mu4e-alert :pin "91f0657c5b245a9de57aa38391221fb5d141d9bd")
|
(package! mu4e-alert :pin "91f0657c5b245a9de57aa38391221fb5d141d9bd")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue