1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-05 11:45:45 +00:00

; Typo fixes, mostly repeated words

This commit is contained in:
Paul Eggert 2017-10-09 22:53:19 -07:00
parent 0d004ed01a
commit 5d51403ceb
58 changed files with 60 additions and 61 deletions

View File

@ -105,7 +105,7 @@ tested).
Emacs uses ERT, Emacs Lisp Regression Testing, for testing. See
https://www.gnu.org/software/emacs/manual/html_node/ert/
or run 'info "(ert)"' for for more information on writing and running
or run 'info "(ert)"' for more information on writing and running
tests.
If your test lasts longer than some few seconds, mark it in its

View File

@ -4415,7 +4415,7 @@
2016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
Document mode mode line variables
Document mode line variables
* doc/lispref/modes.texi (Mode Line Variables): Document
`mode-line-front-space, `mode-line-misc-info',

View File

@ -25,7 +25,7 @@ less and less available/popular as you move farther back in time.
@item
For similar reasons, we've reverted back to building our own version
of of @command{movemail} that retrieves POP3 mail as clear text via
of @command{movemail} that retrieves POP3 mail as clear text via
insecure channels. As you move back in time, the availability of
secure alternatives to POP3 will diminish, and we are only keen to
support that. We've also removed the @option{--with-mailutils}

View File

@ -1363,7 +1363,7 @@ message itself is flagged as deleted.
Mailing list messages that might offend or annoy some readers are sometimes
encoded in a simple code called @dfn{rot13}---so named because it
rotates the alphabet by 13 letters. This code is not for secrecy, as it
provides none; rather, it enables those who wish to to avoid
provides none; rather, it enables those who wish to avoid
seeing the real text of the message. For example, a review of a film
might use rot13 to hide important plot points.

View File

@ -1725,7 +1725,7 @@ C-p} (@code{tex-print}) to print a hardcopy of the output file.
@vindex tex-directory
By default, @kbd{C-c C-b} runs @TeX{} in the current directory. The
output of @TeX{} also goes in this directory. To run @TeX{} in a
different directory, change the variable @code{tex-directory} to the
different directory, change the variable @code{tex-directory} to
the desired directory. If your environment variable @env{TEXINPUTS}
contains relative names, or if your files contains
@samp{\input} commands with relative file names, then

View File

