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:
Pieter Praet 2011-06-20 22:14:21 +02:00 committed by Carl Worth
parent 8bb6f7869c
commit 432e091924
8 changed files with 13 additions and 13 deletions

View file

@ -88,7 +88,7 @@ the user hasn't set this variable with the old or new value."
(notmuch-config-get "user.primary_email")) (notmuch-config-get "user.primary_email"))
(defun notmuch-user-other-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")) (split-string (notmuch-config-get "user.other_email") "\n"))
(defun notmuch-kill-this-buffer () (defun notmuch-kill-this-buffer ()

View file

@ -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 messages from the thread matching this search term are shown if
non-nil. 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 which the message thread is shown. If it is nil (which occurs
when the command is called interactively) the argument to the when the command is called interactively) the argument to the
function is used. " 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 removing any tags, and '\\[notmuch-show-archive-thread]' to archive an entire thread
without scrolling through with \\[notmuch-show-advance-and-archive]). 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]'. '\\[notmuch-show-add-tag]' or '\\[notmuch-show-remove-tag]'.
All currently available key bindings: All currently available key bindings:

View file

@ -137,7 +137,7 @@ collapse the remaining lines into a button.")
(format label-format lines-count))) (format label-format lines-count)))
(defun notmuch-wash-region-to-button (msg beg end type prefix) (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 BEG and END are buffer locations. TYPE should a string, either
\"citation\" or \"signature\". PREFIX is some arbitrary text to \"citation\" or \"signature\". PREFIX is some arbitrary text to

View file

@ -64,7 +64,7 @@
("authors" . "%-20s ") ("authors" . "%-20s ")
("subject" . "%s ") ("subject" . "%s ")
("tags" . "(%s)")) ("tags" . "(%s)"))
"Search result formating. Supported fields are: "Search result formatting. Supported fields are:
date, count, authors, subject, tags date, count, authors, subject, tags
For example: For example:
(setq notmuch-search-result-format \(\(\"authors\" . \"%-40s\"\) (setq notmuch-search-result-format \(\(\"authors\" . \"%-40s\"\)
@ -493,7 +493,7 @@ the messages that are about to be tagged"
:group 'notmuch) :group 'notmuch)
(defcustom notmuch-after-tag-hook nil (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 'tags' will contain the tags that were added or removed as
a list of strings of the form \"+TAG\" or \"-TAG\". 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) (defun notmuch-search-operate-all (action)
"Add/remove tags from all matching messages. "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 current search terms. When called interactively, this command
will prompt for tags to be added or removed. Tags prefixed with will prompt for tags to be added or removed. Tags prefixed with
'+' will be added and tags prefixed with '-' will be removed. '+' will be added and tags prefixed with '-' will be removed.

View file

@ -69,7 +69,7 @@ static const char maildir_config_comment[] =
"\tsynchronize_flags Valid values are true and false.\n" "\tsynchronize_flags Valid values are true and false.\n"
"\n" "\n"
"\tIf true, then the following maildir flags (in message filenames)\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" "\n"
"\t\tFlag Tag\n" "\t\tFlag Tag\n"
"\t\t---- -------\n" "\t\t---- -------\n"

View file

@ -484,7 +484,7 @@ sup calls them).
The The
.B part .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 .RS 4
.TP 4 .TP 4
@ -641,13 +641,13 @@ expression).
Finally, results can be restricted to only messages within a Finally, results can be restricted to only messages within a
particular time range, (based on the Date: header) with a syntax of: 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 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 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 expressing date ranges, but until notmuch is fixed to accept a more
convenient form, one can use the date program to construct 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 specify a date range to return messages from 2009\-10\-01 until the
current time: current time:

View file

@ -48,7 +48,7 @@ static int
notmuch_help_command (void *ctx, int argc, char *argv[]); notmuch_help_command (void *ctx, int argc, char *argv[]);
static const char search_terms_help[] = 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" "\tterms.\n"
"\n" "\n"
"\tThe search terms can consist of free-form text (and quoted\n" "\tThe search terms can consist of free-form text (and quoted\n"

View file

@ -209,7 +209,7 @@ Non-text part: text/html
EOF EOF
test_expect_equal_file OUTPUT EXPECTED 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 notmuch show --format=text --part=5 'id:87liy5ap00.fsf@yoom.home.cworth.org' >OUTPUT
cat <<EOF >EXPECTED cat <<EOF >EXPECTED
attachment{ ID: 5, Content-type: text/plain attachment{ ID: 5, Content-type: text/plain