From 9858f6c326dfad35733b0dc86231bdd97f2b7703 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 29 Dec 2011 18:52:49 -0800 Subject: [PATCH] Spelling fixes. --- doc/emacs/fortran-xtra.texi | 2 +- doc/misc/calc.texi | 2 +- doc/misc/nxml-mode.texi | 3 +-- doc/misc/reftex.texi | 30 +++++++++++++++--------------- etc/NEWS.19 | 2 +- etc/NEWS.22 | 2 +- lib-src/ebrowse.c | 2 +- lisp/ChangeLog.7 | 2 +- lisp/allout-widgets.el | 2 +- lisp/cedet/semantic/lex-spp.el | 2 +- lisp/emacs-lisp/avl-tree.el | 2 +- lisp/emacs-lisp/bytecomp.el | 2 +- lisp/frame.el | 2 +- lisp/gnus/ChangeLog | 2 +- lisp/gnus/gnus-agent.el | 2 +- lisp/gnus/gnus-int.el | 2 +- lisp/gnus/mm-util.el | 2 +- lisp/gnus/nndiary.el | 4 ++-- lisp/gnus/nnir.el | 2 +- lisp/language/english.el | 2 +- lisp/mh-e/mh-e.el | 2 +- lisp/minibuffer.el | 2 +- lisp/nxml/rng-valid.el | 2 +- lisp/obsolete/pgg-parse.el | 2 +- lisp/org/ChangeLog | 4 ++-- lisp/org/ob-latex.el | 2 +- lisp/org/org-exp.el | 2 +- lisp/play/dunnet.el | 2 +- lisp/progmodes/cc-engine.el | 4 ++-- lisp/progmodes/cc-mode.el | 8 ++++---- lisp/progmodes/idlwave.el | 2 +- lisp/progmodes/prolog.el | 4 ++-- lisp/speedbar.el | 2 +- lisp/textmodes/bibtex.el | 2 +- lisp/textmodes/reftex-vars.el | 2 +- lisp/textmodes/rst.el | 2 +- lisp/vc/vc-cvs.el | 2 +- lisp/vc/vc-mtn.el | 2 +- src/bidi.c | 2 +- src/fns.c | 2 +- src/font.h | 2 +- src/process.c | 2 +- src/search.c | 2 +- src/w32term.c | 2 +- src/xdisp.c | 2 +- 45 files changed, 66 insertions(+), 67 deletions(-) diff --git a/doc/emacs/fortran-xtra.texi b/doc/emacs/fortran-xtra.texi index e5853a17dd..833265359a 100644 --- a/doc/emacs/fortran-xtra.texi +++ b/doc/emacs/fortran-xtra.texi @@ -22,7 +22,7 @@ extensions @samp{.f90}, @samp{.f95}, @samp{.f03} and @samp{.f08}. Customize @code{auto-mode-alist} to add more extensions. GNU Fortran supports both free and fixed form. This manual mainly documents Fortran mode, but the corresponding F90 mode features are mentioned when -revelant. +relevant. Fortran mode provides special motion commands for Fortran statements and subprograms, and indentation commands that understand Fortran diff --git a/doc/misc/calc.texi b/doc/misc/calc.texi index d0c15c1940..99029e0a83 100644 --- a/doc/misc/calc.texi +++ b/doc/misc/calc.texi @@ -11100,7 +11100,7 @@ pairwise relatively prime) is @texline @math{15\times 19\times 28 = 7980} years. @infoline 15*19*28 = 7980 years. This is the length of a Julian cycle. Working backwards, the previous -year in which all three cycles began was 4713 BC, and so Scalinger +year in which all three cycles began was 4713 BC, and so Scaliger chose that year as the beginning of a Julian cycle. Since at the time there were no historical records from before 4713 BC, using this year as a starting point had the advantage of avoiding negative year diff --git a/doc/misc/nxml-mode.texi b/doc/misc/nxml-mode.texi index 2760344041..0cb0a82a46 100644 --- a/doc/misc/nxml-mode.texi +++ b/doc/misc/nxml-mode.texi @@ -878,7 +878,7 @@ the document in different ways, since the XML Recommendation does not require XML parsers to read the DTD. With DTDs, it was impractical to get validation without using an external DTD or reference to an parameter entity. With RELAX NG and other schema languages, you can -simulataneously get the benefits of validation and standalone XML +simultaneously get the benefits of validation and standalone XML documents. Therefore, I recommend that you do not reference an external DOCTYPE in your XML documents. @@ -908,4 +908,3 @@ specification are not enforced. @end itemize @bye - diff --git a/doc/misc/reftex.texi b/doc/misc/reftex.texi index 3944b71233..e7e794926b 100644 --- a/doc/misc/reftex.texi +++ b/doc/misc/reftex.texi @@ -90,7 +90,7 @@ Don't be discouraged by the size of this manual, which covers Nutshell}). You can go back later to other parts of this document when needed. -@insertcopying +@insertcopying @menu * Introduction:: Quick-Start information. @@ -157,7 +157,7 @@ Citations * Citation Info:: View the corresponding database entry. * Chapterbib and Bibunits:: Multiple bibliographies in a Document. * Citations Outside LaTeX:: How to make citations in Emails etc. -* BibTeX Database Subsets:: Extract parts of a big database. +* BibTeX Database Subsets:: Extract parts of a big database. Index Support @@ -1672,7 +1672,7 @@ support for citations helps to select the correct key quickly. * Citation Info:: View the corresponding database entry. * Chapterbib and Bibunits:: Multiple bibliographies in a Document. * Citations Outside LaTeX:: How to make citations in Emails etc. -* BibTeX Database Subsets:: Extract parts of a big database. +* BibTeX Database Subsets:: Extract parts of a big database. @end menu @node Creating Citations, Citation Styles, , Citations @@ -1776,12 +1776,12 @@ separate @code{\cite} macro for each of it. @item e Create a new BibTeX database file which contains all @i{marked} entries in the selection buffer. If no entries are marked, all entries are -selected. +selected. @item E Create a new BibTeX database file which contains all @i{unmarked} entries in the selection buffer. If no entries are marked, all entries -are selected. +are selected. @item @key{TAB} Enter a citation key with completion. This may also be a key which does @@ -3215,7 +3215,7 @@ way. Before calling a @b{Ref@TeX{}} function, the style hook should always test for the availability of the function, so that the style file will -also work for people who do not use @b{Ref@TeX{}}. +also work for people who do not use @b{Ref@TeX{}}. Additions made with style files in the way described below remain local to the current document. For example, if one package uses AMSTeX, the @@ -3714,7 +3714,7 @@ Produce a list of all duplicate labels in the document. Create a new BibTeX database file with all entries referenced in document. The command prompts for a filename and writes the collected entries to that file. Only entries referenced in the current document with -any @code{\cite}-like macros are used. +any @code{\cite}-like macros are used. The sequence in the new file is the same as it was in the old database. @end deffn @@ -3819,7 +3819,7 @@ only in that frame. So when creating that frame (with @kbd{d} key in an ordinary TOC window), the automatic recentering is turned on. When the frame gets destroyed, automatic recentering is turned off again. -This feature can be turned on and off from the menu +This feature can be turned on and off from the menu (Ref->Options). @end defopt @@ -4095,7 +4095,7 @@ Possible values for this option are: t @r{This means to trust any label prefixes found.} regexp @r{If a regexp, only prefixes matched by the regexp are trusted.} list @r{List of accepted prefixes, as strings. The colon is part of} - @r{the prefix, e.g. ("fn:" "eqn:" "item:").} + @r{the prefix, e.g. ("fn:" "eqn:" "item:").} nil @r{Never trust a label prefix.} @end example The only disadvantage of using this feature is that the label context @@ -5179,11 +5179,11 @@ Fixed bug with @samp{%F} in a label prefix. Added new escapes @noindent @b{Version 4.24} @itemize @bullet -@item +@item Inserting citation commands now prompts for optional arguments when called with a prefix argument. Related new options are @code{reftex-cite-prompt-optional-args} and -@code{reftex-cite-cleanup-optional-args}. +@code{reftex-cite-cleanup-optional-args}. @item New option @code{reftex-trust-label-prefix}. Configure this variable if you'd like RefTeX to base its classification of labels on prefixes. @@ -5199,7 +5199,7 @@ after words. Disabled indexing in comment lines. @noindent @b{Version 4.22} @itemize @bullet -@item +@item New command @code{reftex-create-bibtex-file} to create a new database with all entries referenced in the current document. @item @@ -5209,7 +5209,7 @@ from entries marked in a citation selection buffer. @noindent @b{Version 4.21} @itemize @bullet -@item +@item Renaming labels from the toc buffer with key @kbd{M-%}. @end itemize @@ -5342,7 +5342,7 @@ default stuff which has been moved to a constant. @item Environments like theorems can be placed into the TOC by putting entries for @samp{"begin@{theorem@}"} in -@code{reftex-setion-levels}. +@code{reftex-section-levels}. @end itemize @noindent @b{Version 4.06} @@ -5425,7 +5425,7 @@ File search further refined. New option @code{reftex-file-extensions}. document, all labels and associated context. New keys @kbd{i}, @kbd{l}, and @kbd{c}. New options @code{reftex-toc-include-labels}, @code{reftex-toc-include-context}, -@code{reftex-toc-include-file-boundaries}. +@code{reftex-toc-include-file-boundaries}. @end itemize @noindent @b{Version 3.41} diff --git a/etc/NEWS.19 b/etc/NEWS.19 index df6c4893f8..bfed2112a3 100644 --- a/etc/NEWS.19 +++ b/etc/NEWS.19 @@ -5032,7 +5032,7 @@ if it is `memq' in the list. ** If you call `get-buffer-window' passing t as its second argument, it will only search for windows on visible frames. Previously, passing t -as the secord argument caused `get-buffer-window' to search all +as the second argument caused `get-buffer-window' to search all frames, visible or not. ** If you call `other-buffer' with a nil or omitted second argument, it diff --git a/etc/NEWS.22 b/etc/NEWS.22 index 70c7b0e018..5cb7955006 100644 --- a/etc/NEWS.22 +++ b/etc/NEWS.22 @@ -3035,7 +3035,7 @@ appropriate `sql-interactive-mode' wrapper for the current setting of ** Fortran mode changes *** F90 mode and Fortran mode have support for `hs-minor-mode' (hideshow). -It cannot deal with every code format, but ought to handle a sizeable +It cannot deal with every code format, but ought to handle a sizable majority. *** F90 mode and Fortran mode have new navigation commands diff --git a/lib-src/ebrowse.c b/lib-src/ebrowse.c index 7395f2c8fd..9af4f4faf4 100644 --- a/lib-src/ebrowse.c +++ b/lib-src/ebrowse.c @@ -981,7 +981,7 @@ make_namespace (char *name, struct sym *context) } -/* Find the symbol for namespace NAME. If not found, retrun NULL */ +/* Find the symbol for namespace NAME. If not found, return NULL */ static struct sym * check_namespace (char *name, struct sym *context) diff --git a/lisp/ChangeLog.7 b/lisp/ChangeLog.7 index b05707abe5..5036cf1fcc 100644 --- a/lisp/ChangeLog.7 +++ b/lisp/ChangeLog.7 @@ -13739,7 +13739,7 @@ (isearch-toggle-specified-input-method): Set the above variables. (isearch-toggle-input-method): Likewise. (isearch-process-search-multibyte-characters): Give - iseach-input-method as arg to read-multilingual-string. + isearch-input-method as arg to read-multilingual-string. * international/mule-cmds.el (read-multilingual-string): Adjusted for the previous change of variables related to input methods. diff --git a/lisp/allout-widgets.el b/lisp/allout-widgets.el index 715879534b..4a25374d8f 100644 --- a/lisp/allout-widgets.el +++ b/lisp/allout-widgets.el @@ -1635,7 +1635,7 @@ Use this to redecorate only the item, when you know that its situation with respect to siblings, parent, and offspring is unchanged from its last decoration. Use `allout-decorate-item-and-context' instead to reassess and adjust -relevent context, when suitable." +relevant context, when suitable." (if (not (equal (widget-get item-widget :last-decorated-tick) allout-command-counter)) (let ((was-modified (buffer-modified-p)) diff --git a/lisp/cedet/semantic/lex-spp.el b/lisp/cedet/semantic/lex-spp.el index cf82da303c..6b6bf180b1 100644 --- a/lisp/cedet/semantic/lex-spp.el +++ b/lisp/cedet/semantic/lex-spp.el @@ -577,7 +577,7 @@ and what valid VAL values are." (cond ;; CASE 3: Merge symbols together. ((eq (semantic-lex-token-class v) 'spp-symbol-merge) - ;; We need to merge the tokens in the 'text segement together, + ;; We need to merge the tokens in the 'text segment together, ;; and produce a single symbol from it. (let ((newsym (mapconcat (lambda (tok) diff --git a/lisp/emacs-lisp/avl-tree.el b/lisp/emacs-lisp/avl-tree.el index bc1efc118e..1db12eb94f 100644 --- a/lisp/emacs-lisp/avl-tree.el +++ b/lisp/emacs-lisp/avl-tree.el @@ -31,7 +31,7 @@ ;; deleting, and retrieving data from an AVL tree containing n elements ;; is O(log n). It is somewhat more rigidly balanced than other ;; self-balancing binary trees (such as red-black trees and AA trees), -;; making insertion slighty slower, deletion somewhat slower, and +;; making insertion slightly slower, deletion somewhat slower, and ;; retrieval somewhat faster (the asymptotic scaling is of course the ;; same for all types). Thus it may be a good choice when the tree will ;; be relatively static, i.e. data will be retrieved more often than diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index 29c5f3f092..8c63428cdf 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el @@ -3725,7 +3725,7 @@ that suppresses all warnings during execution of BODY." (defun byte-compile-if (form) (byte-compile-form (car (cdr form))) ;; Check whether we have `(if (fboundp ...' or `(if (boundp ...' - ;; and avoid warnings about the relevent symbols in the consequent. + ;; and avoid warnings about the relevant symbols in the consequent. (let ((clause (nth 1 form)) (donetag (byte-compile-make-tag))) (if (null (nthcdr 3 form)) diff --git a/lisp/frame.el b/lisp/frame.el index af668f8096..3405de651c 100644 --- a/lisp/frame.el +++ b/lisp/frame.el @@ -396,7 +396,7 @@ there (in decreasing order of priority)." ;; Finally, get rid of the old frame. (delete-frame frame-initial-frame t)) - ;; Otherwise, we don't need all that rigamarole; just apply + ;; Otherwise, we don't need all that rigmarole; just apply ;; the new parameters. (let (newparms allparms tail) (setq allparms (append initial-frame-alist diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 1fff67074e..a6e88088ee 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -4713,7 +4713,7 @@ 2010-10-24 Lars Magne Ingebrigtsen * nnimap.el (nnimap-request-head): New function. - (nnimap-request-move-article): Try to be slighly faster by not + (nnimap-request-move-article): Try to be slightly faster by not requesting the entire message when moving. (nnimap-transform-headers): Don't bug out on bodiless articles. (nnimap-send-command): Have no outstanding messages if the IMAP server diff --git a/lisp/gnus/gnus-agent.el b/lisp/gnus/gnus-agent.el index bf7f31e639..d268dd7b0c 100644 --- a/lisp/gnus/gnus-agent.el +++ b/lisp/gnus/gnus-agent.el @@ -4031,7 +4031,7 @@ If REREAD is not nil, downloaded articles are marked as unread." ;; gnus-agent-regenerate-group can remove the article ID of every ;; article (with the exception of the last ID in the list - it's ;; special) that no longer appears in the overview. In this - ;; situtation, the last article ID in the list implies that it, + ;; situation, the last article ID in the list implies that it, ;; and every article ID preceding it, have been fetched from the ;; server. diff --git a/lisp/gnus/gnus-int.el b/lisp/gnus/gnus-int.el index 2e10263472..320a7aa017 100644 --- a/lisp/gnus/gnus-int.el +++ b/lisp/gnus/gnus-int.el @@ -356,7 +356,7 @@ If it is down, start it up (again)." infos data)) (defun gnus-retrieve-group-data-early (gnus-command-method infos) - "Start early async retrival of data from GNUS-COMMAND-METHOD." + "Start early async retrieval of data from GNUS-COMMAND-METHOD." (when (stringp gnus-command-method) (setq gnus-command-method (gnus-server-to-method gnus-command-method))) (funcall (gnus-get-function gnus-command-method 'retrieve-group-data-early) diff --git a/lisp/gnus/mm-util.el b/lisp/gnus/mm-util.el index 129609df10..a114fb64de 100644 --- a/lisp/gnus/mm-util.el +++ b/lisp/gnus/mm-util.el @@ -424,7 +424,7 @@ corresponding number of an iso-8859 charset." ;; Cf. http://thread.gmane.org/v9lkng5nwy.fsf@marauder.physik.uni-ulm.de "List of IBM codepage numbers. -The codepage mappings slighly differ between IBM and other vendors. +The codepage mappings slightly differ between IBM and other vendors. See \"ftp://ftp.unicode.org/Public/MAPPINGS/VENDORS/IBM/README.TXT\". If an element is a number corresponding to a supported windows diff --git a/lisp/gnus/nndiary.el b/lisp/gnus/nndiary.el index 29f0695c74..b0c31907d9 100644 --- a/lisp/gnus/nndiary.el +++ b/lisp/gnus/nndiary.el @@ -71,7 +71,7 @@ ;; * nndiary-get-new-mail, nndiary-mail-source and nndiary-split-methods: ;; NNDiary has some experimental parts, in the sense Gnus normally uses only -;; one mail back ends for mail retreival and splitting. This back end is +;; one mail back ends for mail retrieval and splitting. This back end is ;; also an attempt to make it behave differently. For Gnus developers: as ;; you can see if you snarf into the code, that was not a very difficult ;; thing to do. Something should be done about the respooling breakage @@ -224,7 +224,7 @@ The hooks will be called with the article in the current buffer." (defvoo nndiary-get-new-mail nil "Whether nndiary gets new mail and split it. Contrary to traditional mail back ends, this variable can be set to t -even if your primary mail back end also retreives mail. In such a case, +even if your primary mail back end also retrieves mail. In such a case, NDiary uses its own mail-sources and split-methods.") (defvoo nndiary-nov-is-evil nil diff --git a/lisp/gnus/nnir.el b/lisp/gnus/nnir.el index 3d0fc78dca..ceeaeda930 100644 --- a/lisp/gnus/nnir.el +++ b/lisp/gnus/nnir.el @@ -304,7 +304,7 @@ is `(valuefunc member)'." ;;; User Customizable Variables: (defgroup nnir nil - "Search groups in Gnus with assorted seach engines." + "Search groups in Gnus with assorted search engines." :group 'gnus) (defcustom nnir-ignored-newsgroups "" diff --git a/lisp/language/english.el b/lisp/language/english.el index dd96d38a19..4420175558 100644 --- a/lisp/language/english.el +++ b/lisp/language/english.el @@ -30,7 +30,7 @@ ;; We need nothing special to support English on Emacs. Selecting ;; English as a language environment is one of the ways to reset -;; various multilingual environment to the original settting. +;; various multilingual environment to the original setting. ;;; Code: diff --git a/lisp/mh-e/mh-e.el b/lisp/mh-e/mh-e.el index 77ff914b0c..9d0ece0f50 100644 --- a/lisp/mh-e/mh-e.el +++ b/lisp/mh-e/mh-e.el @@ -342,7 +342,7 @@ Name of the Previous sequence.") "Non-nil means that we have \"flists\".") (defvar mh-index-data-file ".mhe_index" - "MH-E specific file where index seach info is stored.") + "MH-E specific file where index search info is stored.") (defvar mh-letter-header-field-regexp "^\\([A-Za-z][A-Za-z0-9-]*\\):") diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el index 11e195d4f7..d9a2f976ac 100644 --- a/lisp/minibuffer.el +++ b/lisp/minibuffer.el @@ -2672,7 +2672,7 @@ the same set of elements." mergedpat)) ;; New pos from the start. (newpos (length (completion-pcm--pattern->string pointpat))) - ;; Do it afterwards because it changes `pointpat' by sideeffect. + ;; Do it afterwards because it changes `pointpat' by side effect. (merged (completion-pcm--pattern->string (nreverse mergedpat)))) (setq suffix (completion--merge-suffix merged newpos suffix)) diff --git a/lisp/nxml/rng-valid.el b/lisp/nxml/rng-valid.el index 1f69f5d7bf..c0bad84973 100644 --- a/lisp/nxml/rng-valid.el +++ b/lisp/nxml/rng-valid.el @@ -570,7 +570,7 @@ Return t if there is work to do, nil otherwise." (rng-clear-cached-state remove-start (1- pos))) ;; sync up with cached validation state (setq continue nil) - ;; do this before settting rng-validate-up-to-date-end + ;; do this before setting rng-validate-up-to-date-end ;; in case we get a quit (rng-mark-xmltok-errors) (rng-mark-xmltok-dependent-regions) diff --git a/lisp/obsolete/pgg-parse.el b/lisp/obsolete/pgg-parse.el index 3d4539d946..4e086e0d8a 100644 --- a/lisp/obsolete/pgg-parse.el +++ b/lisp/obsolete/pgg-parse.el @@ -53,7 +53,7 @@ (defcustom pgg-parse-symmetric-key-algorithm-alist '((1 . IDEA) (2 . 3DES) (4 . CAST5) (5 . SAFER-SK128)) - "Alist of the assigned number to the simmetric key algorithm." + "Alist of the assigned number to the symmetric key algorithm." :group 'pgg-parse :type '(repeat (cons (sexp :tag "Number") (sexp :tag "Type")))) diff --git a/lisp/org/ChangeLog b/lisp/org/ChangeLog index 6f835c7bfa..ac328d1091 100644 --- a/lisp/org/ChangeLog +++ b/lisp/org/ChangeLog @@ -322,7 +322,7 @@ 2011-07-28 Nicolas Goaziou * org-capture.el (org-capture): If no file is associated to - current buffer, check dired buffer and try to retreive a possibly + current buffer, check dired buffer and try to retrieve a possibly directory associated. 2011-07-28 Eric Schulte @@ -948,7 +948,7 @@ 2011-07-28 Nicolas Goaziou * org-latex.el (org-export-latex-preprocess): Rely on - `org-export-footnotes-markers' to retreive definition of the + `org-export-footnotes-markers' to retrieve definition of the current footnote during export. 2011-07-28 Nicolas Goaziou diff --git a/lisp/org/ob-latex.el b/lisp/org/ob-latex.el index c27ca33080..731d83096d 100644 --- a/lisp/org/ob-latex.el +++ b/lisp/org/ob-latex.el @@ -171,7 +171,7 @@ Extracted from `org-export-as-pdf' in org-latex.el." pdffile))) (defun org-babel-prep-session:latex (session params) - "Return an error because LaTeX doesn't support sesstions." + "Return an error because LaTeX doesn't support sessions." (error "LaTeX does not support sessions")) (provide 'ob-latex) diff --git a/lisp/org/org-exp.el b/lisp/org/org-exp.el index 35a5164945..20275714a0 100644 --- a/lisp/org/org-exp.el +++ b/lisp/org/org-exp.el @@ -2290,7 +2290,7 @@ TYPE must be a string, any of: (plist-get org-export-opt-plist (intern (concat ":" key))))) (save-match-data - ;; If arguments are provided, first retreive them properly + ;; If arguments are provided, first retrieve them properly ;; (in ARGS, as a list), then replace them in VAL. (when args (setq args (org-split-string args ",") args2 nil) diff --git a/lisp/play/dunnet.el b/lisp/play/dunnet.el index 696442ee8c..36f405eedc 100644 --- a/lisp/play/dunnet.el +++ b/lisp/play/dunnet.el @@ -2183,7 +2183,7 @@ A hole leads north." nil nil nil nil nil (list obj-box) ;; stair-landing nil nil nil - (list obj-axe) ;; smal-crawlspace + (list obj-axe) ;; small-crawlspace nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil (list obj-special) ;; fourth-vermont-intersection diff --git a/lisp/progmodes/cc-engine.el b/lisp/progmodes/cc-engine.el index 0865ddfed6..57ee3943bb 100644 --- a/lisp/progmodes/cc-engine.el +++ b/lisp/progmodes/cc-engine.el @@ -2153,14 +2153,14 @@ comment at the start of cc-engine.el for more info." (if (> pos c-state-nonlit-pos-cache-limit) (setq c-state-nonlit-pos-cache-limit pos)) pos)))) - + (defun c-state-literal-at (here) ;; If position HERE is inside a literal, return (START . END), the ;; boundaries of the literal (which may be outside the accessible bit of the ;; buffer). Otherwise, return nil. ;; ;; This function is almost the same as `c-literal-limits'. Previously, it - ;; differed in that it was a lower level function, and that it rigourously + ;; differed in that it was a lower level function, and that it rigorously ;; followed the syntax from BOB. `c-literal-limits' is now (2011-12) ;; virtually identical to this function. (save-restriction diff --git a/lisp/progmodes/cc-mode.el b/lisp/progmodes/cc-mode.el index 1bc0741b0a..bf7d6bfed1 100644 --- a/lisp/progmodes/cc-mode.el +++ b/lisp/progmodes/cc-mode.el @@ -1102,7 +1102,7 @@ Note that the style variables are always made local to the buffer." ;; nested. ;; ;; This function is called indirectly from font locking stuff - either from - ;; c-after-change (to prepare for after-change font-lockng) or from font + ;; c-after-change (to prepare for after-change font-locking) or from font ;; lock context (etc.) fontification. (let ((lit-limits (c-literal-limits)) (new-pos pos) @@ -1165,7 +1165,7 @@ Note that the style variables are always made local to the buffer." ;; ;; ;; void myfunc(T* p) {} - ;; + ;; ;; Type a space in the first blank line, and the fontification of the next ;; line was fouled up by context fontification. (let ((new-beg beg) (new-end end) new-region) @@ -1180,10 +1180,10 @@ Note that the style variables are always made local to the buffer." c-before-context-fontification-functions)))) (funcall c-standard-font-lock-fontify-region-function new-beg new-end verbose))) - + (defun c-after-font-lock-init () ;; Put on `font-lock-mode-hook'. This function ensures our after-change - ;; function will get excuted before the font-lock one. Amongst other + ;; function will get executed before the font-lock one. Amongst other ;; things. (remove-hook 'after-change-functions 'c-after-change t) (add-hook 'after-change-functions 'c-after-change nil t) diff --git a/lisp/progmodes/idlwave.el b/lisp/progmodes/idlwave.el index 6ce415b563..9bc4af2a07 100644 --- a/lisp/progmodes/idlwave.el +++ b/lisp/progmodes/idlwave.el @@ -7855,7 +7855,7 @@ Restore the pre-completion window configuration if possible." If point is on a keyword, help for that keyword will be shown. If point is on a routine name or in the argument list of a routine, help for that routine will be displayed. Works for system routines and -keywords, it pulls up text help. For other routies and keywords, +keywords, it pulls up text help. For other routines and keywords, visits the source file, finding help in the header (if `idlwave-help-source-try-header' is non-nil) or the routine definition itself." diff --git a/lisp/progmodes/prolog.el b/lisp/progmodes/prolog.el index 0efc2ca231..389746e285 100644 --- a/lisp/progmodes/prolog.el +++ b/lisp/progmodes/prolog.el @@ -3262,7 +3262,7 @@ STRING should be given if the last search was by `string-match' on STRING." (defun prolog-clause-start (&optional not-allow-methods) "Return the position at the start of the head of the current clause. If NOTALLOWMETHODS is non-nil then do not match on methods in -objects (relevent only if 'prolog-system' is set to 'sicstus)." +objects (relevant only if 'prolog-system' is set to 'sicstus)." (save-excursion (let ((notdone t) (retval (point-min))) @@ -3328,7 +3328,7 @@ objects (relevent only if 'prolog-system' is set to 'sicstus)." (defun prolog-clause-end (&optional not-allow-methods) "Return the position at the end of the current clause. If NOTALLOWMETHODS is non-nil then do not match on methods in -objects (relevent only if 'prolog-system' is set to 'sicstus)." +objects (relevant only if 'prolog-system' is set to 'sicstus)." (save-excursion (beginning-of-line) ; Necessary since we use "^...." for the search. (if (re-search-forward diff --git a/lisp/speedbar.el b/lisp/speedbar.el index efe7832aca..33b76e7658 100644 --- a/lisp/speedbar.el +++ b/lisp/speedbar.el @@ -3063,7 +3063,7 @@ a function if appropriate." (let* ((speedbar-frame (speedbar-current-frame)) (fn (get-text-property (point) 'speedbar-function)) (tok (get-text-property (point) 'speedbar-token)) - ;; The 1-,+ is safe because scaning starts AFTER the point + ;; The 1-,+ is safe because scanning starts AFTER the point ;; specified. This lets the search include the character the ;; cursor is on. (tp (previous-single-property-change diff --git a/lisp/textmodes/bibtex.el b/lisp/textmodes/bibtex.el index 8df2e81c72..16b83802d1 100644 --- a/lisp/textmodes/bibtex.el +++ b/lisp/textmodes/bibtex.el @@ -5140,7 +5140,7 @@ Return the URL or nil if none can be generated." (message "No URL known.")) url))) -;; We could combine multiple seach results with set operations +;; We could combine multiple search results with set operations ;; AND, OR, MINUS, and NOT. Would this be useful? ;; How complicated are searches in real life? ;; We could also have other searches such as "publication year newer than...". diff --git a/lisp/textmodes/reftex-vars.el b/lisp/textmodes/reftex-vars.el index 1b503c78af..bca07324d1 100644 --- a/lisp/textmodes/reftex-vars.el +++ b/lisp/textmodes/reftex-vars.el @@ -1750,7 +1750,7 @@ The option is ignored when `reftex-use-fonts' is nil." (defcustom reftex-highlight-selection 'cursor "*Non-nil mean, highlight selected text in selection and *toc* buffers. Normally, the text near the cursor is the selected text, and it is -highlighted. This is the entry most keys in the selction and *toc* +highlighted. This is the entry most keys in the selection and *toc* buffers act on. However, if you mainly use the mouse to select an item, you may find it nice to have mouse-triggered highlighting instead or as well. The variable may have one of these values: diff --git a/lisp/textmodes/rst.el b/lisp/textmodes/rst.el index f2dba1575c..88983e7c98 100644 --- a/lisp/textmodes/rst.el +++ b/lisp/textmodes/rst.el @@ -2348,7 +2348,7 @@ of (COLUMN-NUMBER . LINE) pairs." )) (defun rst-shift-region-right (pfxarg) - "Indent region ridigly, by a few characters to the right. + "Indent region rigidly, by a few characters to the right. This function first computes all possible alignment columns by inspecting the lines preceding the region for bulleted or enumerated list items. If the leftmost column is beyond the diff --git a/lisp/vc/vc-cvs.el b/lisp/vc/vc-cvs.el index 7d6c3caf7f..5506b70110 100644 --- a/lisp/vc/vc-cvs.el +++ b/lisp/vc/vc-cvs.el @@ -319,7 +319,7 @@ its parents." (unless (or (not rev) (vc-cvs-valid-revision-number-p rev)) (if (not (vc-cvs-valid-symbolic-tag-name-p rev)) (error "%s is not a valid symbolic tag name" rev) - ;; If the input revison is a valid symbolic tag name, we create it + ;; If the input revision is a valid symbolic tag name, we create it ;; as a branch, commit and switch to it. (apply 'vc-cvs-command nil 0 files "tag" "-b" (list rev)) (apply 'vc-cvs-command nil 0 files "update" "-r" (list rev)) diff --git a/lisp/vc/vc-mtn.el b/lisp/vc/vc-mtn.el index f49ad09b5d..0a0d4d4d1d 100644 --- a/lisp/vc/vc-mtn.el +++ b/lisp/vc/vc-mtn.el @@ -193,7 +193,7 @@ If nil, use the value of `vc-diff-switches'. If t, use no switches." (unless contents-done (vc-mtn-command nil 0 file "revert"))) -;; (defun vc-mtn-roolback (files) +;; (defun vc-mtn-rollback (files) ;; ) (defun vc-mtn-print-log (files buffer &optional shortlog start-revision limit) diff --git a/src/bidi.c b/src/bidi.c index e0337927ec..ea4405cbda 100644 --- a/src/bidi.c +++ b/src/bidi.c @@ -1132,7 +1132,7 @@ bidi_find_paragraph_start (EMACS_INT pos, EMACS_INT pos_byte) Note that this function gives the paragraph separator the same direction as the preceding paragraph, even though Emacs generally - views the separartor as not belonging to any paragraph. */ + views the separator as not belonging to any paragraph. */ void bidi_paragraph_init (bidi_dir_t dir, struct bidi_it *bidi_it, int no_default_p) { diff --git a/src/fns.c b/src/fns.c index 04b51d10d9..3154db62ec 100644 --- a/src/fns.c +++ b/src/fns.c @@ -3254,7 +3254,7 @@ DEFUN ("base64-decode-string", Fbase64_decode_string, Sbase64_decode_string, /* Base64-decode the data at FROM of LENGTH bytes into TO. If MULTIBYTE is nonzero, the decoded result should be in multibyte - form. If NCHARS_RETRUN is not NULL, store the number of produced + form. If NCHARS_RETURN is not NULL, store the number of produced characters in *NCHARS_RETURN. */ static EMACS_INT diff --git a/src/font.h b/src/font.h index b6c1acf4a3..93c2026295 100644 --- a/src/font.h +++ b/src/font.h @@ -506,7 +506,7 @@ struct font_driver Lisp_Object type; /* 1 iff the font's foundry, family, and adstyle names are case - sensitve. */ + sensitive. */ int case_sensitive; /* Return a cache of font-entities on frame F. The cache must be a diff --git a/src/process.c b/src/process.c index 4b0f90b58a..e4673d24a2 100644 --- a/src/process.c +++ b/src/process.c @@ -3492,7 +3492,7 @@ usage: (make-network-process &rest ARGS) */) || (NILP (buffer) && NILP (BVAR (&buffer_defaults, enable_multibyte_characters)))) /* We dare not decode end-of-line format by setting VAL to Qraw_text, because the existing Emacs Lisp libraries - assume that they receive bare code including a sequene of + assume that they receive bare code including a sequence of CR LF. */ val = Qnil; else diff --git a/src/search.c b/src/search.c index 811ac74e19..2001477ed6 100644 --- a/src/search.c +++ b/src/search.c @@ -1302,7 +1302,7 @@ search_buffer (Lisp_Object string, EMACS_INT pos, EMACS_INT pos_byte, checking if we can use boyer-moore search. If TRT is non-nil, we can use boyer-moore search only if TRT can be represented by the byte array of 256 elements. For that, - all non-ASCII case-equivalents of all case-senstive + all non-ASCII case-equivalents of all case-sensitive characters in STRING must belong to the same charset and row. */ diff --git a/src/w32term.c b/src/w32term.c index 29ac9d119b..4788a8198f 100644 --- a/src/w32term.c +++ b/src/w32term.c @@ -3388,7 +3388,7 @@ w32_set_scroll_bar_thumb (struct scroll_bar *bar, if (whole) { /* Position scroll bar at rock bottom if the bottom of the - buffer is visible. This avoids shinking the thumb away + buffer is visible. This avoids shrinking the thumb away to nothing if it is held at the bottom of the buffer. */ if (position + portion >= whole && !draggingp) { diff --git a/src/xdisp.c b/src/xdisp.c index 90375ba1a3..0ddf9555bc 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -13645,7 +13645,7 @@ set_cursor_from_row (struct window *w, struct glyph_row *row, /* Non-zero means we've seen at least one glyph that came from a display string. */ int string_seen = 0; - /* Largest and smalles buffer positions seen so far during scan of + /* Largest and smallest buffer positions seen so far during scan of glyph row. */ EMACS_INT bpos_max = pos_before; EMACS_INT bpos_min = pos_after; -- 2.20.1