@ -831,7 +831,7 @@ An expert programmer who reviewed this text said to me:
@i{I prefer to learn from reference manuals. I ``dive into'' each
paragraph, and ``come up for air'' between paragraphs.}
@i{When I get to the end of a paragraph, I assume that that subject is
@i{When I get to the end of a paragraph, I assume that subject is
done, finished, that I know everything I need (with the
possible exception of the case when the next paragraph starts talking
about it in more detail). I expect that a well written reference manual

View File

@ -135,7 +135,7 @@ set @code{debug-ignored-errors} to @code{nil}.
@defopt eval-expression-debug-on-error
If this variable has a non-@code{nil} value (the default), running the
command @code{eval-expression} causes @code{debug-on-error} to be
temporarily bound to to @code{t}. @xref{Lisp Eval,, Evaluating
temporarily bound to @code{t}. @xref{Lisp Eval,, Evaluating
Emacs-Lisp Expressions, emacs, The GNU Emacs Manual}.
If @code{eval-expression-debug-on-error} is @code{nil}, then the value

View File

@ -222,7 +222,7 @@ If it is @code{t}, it selects the @file{*scratch*} buffer.
@c called from two places. If displaying a startup screen, they are
@c called in command-line-1 before the startup screen is shown.
@c inhibit-startup-hooks is then set and window-setup-hook set to nil.
@c If not displaying a startup screen, they are are called in
@c If not displaying a startup screen, they are called in
@c normal-top-level.
@c FIXME? So it seems they can be called before or after the
@c daemon/session restore step?

View File

@ -327,7 +327,7 @@ expression. Thus, @samp{fo*} has a repeating @samp{o}, not a repeating
The matcher processes a @samp{*} construct by matching, immediately, as
many repetitions as can be found. Then it continues with the rest of
the pattern. If that fails, backtracking occurs, discarding some of the
matches of the @samp{*}-modified construct in the hope that that will
matches of the @samp{*}-modified construct in the hope that this will
make it possible to match the rest of the pattern. For example, in
matching @samp{ca*ar} against the string @samp{caaar}, the @samp{a*}
first tries to match all three @samp{a}s; but the rest of the pattern is

View File

@ -825,7 +825,7 @@ with a class of @code{t} is considered to match any class you specify.
This matches Emacs's behavior when deciding on which face attributes to
use, to the best of my understanding ).
If @var{class} is @code{nil}, then you just get get whatever
If @var{class} is @code{nil}, then you just get whatever
@code{face-attr-construct} returns; i.e., the current specification in
effect for @var{face}.

View File

@ -584,7 +584,7 @@ This example will:
When the cell is empty (ie.@: when @code{val} is @code{nil}), print an
empty string @code{""}
@item
When the cell value is a non negative number, format the the value in
When the cell value is a non negative number, format the value in
fixed-point notation with one decimal after point
@item
Otherwise, handle the value as erroneous by printing it as an

View File

@ -2728,7 +2728,7 @@
* vc/ediff-util.el (ediff-buffer-type): New function.
(ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
rather than taking it as as argument.
rather than taking it as an argument.
(ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
2012-12-14 Ryan Crum <ryan.crum@eleostech.com>

View File

@ -1473,7 +1473,7 @@
1996-04-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
* term/win32-win.el (x-select-text): Remember selected text.
(x-get-selection-value): Return nil if the clipboard data is
(x-get-selection-value): Return nil if the clipboard data
is the same as the remembered selected text.
1996-04-18 Lars Magne Ingebrigtsen <larsi@ifi.uio.no>

View File

@ -357,7 +357,7 @@ Examples:
grandchildren, but completely collapse the final top-level topic.
(-1 () : 1 0)
Close the first topic so only the immediate subtopics are shown,
leave the subsequent topics exposed as they are until the second
leave the subsequent topics exposed as they are until the
second to last topic, which is exposed at least one level, and
completely close the last topic.
(-2 : -1 *)

View File

@ -36,7 +36,7 @@
;; represented by the overlay itself, or text-properties, in which case
;; the button is represented by a marker or buffer-position pointing
;; somewhere in the button. In the latter case, no markers into the
;; buffer are retained, which is important for speed if there are are
;; buffer are retained, which is important for speed if there are
;; extremely large numbers of buttons. Note however that if there is
;; an existing face text-property at the site of the button, the
;; button face may not be visible. Using overlays avoids this.

View File

@ -457,7 +457,7 @@
complete local variables.
* semantic/scope.el (semantic-analyze-scoped-types-default): If we
cannot find a type in the typecache, also look into the the types
cannot find a type in the typecache, also look into the types
we already found. This is necessary since in C++, a 'using
namespace' can be dependend on a previous one.
(semantic-completable-tags-from-type): When creating the list of

View File

@ -98,7 +98,7 @@ Return the created buffer with program output."
(defun cedet-idutils-lid-call (flags)
"Call ID Utils lid with the list of FLAGS.
Return the created buffer with with program output."
Return the created buffer with program output."
(let ((b (get-buffer-create "*CEDET lid*"))
(cd default-directory)
)

View File

@ -277,7 +277,7 @@ Execute BODY in a location where a value can be placed."
;;; SOURCE VARIABLE NAME CONSTRUCTION
(defsubst ede-pmake-varname (obj)
"Convert OBJ into a variable name name.
"Convert OBJ into a variable name.
Change . to _ in the variable name."
(let ((name (oref obj name)))
(while (string-match "\\." name)

View File

@ -57,7 +57,7 @@
(defcustom dired-bind-vm nil
"Non-nil means \"V\" runs `dired-vm', otherwise \"V\" runs `dired-rmail'.
RMAIL files in the old Babyl format (used before before Emacs 23.1)
RMAIL files in the old Babyl format (used before Emacs 23.1)
contain \"-*- rmail -*-\" at the top, so `dired-find-file'
will run `rmail' on these files. New RMAIL files use the standard
mbox format, and so cannot be distinguished in this way."

View File

@ -57,7 +57,7 @@ If not, see <http://www\\.gnu\\.org/licenses/>\\)\\.")
"SUCH DAMAGE\\.") ; BSD
("Permission is hereby granted, free of charge" . ; X11
"authorization from the X Consortium\\."))
"Alist of regexps defining start end end of text to elide.
"Alist of regexps defining start and end of text to elide.
The cars of elements of the list are searched for in order. Text is
elided with an invisible overlay from the end of the line where the

View File

@ -502,7 +502,7 @@
;; important advantage is that it allows the implementation of forward advice.
;; Advice information for a certain function accumulates as the value of the
;; `advice-info' property of the function symbol. This accumulation is
;; completely independent of the fact that that function might not yet be
;; completely independent of the fact that the function might not yet be
;; defined. The macros `defun' and `defmacro' check whether the
;; function/macro they defined had advice information
;; associated with it. If so and forward advice is enabled, the original

View File

@ -955,7 +955,7 @@
* gnus-sum.el (gnus-summary-read-group-1): Initialize the spam code if
that's needed.
* spam.el (spam-initialize): Allow calling repeatedly, but only run the
* spam.el (spam-initialize): Allow calling repeatedly, but only run
the code once (bug#9069).
2014-01-18 Steinar Bang <sb@dod.no>

View File

@ -72,8 +72,7 @@ match any of the group-specified splitting rules. See
;;;###autoload
(defun gnus-group-split-update (&optional catch-all)
"Computes nnmail-split-fancy from group params and CATCH-ALL.
It does this by calling by calling (gnus-group-split-fancy nil
nil CATCH-ALL).
It does this by calling (gnus-group-split-fancy nil nil CATCH-ALL).
If CATCH-ALL is nil, `gnus-group-split-default-catch-all-group' is used
instead. This variable is set by `gnus-group-split-setup'."

View File

@ -307,7 +307,7 @@ any confusion."
(defcustom message-subject-trailing-was-query t
"What to do with trailing \"(was: <old subject>)\" in subject lines.
If nil, leave the subject unchanged. If it is the symbol `ask', query
the user what do do. In this case, the subject is matched against
the user what to do. In this case, the subject is matched against
`message-subject-trailing-was-ask-regexp'. If
`message-subject-trailing-was-query' is t, always strip the trailing
old subject. In this case, `message-subject-trailing-was-regexp' is

View File

@ -628,7 +628,7 @@ order for SpamAssassin to recognize the new registered spam."
:group 'spam-spamassassin)
(defcustom spam-sa-learn-unregister-switch "--forget"
"The switch that sa-learn uses to unregister messages messages."
"The switch that sa-learn uses to unregister messages."
:type 'string
:group 'spam-spamassassin)

View File

@ -443,7 +443,7 @@ Possible values:
`other-window' Show new file in another window (same frame)
`display' Display file in another window without selecting to it
`other-frame' Show new file in another frame
`maybe-frame' If a file is visible in another frame, prompt to ask if you
`maybe-frame' If a file is visible in another frame, prompt to ask if
you want to see the file in the same window of the current
frame or in the other frame
`raise-frame' If a file is visible in another frame, raise that

View File

@ -118,7 +118,7 @@ been added between the last two retrievals."
(defcustom newsticker-hide-obsolete-items-in-echo-area
t
"Decides whether to show obsolete items items in the ticker.
"Decides whether to show obsolete items in the ticker.
If t the echo area will not show obsolete items. See also
`newsticker-hide-old-items-in-echo-area'."
:type 'boolean

View File

@ -260,7 +260,7 @@ is non-nil. One interesting value is `turn-on-font-lock'."
"Vector recording the actual score of the free squares.")
;; The key point point about the algorithm is that, rather than considering
;; The key point about the algorithm is that, rather than considering
;; the board as just a set of squares, we prefer to see it as a "space" of
;; internested 5-tuples of contiguous squares (called qtuples).
;;

View File

@ -113,7 +113,7 @@ In actual Lucid Emacs, you MUST NOT use this event object after
calling this function with it. You will lose. It is not necessary to
call this function, as event objects are garbage- collected like all
other objects; however, it may be more efficient to explicitly
deallocate events when you are sure that that is safe.
deallocate events when you are sure that this is safe.
This emulation does not actually deallocate or reuse events
except via garbage collection and `cons'."

View File

@ -164,7 +164,7 @@
;; might be nicer and to that effect a function has been declared
;; further down in the code. You may wish to auto-load this.
;;
;; Carsten also writes that that *changing* the prefix after the
;; Carsten also writes that *changing* the prefix after the
;; todo list is already established is not as simple as changing
;; the variable - the todo files have to be changed by hand.
;;

View File

@ -291,7 +291,7 @@ determines if it is a foreground or a background color."
(defcustom org-priority-faces nil
"Faces for specific Priorities.
This is a list of cons cells, with priority character in the car
and faces in the cdr. The face can be a symbol, a color as
and faces in the cdr. The face can be a symbol, a color
as a string, or a property list of attributes, like
(:foreground \"blue\" :weight bold :underline t).
If it is a color string, the variable `org-faces-easy-properties'

View File

@ -263,7 +263,7 @@ Other useful commands:\n
"Vector recording the actual score of the free squares.")
;; The key point point about the algorithm is that, rather than considering
;; The key point about the algorithm is that, rather than considering
;; the board as just a set of squares, we prefer to see it as a "space" of
;; internested 5-tuples of contiguous squares (called qtuples).
;;

View File

@ -619,7 +619,7 @@ COUNT starts with 1. GEN-SEP is used to separate long variable values."
'((java-mode ("%sTokenTypes.java") ("%s.java"))
(c++-mode ("%sTokenTypes.hpp") ("%s.cpp" "%s.hpp")))
"Language dependent formats which specify generated files.
Each element in this list looks looks like
Each element in this list looks like
(MAJOR-MODE (VOCAB-FILE-FORMAT...) (CLASS-FILE-FORMAT...)).
The element whose MAJOR-MODE is equal to `antlr-language' is used to

View File

@ -167,7 +167,7 @@ use c-constant-symbol instead."
(defmacro defcustom-c-stylevar (name val doc &rest args)
"Define a style variable NAME with VAL and DOC.
More precisely, convert the given `:type FOO', mined out of ARGS,
to an aggregate `:type (radio STYLE (PREAMBLE FOO))', append some
to an aggregate `:type (radio STYLE (PREAMBLE FOO))', append
some boilerplate documentation to DOC, arrange for the fallback
value of NAME to be VAL, and call `custom-declare-variable' to
do the rest of the work.

View File

@ -480,7 +480,7 @@ Font for POD headers."
(defcustom cperl-highlight-variables-indiscriminately nil
"Non-nil means perform additional highlighting on variables.
Currently only changes how scalar variables are highlighted.
Note that that variable is only read at initialization time for
Note that the variable is only read at initialization time for
the variable `cperl-font-lock-keywords-2', so changing it after you've
entered CPerl mode the first time will have no effect."
:type 'boolean

View File

@ -36,7 +36,7 @@
;; ("\eOR" [kp-f3])
;; ("\eOS" [kp-f4])
;; These might bre set by terminfo.
;; These might be set by terminfo.
("\e[H" [home])
("\e[Z" [backtab])
("\e[i" [print])
@ -45,13 +45,13 @@
("\e[M" [deleteline])
("\e[U" [next]) ;; actually the `page' key
;; These won't be set up by either
;; These won't be set up by either.
("\eOm" [kp-subtract])
("\eOl" [kp-separator])
("\eOn" [kp-decimal])
("\eOM" [kp-enter])
;; These won't be set up by either either
;; These won't be set up by either.
("\e[K" [key_eol]) ;; Not an X keysym
("\e[J" [key_eos]) ;; Not an X keysym
("\e[2J" [key_clear]) ;; Not an X keysym

View File

@ -129,7 +129,7 @@ variable in most cases is likely to be via directory local
variables.
This can be also be set to a full path, or a relative path. If
the path is relative, it will be relative to the the current
the path is relative, it will be relative to the current
directory by default."
:type 'file)
;;;###autoload

View File

@ -66,7 +66,7 @@
(defvar picture-desired-column 0
"Desired current column for Picture mode.
When a cursor is on a wide-column character (e.g. Chinese,
Japanese, Korean), this may may be different from `current-column'.")
Japanese, Korean), this may be different from `current-column'.")
(defun picture-update-desired-column (adjust-to-current)

View File

@ -269,7 +269,7 @@ This variable is buffer local and only used in the *cvs* buffer.")
"Regexp matching the possible names of locks in the CVS repository.")
(defconst cvs-cursor-column 22
"Column to position cursor in in `cvs-mode'.")
"Column to position cursor in, in `cvs-mode'.")
;;;;
;;;; Global internal variables

View File

@ -3958,7 +3958,7 @@
2006-05-12 Chong Yidong <cyd@stupidchicken.com>
* intervals.c (set_point_both): Fix mixup before before and after
* intervals.c (set_point_both): Fix mixup before and after
in variable names.
* editfns.c (Fline_beginning_position): Inhibit point-motion hooks

View File

@ -3348,7 +3348,7 @@
with plain -g rather than with -g3, and they need the duplicate
definitions for .gdbinit to work; see <https://bugs.gnu.org/12814#26>.
* lisp.h (GCTYPEBITS, ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG, VALMASK):
Define as macros, as well as as enums or as constants.
Define as macros, as well as enums or constants.
2012-11-06 Jan Djärv <jan.h.d@swipnet.se>

View File

@ -3381,7 +3381,7 @@
some external definitions.
(Ffile_attributes) [MSDOS]: Set execute bits from file name.
(Ffile_name_all_completions) [FILE_SYSTEM_CASE]: Convert
case of file name as as indicated by conditional.
case of file name as indicated by conditional.
* emacs.c (main) [MSDOS]: Call init_environment. Set file types to
binary for all files. Call init_dosfns.

View File

@ -1372,7 +1372,7 @@
1995-04-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
* keyboard.c (read_char): Rearrange code so that getcjmp is set
only around sit_for and kbd_buffer_get_event, and
only around sit_for and kbd_buffer_get_event,
and polling is stopped only around the kbd_buffer_get_event call.
(Ftrack_mouse, tracking_off, read_char): Don't call prepare_menu_bars.

View File

@ -3381,7 +3381,7 @@
1998-02-15 Richard Stallman <rms@psilocin.gnu.org>
* minibuf.c (read_minibuf): Do use DEFALT in place of empty input
when when expflag is nonzero.
when expflag is nonzero.
(Fread_no_blanks_input): Arg INIT renamed to INITIAL.
1998-02-14 Richard Stallman <rms@psilocin.gnu.org>

View File

@ -6054,7 +6054,7 @@ and is the visited file's modification time, as of that time. If the
modification time of the most recent save is different, this entry is
obsolete.
An entry (t . 0) means means the buffer was previously unmodified but
An entry (t . 0) means the buffer was previously unmodified but
its time stamp was unknown because it was not associated with a file.
An entry (t . -1) is similar, except that it means the buffer's visited
file did not exist.

View File

@ -983,7 +983,7 @@ value_to_lisp (emacs_value v)
return o;
}
/* Attempt to convert O to an emacs_value. Do not do any checking or
/* Attempt to convert O to an emacs_value. Do not do any checking
or allocate any storage; the caller should prevent or detect
any resulting bit pattern that is not a valid emacs_value. */
static emacs_value

View File

@ -81,7 +81,7 @@ emacs_fixed_gtk_widget_size_allocate (GtkWidget *widget,
additional case for an xwidget view.
It would be nicer if the bse class method could be called first,
and the the xview modification only would remain here. It wasn't
and the xview modification only would remain here. It wasn't
possible to solve it that way yet. */
EmacsFixedClass *klass;
GtkWidgetClass *parent_class;

View File

@ -124,7 +124,7 @@ static mode_t auto_save_mode_bits;
static bool auto_save_error_occurred;
/* If VALID_TIMESTAMP_FILE_SYSTEM, then TIMESTAMP_FILE_SYSTEM is the device
number of a file system where time stamps were observed to to work. */
number of a file system where time stamps were observed to work. */
static bool valid_timestamp_file_system;
static dev_t timestamp_file_system;

View File

@ -447,7 +447,7 @@ struct frame
/* New text height and width for pending size change. 0 if no change
pending. These values represent pixels or canonical character units
according to the value of new_pixelwise and correlate to the the
according to the value of new_pixelwise and correlate to the
text width/height of the frame. */
int new_width, new_height;

View File

@ -65,7 +65,7 @@ INLINE_HEADER_BEGIN
as soon as a complete key arrives from some KBOARD or other,
Emacs starts executing that key's binding. It switches to the
single-kboard state for the execution of that command,
so that that command can get input only from its own KBOARD.
so that the command can get input only from its own KBOARD.
While in the single-kboard state, read_char can consider input only
from the current KBOARD. If events come from other KBOARDs, they

View File

@ -3715,7 +3715,7 @@ Function modeled after x_draw_glyph_string_box ().
/* Currently on NS img->mask is always 0. Since
get_window_cursor_type specifies a hollow box cursor when on
a non-masked image we never reach this clause. But we put it
in in anticipation of better support for image masks on
in, in anticipation of better support for image masks on
NS. */
tdCol = ns_lookup_indexed_color (NS_FACE_FOREGROUND (face), s->f);
}

View File

@ -457,7 +457,7 @@ calculate_direct_scrolling (struct frame *frame,
if (baud_rate <= 0)
extra_cost = 1;
/* Overhead of setting the scroll window, plus the extra cost
/* Overhead of setting the scroll window, plus the extra
cost of scrolling by a distance of one. The extra cost is
added once for consistency with the cost vectors */
scroll_overhead

View File

@ -625,7 +625,7 @@ struct terminal
TERMINAL indicates which terminal device to read from. Input
events should be read into HOLD_QUIT.
A positive return value indicates that that many input events
A positive return value N indicates that N input events
were read into BUF.
Zero means no events were immediately available.
A value of -1 means a transient read error, while -2 indicates

View File

@ -526,7 +526,7 @@ do_mouse_event (MOUSE_EVENT_RECORD *event,
help_echo_window, help_echo_object,
help_echo_pos);
}
/* We already called kbd_buffer_store_event, so indicate the
/* We already called kbd_buffer_store_event, so indicate to
the caller it shouldn't. */
return 0;
}

View File

@ -838,7 +838,7 @@ alarm (int seconds)
updates the status of the read accordingly, and signals the 2nd
event object, char_avail, on whose handle sys_select is
waiting. This tells sys_select that the file descriptor
allocated for the subprocess or the the stream is ready to be
allocated for the subprocess or the stream is ready to be
read from.
When the subprocess exits or the network/serial stream is closed,

View File

@ -248,7 +248,7 @@ cause the current test to fail."
(kmacro-tests-simulate-command '(kmacro-set-counter 1))
(kmacro-tests-should-insert "1"
(kmacro-tests-simulate-command '(kmacro-insert-counter nil)))
;; Using universal arg to to set counter should reset to starting value.
;; Using universal arg to set counter should reset to starting value.
(kmacro-tests-simulate-command '(kmacro-set-counter (4)) '(4))
(kmacro-tests-should-insert "5"
(kmacro-tests-simulate-command '(kmacro-insert-counter nil))))

View File

@ -140,7 +140,7 @@ This shall used dynamically bound only.")
(defmacro tramp--test-instrument-test-case (verbose &rest body)
"Run BODY with `tramp-verbose' equal VERBOSE.
Print the the content of the Tramp debug buffer, if BODY does not
Print the content of the Tramp debug buffer, if BODY does not
eval properly in `should' or `should-not'. `should-error' is not
handled properly. BODY shall not contain a timeout."
(declare (indent 1) (debug (natnump body)))

View File

@ -188,7 +188,7 @@
;; From 24 Oct - 21 Nov 2015, `open-line' took a second argument
;; INTERACTIVE and ran `post-self-insert-hook' if the argument was
;; true. This test tested that. Currently, however, `open-line'
;; does not run run `post-self-insert-hook' at all, so for now
;; does not run `post-self-insert-hook' at all, so for now
;; this test just makes sure that it doesn't.
(ert-deftest open-line-hook ()
(let* ((x 0)