mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
fix sum moar typos [user-visible documentation in code]
Various typo fixes in documentation within the code that can be made available to the user, (emacs function help strings, "notmuch help" output, notmuch man page, etc.). Signed-off-by: Pieter Praet <pieter@praet.org> Edited-by: Carl Worth <cworth@cworth.org> Restricted to just documentation and fixed fix of "comman" to "common" rather than "command".
This commit is contained in:
parent
8bb6f7869c
commit
432e091924
8 changed files with 13 additions and 13 deletions
|
@ -88,7 +88,7 @@ the user hasn't set this variable with the old or new value."
|
|||
(notmuch-config-get "user.primary_email"))
|
||||
|
||||
(defun notmuch-user-other-email ()
|
||||
"Return the user.primary_email value (as a list) from the notmuch configuration."
|
||||
"Return the user.other_email value (as a list) from the notmuch configuration."
|
||||
(split-string (notmuch-config-get "user.other_email") "\n"))
|
||||
|
||||
(defun notmuch-kill-this-buffer ()
|
||||
|
|
|
@ -803,7 +803,7 @@ The optional QUERY-CONTEXT is a notmuch search term. Only
|
|||
messages from the thread matching this search term are shown if
|
||||
non-nil.
|
||||
|
||||
The optional BUFFER-NAME provides the neame of the buffer in
|
||||
The optional BUFFER-NAME provides the name of the buffer in
|
||||
which the message thread is shown. If it is nil (which occurs
|
||||
when the command is called interactively) the argument to the
|
||||
function is used. "
|
||||
|
@ -921,7 +921,7 @@ more selectively, (such as '\\[notmuch-show-next-message]' and '\\[notmuch-show-
|
|||
without removing any tags, and '\\[notmuch-show-archive-thread]' to archive an entire thread
|
||||
without scrolling through with \\[notmuch-show-advance-and-archive]).
|
||||
|
||||
You can add or remove arbitary tags from the current message with
|
||||
You can add or remove arbitrary tags from the current message with
|
||||
'\\[notmuch-show-add-tag]' or '\\[notmuch-show-remove-tag]'.
|
||||
|
||||
All currently available key bindings:
|
||||
|
|
|
@ -137,7 +137,7 @@ collapse the remaining lines into a button.")
|
|||
(format label-format lines-count)))
|
||||
|
||||
(defun notmuch-wash-region-to-button (msg beg end type prefix)
|
||||
"Auxilary function to do the actual making of overlays and buttons
|
||||
"Auxiliary function to do the actual making of overlays and buttons
|
||||
|
||||
BEG and END are buffer locations. TYPE should a string, either
|
||||
\"citation\" or \"signature\". PREFIX is some arbitrary text to
|
||||
|
|
|
@ -64,7 +64,7 @@
|
|||
("authors" . "%-20s ")
|
||||
("subject" . "%s ")
|
||||
("tags" . "(%s)"))
|
||||
"Search result formating. Supported fields are:
|
||||
"Search result formatting. Supported fields are:
|
||||
date, count, authors, subject, tags
|
||||
For example:
|
||||
(setq notmuch-search-result-format \(\(\"authors\" . \"%-40s\"\)
|
||||
|
@ -493,7 +493,7 @@ the messages that are about to be tagged"
|
|||
:group 'notmuch)
|
||||
|
||||
(defcustom notmuch-after-tag-hook nil
|
||||
"Hooks that are run before tags of a message are modified.
|
||||
"Hooks that are run after tags of a message are modified.
|
||||
|
||||
'tags' will contain the tags that were added or removed as
|
||||
a list of strings of the form \"+TAG\" or \"-TAG\".
|
||||
|
@ -836,7 +836,7 @@ non-authors is found, assume that all of the authors match."
|
|||
(defun notmuch-search-operate-all (action)
|
||||
"Add/remove tags from all matching messages.
|
||||
|
||||
Tis command adds or removes tags from all messages matching the
|
||||
This command adds or removes tags from all messages matching the
|
||||
current search terms. When called interactively, this command
|
||||
will prompt for tags to be added or removed. Tags prefixed with
|
||||
'+' will be added and tags prefixed with '-' will be removed.
|
||||
|
|
|
@ -69,7 +69,7 @@ static const char maildir_config_comment[] =
|
|||
"\tsynchronize_flags Valid values are true and false.\n"
|
||||
"\n"
|
||||
"\tIf true, then the following maildir flags (in message filenames)\n"
|
||||
"\twill be syncrhonized with the corresponding notmuch tags:\n"
|
||||
"\twill be synchronized with the corresponding notmuch tags:\n"
|
||||
"\n"
|
||||
"\t\tFlag Tag\n"
|
||||
"\t\t---- -------\n"
|
||||
|
|
|
@ -484,7 +484,7 @@ sup calls them).
|
|||
|
||||
The
|
||||
.B part
|
||||
command can used to output a single part of a multi-part MIME message.
|
||||
command can used to output a single part of a multipart MIME message.
|
||||
|
||||
.RS 4
|
||||
.TP 4
|
||||
|
@ -641,13 +641,13 @@ expression).
|
|||
Finally, results can be restricted to only messages within a
|
||||
particular time range, (based on the Date: header) with a syntax of:
|
||||
|
||||
<intial-timestamp>..<final-timestamp>
|
||||
<initial-timestamp>..<final-timestamp>
|
||||
|
||||
Each timestamp is a number representing the number of seconds since
|
||||
1970\-01\-01 00:00:00 UTC. This is not the most convenient means of
|
||||
expressing date ranges, but until notmuch is fixed to accept a more
|
||||
convenient form, one can use the date program to construct
|
||||
timestamps. For example, with the bash shell the folowing syntax would
|
||||
timestamps. For example, with the bash shell the following syntax would
|
||||
specify a date range to return messages from 2009\-10\-01 until the
|
||||
current time:
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@ static int
|
|||
notmuch_help_command (void *ctx, int argc, char *argv[]);
|
||||
|
||||
static const char search_terms_help[] =
|
||||
"\tSeveral notmuch commands accept a comman syntax for search\n"
|
||||
"\tSeveral notmuch commands accept a common syntax for search\n"
|
||||
"\tterms.\n"
|
||||
"\n"
|
||||
"\tThe search terms can consist of free-form text (and quoted\n"
|
||||
|
|
|
@ -209,7 +209,7 @@ Non-text part: text/html
|
|||
EOF
|
||||
test_expect_equal_file OUTPUT EXPECTED
|
||||
|
||||
test_begin_subtest "--format=text --part=5, inline attachement"
|
||||
test_begin_subtest "--format=text --part=5, inline attachment"
|
||||
notmuch show --format=text --part=5 'id:87liy5ap00.fsf@yoom.home.cworth.org' >OUTPUT
|
||||
cat <<EOF >EXPECTED
|
||||
attachment{ ID: 5, Content-type: text/plain
|
||||
|
|
Loading…
Reference in a new issue