mirror of https://github.com/djcb/mu.git
mu4e: Don't use (mu4e-root-maildir) with easy-accounts
Use an older version, and update the docs.
This commit is contained in:
parent
b37569964a
commit
263e5a160d
|
@ -109,11 +109,14 @@ none."
|
||||||
Also:
|
Also:
|
||||||
- Add the context to the `mu4e-contexts'.
|
- Add the context to the `mu4e-contexts'.
|
||||||
- Update the bookmarks to ignore the trash folder if NO-TRASH-FLAG is non-nil.
|
- Update the bookmarks to ignore the trash folder if NO-TRASH-FLAG is non-nil.
|
||||||
|
- Update the `mu4e-user-mail-address-list'.
|
||||||
|
|
||||||
Options beyond those of `make-mu4e-context':
|
Options beyond those of `make-mu4e-context':
|
||||||
- `user-mail-address': Defaults to the global value when the context is created.
|
- `user-mail-address': Defaults to the global value when the context is created.
|
||||||
- `smtpmail-smtp-user': Defaults to the global value if non-nil when the context
|
- `smtpmail-smtp-user': Defaults to the global value if non-nil when the context
|
||||||
is created, or the context `user-mail-address' otherwise.
|
is created, or the context `user-mail-address' otherwise.
|
||||||
|
- `maildir': Mailbox folder name in as stored in `mu4e-maildir' (just the name,
|
||||||
|
there must be no '/'). Defaults to `name'.
|
||||||
- `drafts-folder': Context value of `mu4e-drafts-folder'. Defaults to
|
- `drafts-folder': Context value of `mu4e-drafts-folder'. Defaults to
|
||||||
\"drafts\".
|
\"drafts\".
|
||||||
- `sent-folder': Context value of `mu4e-sent-folder'. Defaults to \"sent\".
|
- `sent-folder': Context value of `mu4e-sent-folder'. Defaults to \"sent\".
|
||||||
|
@ -146,7 +149,7 @@ default folders (see `make-mu4e-context' and `mu4e-context'):
|
||||||
msg '(:from :to) \"boss@work.org\"))
|
msg '(:from :to) \"boss@work.org\"))
|
||||||
:vars gandi-smtp-vars))"
|
:vars gandi-smtp-vars))"
|
||||||
(cl-assert name)
|
(cl-assert name)
|
||||||
(setq maildir (concat "/" (mu4e-root-maildir) "/")
|
(setq maildir (concat "/" (or maildir name) "/")
|
||||||
smtpmail-smtp-user (or smtpmail-smtp-user user-mail-address)
|
smtpmail-smtp-user (or smtpmail-smtp-user user-mail-address)
|
||||||
no-trash-flag (or no-trash-flag
|
no-trash-flag (or no-trash-flag
|
||||||
(string-match (regexp-opt mu4e-no-trash-providers)
|
(string-match (regexp-opt mu4e-no-trash-providers)
|
||||||
|
@ -189,6 +192,8 @@ default folders (see `make-mu4e-context' and `mu4e-context'):
|
||||||
(mu4e-trash-folder . ,mu4e-trash-folder)
|
(mu4e-trash-folder . ,mu4e-trash-folder)
|
||||||
(mu4e-refile-folder . ,mu4e-refile-folder))
|
(mu4e-refile-folder . ,mu4e-refile-folder))
|
||||||
(mu4e-context-vars context)))
|
(mu4e-context-vars context)))
|
||||||
|
;; Required when using multiple addresses and if we don't want to
|
||||||
|
;; reply to ourselves.
|
||||||
(add-to-list 'mu4e-contexts context)
|
(add-to-list 'mu4e-contexts context)
|
||||||
context))
|
context))
|
||||||
|
|
||||||
|
|
|
@ -2506,7 +2506,7 @@ example:
|
||||||
* Context policies::How to determine the current context
|
* Context policies::How to determine the current context
|
||||||
* Contexts and special folders::Using context variables to determine them
|
* Contexts and special folders::Using context variables to determine them
|
||||||
* Contexts example::How to define contexts
|
* Contexts example::How to define contexts
|
||||||
* Account setup helper::Easy context creation with sane defaults
|
* Account setup helper::Context creation with reasonable defaults
|
||||||
@end menu
|
@end menu
|
||||||
|
|
||||||
It can be useful to switch between different sets of settings in
|
It can be useful to switch between different sets of settings in
|
||||||
|
@ -2720,11 +2720,11 @@ and commas and note the '.' between variable name and its value.
|
||||||
@node Account setup helper
|
@node Account setup helper
|
||||||
@section Account setup helper
|
@section Account setup helper
|
||||||
|
|
||||||
Contexts can be cumbersome to set up. Thankfully @code{mu4e} provides a
|
Contexts can be cumbersome to set up. Thankfully @code{mu4e} provides
|
||||||
helper function @code{make-mu4e-context-account} to easily get started.
|
a helper function @code{make-mu4e-context-account} to easily get
|
||||||
The function helps initializing the context plus a couple of variables
|
started. The function helps initializing the context plus a couple of
|
||||||
with sane defaults.
|
variables with reasonable defaults. Everything should work out of the
|
||||||
Everything should work out of the box in most cases.
|
box in most cases.
|
||||||
|
|
||||||
A short example for two contexts:
|
A short example for two contexts:
|
||||||
|
|
||||||
|
@ -2757,6 +2757,9 @@ They will be automatically stored under the maildir.
|
||||||
@item When the @code{match-func} is not provided, the context is matched
|
@item When the @code{match-func} is not provided, the context is matched
|
||||||
against @code{predicate} if provided or the maildir of the current
|
against @code{predicate} if provided or the maildir of the current
|
||||||
message otherwise.
|
message otherwise.
|
||||||
|
@item If the e-mail address for some account is not already known to @t{mu}, you
|
||||||
|
should probably @t{mu} about it with the @t{--my-address} parameter to
|
||||||
|
@t{mu init}.
|
||||||
@end itemize
|
@end itemize
|
||||||
|
|
||||||
If the context created by @code{make-mu4e-context-account} is not
|
If the context created by @code{make-mu4e-context-account} is not
|
||||||
|
|
Loading…
Reference in New Issue