diff options
| author | Dirk-Jan C. Binnema <djcb@djcbsoftware.nl> | 2019-07-12 17:36:08 +0300 |
|---|---|---|
| committer | Dirk-Jan C. Binnema <djcb@djcbsoftware.nl> | 2019-07-13 16:00:28 +0300 |
| commit | 632f383c38b0cd0cdb22b36f9d2797fce20e0cb0 (patch) | |
| tree | 32346b63287f35712f0c98af6658b5808c0e80d8 /mu4e | |
| parent | 003d0a39b5462fc4cca4de36932c54c6cfc748a7 (diff) | |
mu: Default to XDG Base Directory Specification
Instead of using ~/.mu, use the XDG Base Directory Specification, typically:
~/.cache/xapian
~/.cache/mu.log
~/.cache/parts
~/.config/bookmarks
Update dependencies, documentation.
Diffstat (limited to 'mu4e')
| -rw-r--r-- | mu4e/mu4e-vars.el | 3 | ||||
| -rw-r--r-- | mu4e/mu4e.texi | 17 |
2 files changed, 11 insertions, 9 deletions
diff --git a/mu4e/mu4e-vars.el b/mu4e/mu4e-vars.el index 51c23c4..9702b09 100644 --- a/mu4e/mu4e-vars.el +++ b/mu4e/mu4e-vars.el @@ -34,7 +34,8 @@ :group 'mail) (defcustom mu4e-mu-home nil - "Location of the mu homedir, or nil for the default." + "Location of an alternate mu home dir. If not set, use the +defaults, based on the XDG Base Directory Specification." :group 'mu4e :type '(choice (const :tag "Default location" nil) (directory :tag "Specify location")) diff --git a/mu4e/mu4e.texi b/mu4e/mu4e.texi index d9a9f6e..df34a2d 100644 --- a/mu4e/mu4e.texi +++ b/mu4e/mu4e.texi @@ -12,7 +12,7 @@ @c %**end of header @copying -Copyright @copyright{} 2012-2018 Dirk-Jan C. Binnema +Copyright @copyright{} 2012-2019 Dirk-Jan C. Binnema @quotation Permission is granted to copy, distribute and/or modify this document @@ -2637,8 +2637,9 @@ invoke those function even in that case. the current context is also visible in the mode-line when in headers, view or main mode. @item You can set any kind of variable; including settings for mail servers etc. -However, settings such as @code{mu4e-maildir} and @code{mu4e-mu-home} are -not changeable after they have been set without quitting @t{mu4e} first. +However, settings such as @code{mu4e-maildir} and @code{mu4e-mu-home} +are not changeable after they have been set without quitting @t{mu4e} +first. @item @code{leave-func} (if defined) for the context we are leaving, is invoked before the @code{enter-func} (if defined) of the context we are entering. @@ -3917,7 +3918,7 @@ Use @kbd{M-x mu4e-update-index} errors like:} @verbatim mu: mu_store_new_writable: xapian error - 'Unable to get write lock on ~/.mu/xapian: already locked + 'Unable to get write lock on ~/.cache/mu/xapian: already locked @end verbatim @emph{What to do about this?} You get this error because the underlying Xapian database is locked by some other process; it can be opened only once in @@ -4736,10 +4737,10 @@ log-buffer is called @t{*mu4e-log*}, and in the @ref{Main view}, @ref{Headers view} and @ref{Message view}, there's a keybinding @key{$} that takes you there. You can quit it by pressing @key{q}. -Logging can be a bit resource-intensive, so you may not want to leave it on -all the time. By default, the log only maintains the most recent 1200 -lines. @t{mu} itself keeps a log as well, you can find this it in -@t{<MUHOME>/log/mu.log}, typically @t{~/.mu/log/mu.log}. +Logging can be a bit resource-intensive, so you may not want to leave +it on all the time. By default, the log only maintains the most recent +1200 lines. @t{mu} itself keeps a log as well, you can find it in +@t{<MUHOME>/mu.log}, on Unix typically @t{~/.cache/mu/mu.log}. @node GNU Free Documentation License @appendix GNU Free Documentation License |
