mirror of https://github.com/djcb/mu.git
* mu4e: update documentation
This commit is contained in:
parent
4f388638e8
commit
c7c18505fc
|
@ -49,14 +49,21 @@ path."
|
||||||
:safe 'stringp)
|
:safe 'stringp)
|
||||||
|
|
||||||
(defcustom mu4e-maildir (expand-file-name "~/Maildir")
|
(defcustom mu4e-maildir (expand-file-name "~/Maildir")
|
||||||
"Your Maildir directory."
|
"The file system path to your Maildir."
|
||||||
:type 'directory
|
:type 'directory
|
||||||
:safe 'stringp
|
:safe 'stringp
|
||||||
:group 'mu4e)
|
:group 'mu4e)
|
||||||
|
|
||||||
(defcustom mu4e-get-mail-command "true"
|
(defcustom mu4e-get-mail-command "true"
|
||||||
"Shell command to run to retrieve new mail.
|
"Shell command to run to retrieve new mail.
|
||||||
Common values are \"offlineimap\" and \"fetchmail\"."
|
Common values are \"offlineimap\" and \"fetchmail\", but you use
|
||||||
|
arbitrary shell-commands.
|
||||||
|
|
||||||
|
If you set it to \"true\" (the default), the command won't don't
|
||||||
|
anything, which is useful if you get your mail without the need to
|
||||||
|
explicitly run any scripts, for example when running yout own
|
||||||
|
mail-server.
|
||||||
|
"
|
||||||
:type 'string
|
:type 'string
|
||||||
:group 'mu4e
|
:group 'mu4e
|
||||||
:safe 'stringp)
|
:safe 'stringp)
|
||||||
|
@ -86,9 +93,10 @@ better with e.g. offlineimap."
|
||||||
|
|
||||||
(defcustom mu4e-attachment-dir (expand-file-name "~/")
|
(defcustom mu4e-attachment-dir (expand-file-name "~/")
|
||||||
"Default directory for saving attachments.
|
"Default directory for saving attachments.
|
||||||
This can be either a string, or a function that takes a filename
|
This can be either a string (a file system path), or a function
|
||||||
FNAME and MIMETYPE as arguments, and returns the attachment
|
that takes a filename and the mime-type as arguments, and returns
|
||||||
dir. Note, either or both of the arguments may be `nil'."
|
the attachment dir. See Info node `(mu4e) Opening and saving
|
||||||
|
attachments' for details."
|
||||||
:type 'directory
|
:type 'directory
|
||||||
:group 'mu4e
|
:group 'mu4e
|
||||||
:safe 'stringp)
|
:safe 'stringp)
|
||||||
|
@ -301,17 +309,19 @@ re-edited, and is nil otherwise."
|
||||||
|
|
||||||
|
|
||||||
(defcustom mu4e-maildir-shortcuts nil
|
(defcustom mu4e-maildir-shortcuts nil
|
||||||
"A list of maildir shortcuts.
|
"A list of maildir shortcuts. This makes it possible to quickly
|
||||||
This enables quickly going to the particular maildir (folder), or
|
go to a particular maildir (folder), or quickly moving messages to
|
||||||
quickly moving messages to them (i.e., archiving or refiling). The
|
them (e.g., for archiving or refiling). The list contains elements
|
||||||
list contains elements of the form (maildir . shortcut), where
|
of the form (maildir . shortcut), where MAILDIR is a maildir (such
|
||||||
MAILDIR is a maildir (such as \"/archive/\"), and shortcut a single
|
as \"/archive/\"), and shortcut is a single character.
|
||||||
shortcut character. With this, in the header buffer and view buffer
|
|
||||||
you can execute `mu4e-mark-for-move-quick' (or 'm', by default) or
|
You can use these shortcuts in the headers and view buffers, for
|
||||||
|
example with `mu4e-mark-for-move-quick' (or 'm', by default) or
|
||||||
`mu4e-jump-to-maildir' (or 'j', by default), followed by the
|
`mu4e-jump-to-maildir' (or 'j', by default), followed by the
|
||||||
designated shortcut character for the maildir. Unlike in search
|
designated shortcut character for the maildir.
|
||||||
queries, folder names with spaces in them must NOT be quoted, since
|
|
||||||
mu4e does this automatically for you."
|
Unlike in search queries, folder names with spaces in them must NOT
|
||||||
|
be quoted, since mu4e does this automatically for you."
|
||||||
:type '(repeat (cons (string :tag "Maildir") character))
|
:type '(repeat (cons (string :tag "Maildir") character))
|
||||||
:group 'mu4e-folders)
|
:group 'mu4e-folders)
|
||||||
|
|
||||||
|
@ -577,23 +587,9 @@ Furthermore, the property `:sortable' determines whether we can
|
||||||
sort by this field. This can be either a boolean (nil or t), or a
|
sort by this field. This can be either a boolean (nil or t), or a
|
||||||
symbol for /another/ field. For example, the `:human-date' field
|
symbol for /another/ field. For example, the `:human-date' field
|
||||||
uses `:date' for that.
|
uses `:date' for that.
|
||||||
")
|
|
||||||
|
|
||||||
(defvar mu4e-custom-header-info nil
|
Note, `:sortable' does not work for custom header fields.")
|
||||||
"A list like `mu4e-custom-header-info', but for custom headers.
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
I.e. user-specified headers. Each of the list items is a property
|
|
||||||
list with :name (the full-name, as displayed in the message
|
|
||||||
view), :shortname (the name as displayed in the headers
|
|
||||||
view), :help (some help information, which shows up in the
|
|
||||||
tooltip). Furthermore, there are two special fields:
|
|
||||||
:headers-func and :message-func, and the values should be functions
|
|
||||||
that take a MSG property list as argument, and return a string as
|
|
||||||
result.
|
|
||||||
Note, :sortable does not work for custom header fields.")
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
||||||
|
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
@ -619,8 +615,12 @@ Note, :sortable does not work for custom header fields.")
|
||||||
|
|
||||||
(defvar mu4e~contacts-for-completion nil
|
(defvar mu4e~contacts-for-completion nil
|
||||||
"List of contacts (ie. 'name <e-mail>').
|
"List of contacts (ie. 'name <e-mail>').
|
||||||
This is used by the completion functions in mu4e-compose, and
|
This is used by the completion functions in mu4e-compose, filled
|
||||||
filled when mu4e starts.")
|
when mu4e starts.")
|
||||||
|
|
||||||
|
(defvar mu4e~contact-list nil
|
||||||
|
"List of contacts, where each contact is a plist
|
||||||
|
(:name NAME :mail EMAIL :tstamp TIMESTAMP :freq FREQUENCY).")
|
||||||
|
|
||||||
(defvar mu4e~server-props nil
|
(defvar mu4e~server-props nil
|
||||||
"Properties we receive from the mu4e server process.
|
"Properties we receive from the mu4e server process.
|
||||||
|
|
|
@ -63,12 +63,12 @@ Some of @t{mu4e}'s highlights:
|
||||||
|
|
||||||
@itemize
|
@itemize
|
||||||
@item Fully search-based: there are no folders@footnote{that is, instead of
|
@item Fully search-based: there are no folders@footnote{that is, instead of
|
||||||
folders, you can use queries that match all messages in a folder}, only
|
folders, you use queries that match messages in a particular folder}, only
|
||||||
queries
|
queries
|
||||||
@item Fully documented, with example configurations
|
@item Fully documented, with example configurations
|
||||||
@item User-interface optimized for speed, with quick key strokes for common actions
|
@item User-interface optimized for speed, with quick key strokes for common actions
|
||||||
@item Support for non-English languages (so ``angstrom'' will match ``Angström'')
|
@item Support for non-English languages (so ``angstrom'' will match ``Angström'')
|
||||||
@item Asynchronous; heavy actions don't block @command{emacs}@footnote{currently,
|
@item Asynchronous: heavy actions don't block @command{emacs}@footnote{currently,
|
||||||
the only exception to this is @emph{sending mail}; there are solutions for
|
the only exception to this is @emph{sending mail}; there are solutions for
|
||||||
that though - see the @ref{FAQ}}
|
that though - see the @ref{FAQ}}
|
||||||
@item Support for crypto
|
@item Support for crypto
|
||||||
|
@ -514,12 +514,12 @@ for example, when using Gmail-over-@abbr{IMAP}, this interferes with Gmail's
|
||||||
handling of the sent messages folder, and you may end up with duplicate
|
handling of the sent messages folder, and you may end up with duplicate
|
||||||
messages.
|
messages.
|
||||||
|
|
||||||
You can use the the variable @code{mu4e-sent-messages-behavior} to customize
|
You can use the variable @code{mu4e-sent-messages-behavior} to customize what
|
||||||
what happens with sent messages. The default is the symbol @code{sent} which,
|
happens with sent messages. The default is the symbol @code{sent} which, as
|
||||||
as mentioned, causes the message to be copied to your sent-messages
|
mentioned, causes the message to be copied to your sent-messages folder. Other
|
||||||
folder. Other possible values are the symbols @code{trash} (the sent message
|
possible values are the symbols @code{trash} (the sent message is moved to the
|
||||||
is moved to the trash-folder (@code{mu4e-trash-folder}), and @code{delete} to
|
trash-folder (@code{mu4e-trash-folder}), and @code{delete} to simply discard
|
||||||
simply discard the sent message altogether (so GMail can deal with it).
|
the sent message altogether (so GMail can deal with it).
|
||||||
|
|
||||||
For Gmail-over-@abbr{IMAP}, you could add the following to your settings:
|
For Gmail-over-@abbr{IMAP}, you could add the following to your settings:
|
||||||
@verbatim
|
@verbatim
|
||||||
|
@ -579,9 +579,9 @@ correctly, and then shows you the @t{mu4e} main view. Its major mode is
|
||||||
@code{mu4e-main-mode}.
|
@code{mu4e-main-mode}.
|
||||||
|
|
||||||
@menu
|
@menu
|
||||||
* MV Overview::
|
* Overview:MV Overview.
|
||||||
* Basic actions::
|
* Basic actions::
|
||||||
* MV Bookmarks::
|
* Bookmarks:MV Bookmarks.
|
||||||
* Miscellaneous::
|
* Miscellaneous::
|
||||||
@end menu
|
@end menu
|
||||||
|
|
||||||
|
@ -682,11 +682,11 @@ if you have actually set up mail-queuing. @ref{Queuing mail}
|
||||||
|
|
||||||
The headers view shows the results of a query. The topline shows the names of
|
The headers view shows the results of a query. The topline shows the names of
|
||||||
the fields. Below that, there is a line with those fields, for each matching
|
the fields. Below that, there is a line with those fields, for each matching
|
||||||
message, followed by a footer line. The major-mode for the the headers view is
|
message, followed by a footer line. The major-mode for the headers view is
|
||||||
@code{mu4e-headers-mode}.
|
@code{mu4e-headers-mode}.
|
||||||
|
|
||||||
@menu
|
@menu
|
||||||
* HV Overview::
|
* Overview:HV Overview.
|
||||||
* Keybindings::
|
* Keybindings::
|
||||||
* Marking messages::
|
* Marking messages::
|
||||||
* Sort order and threading::
|
* Sort order and threading::
|
||||||
|
@ -927,13 +927,13 @@ view window: the message headers, followed by the message body. Its major
|
||||||
mode is @code{mu4e-view-mode}.
|
mode is @code{mu4e-view-mode}.
|
||||||
|
|
||||||
@menu
|
@menu
|
||||||
* MSGV Overview::
|
* Overview:MSGV Overview.
|
||||||
* MSGV Keybindings::
|
* Keybindings:MSGV Keybindings.
|
||||||
* Opening and saving attachments::
|
* Opening and saving attachments::
|
||||||
* Viewing images inline::
|
* Viewing images inline::
|
||||||
* Displaying rich-text messages::
|
* Displaying rich-text messages::
|
||||||
* MSGV Crypto::
|
* Crypto:MSGV Crypto.
|
||||||
* MSGV Actions::
|
* Actions:MSGV Actions.
|
||||||
@end menu
|
@end menu
|
||||||
|
|
||||||
@node MSGV Overview
|
@node MSGV Overview
|
||||||
|
@ -1591,13 +1591,12 @@ or, unless you have a really old Xapian
|
||||||
date:2w.. emacs
|
date:2w.. emacs
|
||||||
@end verbatim
|
@end verbatim
|
||||||
|
|
||||||
@item Get messages from the the @emph{Mu} mailing list:
|
@item Get messages from the @emph{Mu} mailing list:
|
||||||
@verbatim
|
@verbatim
|
||||||
list:mu-discuss.googlegroups.com
|
list:mu-discuss.googlegroups.com
|
||||||
@end verbatim
|
@end verbatim
|
||||||
|
|
||||||
@item Get messages with a subject soccer, Socrates, society, ...; note that the '*'
|
@item Get messages with a subject soccer, Socrates, society, ...; note that the '*'-wildcard can only appear as a term's rightmost character:
|
||||||
wildcard can only appear as the term's rightmost character:
|
|
||||||
@verbatim
|
@verbatim
|
||||||
subject:soc*
|
subject:soc*
|
||||||
@end verbatim
|
@end verbatim
|
||||||
|
@ -2937,7 +2936,7 @@ instead -- see
|
||||||
@section Reading messages
|
@section Reading messages
|
||||||
|
|
||||||
@enumerate
|
@enumerate
|
||||||
@item @emph{How can I show attached images in my message view buffers?} See
|
@item @emph{How can I view attached images in my message view buffers?} See
|
||||||
@ref{Viewing images inline}.
|
@ref{Viewing images inline}.
|
||||||
@item @emph{How can I word-wrap long lines in when viewing a
|
@item @emph{How can I word-wrap long lines in when viewing a
|
||||||
message?} You can toggle between wrapped and non-wrapped states using
|
message?} You can toggle between wrapped and non-wrapped states using
|
||||||
|
@ -3491,7 +3490,7 @@ MIME-type, if any) and @t{:size} (the size in bytes, if any).
|
||||||
|
|
||||||
As an example of the communication between @t{mu4e} and @command{mu}, let's
|
As an example of the communication between @t{mu4e} and @command{mu}, let's
|
||||||
look at the @t{ping-pong}-sequence. When @t{mu4e} starts, it sends a command
|
look at the @t{ping-pong}-sequence. When @t{mu4e} starts, it sends a command
|
||||||
@t{ping} to the the @t{mu server} backend, to learn about its version. @t{mu
|
@t{ping} to the @t{mu server} backend, to learn about its version. @t{mu
|
||||||
server} then responds with a @t{pong} s-expression to provide this information
|
server} then responds with a @t{pong} s-expression to provide this information
|
||||||
(this is implemented in @file{mu-cmd-server.c}).
|
(this is implemented in @file{mu-cmd-server.c}).
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue