diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-11-19 18:29:42 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-11-19 18:29:42 -0800 |
commit | e1dbe924b53c541fdf238a5a722b7177d5c8760b (patch) | |
tree | cef637ee7849fac3160c668f88e0f761305f87d3 /lisp/progmodes | |
parent | 7fb18e9ef9edb3b47cf463babe83922f9310a473 (diff) | |
download | emacs-e1dbe924b53c541fdf238a5a722b7177d5c8760b.tar.gz emacs-e1dbe924b53c541fdf238a5a722b7177d5c8760b.tar.bz2 emacs-e1dbe924b53c541fdf238a5a722b7177d5c8760b.zip |
Spelling fixes.
Diffstat (limited to 'lisp/progmodes')
-rw-r--r-- | lisp/progmodes/cc-awk.el | 2 | ||||
-rw-r--r-- | lisp/progmodes/cc-cmds.el | 4 | ||||
-rw-r--r-- | lisp/progmodes/cc-defs.el | 4 | ||||
-rw-r--r-- | lisp/progmodes/cc-engine.el | 16 | ||||
-rw-r--r-- | lisp/progmodes/cc-fonts.el | 2 | ||||
-rw-r--r-- | lisp/progmodes/cc-langs.el | 8 | ||||
-rw-r--r-- | lisp/progmodes/cc-menus.el | 2 | ||||
-rw-r--r-- | lisp/progmodes/cc-mode.el | 4 | ||||
-rw-r--r-- | lisp/progmodes/etags.el | 2 | ||||
-rw-r--r-- | lisp/progmodes/gdb-mi.el | 2 | ||||
-rw-r--r-- | lisp/progmodes/gud.el | 4 | ||||
-rw-r--r-- | lisp/progmodes/idlw-help.el | 2 | ||||
-rw-r--r-- | lisp/progmodes/inf-lisp.el | 2 | ||||
-rw-r--r-- | lisp/progmodes/prolog.el | 4 | ||||
-rw-r--r-- | lisp/progmodes/python.el | 2 | ||||
-rw-r--r-- | lisp/progmodes/vhdl-mode.el | 2 |
16 files changed, 31 insertions, 31 deletions
diff --git a/lisp/progmodes/cc-awk.el b/lisp/progmodes/cc-awk.el index cdbe5b39bf1..8213a83461b 100644 --- a/lisp/progmodes/cc-awk.el +++ b/lisp/progmodes/cc-awk.el @@ -231,7 +231,7 @@ ;; to foul things up. (defconst c-awk-non-arith-op-bra-re "[[\(&=:!><,?;'~|]") -;; Matches an openeing BRAcket ,round or square, or any operator character +;; Matches an opening BRAcket, round or square, or any operator character ;; apart from +,-,/,*,%. For the purpose at hand (detecting a / which is a ;; regexp bracket) these arith ops are unnecessary and a pain, because of "++" ;; and "--". diff --git a/lisp/progmodes/cc-cmds.el b/lisp/progmodes/cc-cmds.el index 68f31c55e71..1eaf8910d14 100644 --- a/lisp/progmodes/cc-cmds.el +++ b/lisp/progmodes/cc-cmds.el @@ -2178,7 +2178,7 @@ function does not require the declaration to contain a brace block." (end (1- (cdr range))) (here-filler ; matches WS and escaped newlines at point. "\\=\\([ \t\n\r\f]\\|\\\\[\n\r]\\)*") - ;; Enhance paragraph-start and paragraph-separate also to recognise + ;; Enhance paragraph-start and paragraph-separate also to recognize ;; blank lines terminated by escaped EOLs. IT MAY WELL BE that ;; these values should be customizable user options, or something. (paragraph-start c-string-par-start) @@ -2234,7 +2234,7 @@ function does not require the declaration to contain a brace block." (save-match-data (let* ((here (point)) last - ;; Enhance paragraph-start and paragraph-separate to recognise + ;; Enhance paragraph-start and paragraph-separate to recognize ;; blank lines terminated by escaped EOLs. (paragraph-start c-string-par-start) (paragraph-separate c-string-par-separate) diff --git a/lisp/progmodes/cc-defs.el b/lisp/progmodes/cc-defs.el index fb9fd406ef8..c91fe13543a 100644 --- a/lisp/progmodes/cc-defs.el +++ b/lisp/progmodes/cc-defs.el @@ -774,7 +774,7 @@ be after it." ;; In addition to `c-at-vsemi-p-fn', a mode may need to supply a function for ;; `c-vsemi-status-unknown-p-fn'. The macro `c-vsemi-status-unknown-p' is a ;; rather recondite kludge. It exists because the function -;; `c-beginning-of-statement-1' sometimes tests for VSs as an optimisation, +;; `c-beginning-of-statement-1' sometimes tests for VSs as an optimization, ;; but `c-at-vsemi-p' might well need to call `c-beginning-of-statement-1' in ;; its calculations, thus potentially leading to infinite recursion. ;; @@ -1249,7 +1249,7 @@ been put there by c-put-char-property. POINT remains unchanged." ;; which introduces a CPP construct and every EOL (or EOB, or character ;; preceding //, etc.) which terminates it. We can instantly "comment ;; out" all CPP constructs by giving `c-cpp-delimiter' a syntax-table -;; propery '(14) (generic comment delimiter). +;; property '(14) (generic comment delimiter). (defmacro c-set-cpp-delimiters (beg end) ;; This macro does a hidden buffer change. `(progn diff --git a/lisp/progmodes/cc-engine.el b/lisp/progmodes/cc-engine.el index fb146b3976a..5ec0ab04f7f 100644 --- a/lisp/progmodes/cc-engine.el +++ b/lisp/progmodes/cc-engine.el @@ -2548,7 +2548,7 @@ comment at the start of cc-engine.el for more info." c-state-cache))) ;; N.B. This defsubst codes one method for the simple, normal case, ;; and a more sophisticated, slower way for the general case. Don't - ;; eliminate this defsubst - it's a speed optimisation. + ;; eliminate this defsubst - it's a speed optimization. (c-append-lower-brace-pair-to-state-cache (1- bra+1))))) (defun c-append-to-state-cache (from) @@ -2788,7 +2788,7 @@ comment at the start of cc-engine.el for more info." ;; ;; This function must only be called only when (> `c-state-cache-good-pos' ;; HERE). Usually the gap between CACHE-POS and HERE is large. It is thus - ;; optimised to eliminate (or minimize) scanning between these two + ;; optimized to eliminate (or minimize) scanning between these two ;; positions. ;; ;; Return a three element list (GOOD-POS SCAN-BACK-POS FWD-FLAG), where: @@ -4233,9 +4233,9 @@ comment at the start of cc-engine.el for more info." ;; fails to take account of the change of the s-t property on the opening / to ;; "string", and reports that the { is within a string started by the second /. ;; -;; The workaround for this is for the AWK Mode initialisation to switch the +;; The workaround for this is for the AWK Mode initialization to switch the ;; defalias for c-in-literal to c-slow-in-literal. This will slow down other -;; cc-modes in XEmacs whenever an awk-buffer has been initialised. +;; cc-modes in XEmacs whenever an awk-buffer has been initialized. ;; ;; (Alan Mackenzie, 2003/4/30). @@ -4904,7 +4904,7 @@ comment at the start of cc-engine.el for more info." (setq cfd-prop-match nil)) (when (/= cfd-macro-end 0) - ;; Restore limits if we did macro narrowment above. + ;; Restore limits if we did macro narrowing above. (narrow-to-region (point-min) cfd-buffer-end))) (goto-char cfd-continue-pos) @@ -7100,7 +7100,7 @@ comment at the start of cc-engine.el for more info." ;; colon). Currently (2006-03), this applies only to Objective C's ;; keywords "@private", "@protected", and "@public". Returns t. ;; - ;; One of the things which will NOT be recognised as a label is a bit-field + ;; One of the things which will NOT be recognized as a label is a bit-field ;; element of a struct, something like "int foo:5". ;; ;; The end of the label is taken to be just after the colon, or the end of @@ -9582,7 +9582,7 @@ comment at the start of cc-engine.el for more info." (c-add-syntax 'inher-cont (c-point 'boi))) ;; CASE 5D.5: Continuation of the "expression part" of a - ;; top level construct. Or, perhaps, an unrecognised construct. + ;; top level construct. Or, perhaps, an unrecognized construct. (t (while (and (setq placeholder (point)) (eq (car (c-beginning-of-decl-1 containing-sexp)) @@ -9593,7 +9593,7 @@ comment at the start of cc-engine.el for more info." (< (point) placeholder))) (c-add-stmt-syntax (cond - ((eq (point) placeholder) 'statement) ; unrecognised construct + ((eq (point) placeholder) 'statement) ; unrecognized construct ;; A preceding comma at the top level means that a ;; new variable declaration starts here. Use ;; topmost-intro-cont for it, for consistency with diff --git a/lisp/progmodes/cc-fonts.el b/lisp/progmodes/cc-fonts.el index fa94af071f7..a31de35f3ba 100644 --- a/lisp/progmodes/cc-fonts.el +++ b/lisp/progmodes/cc-fonts.el @@ -1040,7 +1040,7 @@ casts and declarations are fontified. Used on level 2 and higher." ;; Inside the following "condition form", we move forward over the ;; declarator's identifier up as far as any opening bracket (for array ;; size) or paren (for parameters of function-type) or brace (for - ;; array/struct initialisation) or "=" or terminating delimiter + ;; array/struct initialization) or "=" or terminating delimiter ;; (e.g. "," or ";" or "}"). (and pos diff --git a/lisp/progmodes/cc-langs.el b/lisp/progmodes/cc-langs.el index e1fb69c30c8..76dfb3c7a28 100644 --- a/lisp/progmodes/cc-langs.el +++ b/lisp/progmodes/cc-langs.el @@ -772,7 +772,7 @@ literal are multiline." "Regexp matching the prefix of a cpp directive in the languages that normally use that macro preprocessor. Tested at bol or at boi. Assumed to not contain any submatches or \\| operators." - ;; TODO (ACM, 2005-04-01). Amend the following to recognise escaped NLs; + ;; TODO (ACM, 2005-04-01). Amend the following to recognize escaped NLs; ;; amend all uses of c-opt-cpp-prefix which count regexp-depth. t "\\s *#\\s *" (java awk) nil) @@ -1520,7 +1520,7 @@ properly." ;; end-of-defun-function will be set so that commands like ;; `mark-defun' and `narrow-to-defun' work right. The key sequences ;; C-M-a and C-M-e are, however, bound directly to the CC Mode -;; functions, allowing optimisation for large n. +;; functions, allowing optimization for large n. (c-lang-defconst beginning-of-defun-function "Function to which beginning-of-defun-function will be set." t 'c-beginning-of-defun @@ -2530,7 +2530,7 @@ Note that Java specific rules are currently applied to tell this from "\\.?[0-9]" "\\|" - ;; The nonambiguous operators from `prefix-ops'. + ;; The unambiguous operators from `prefix-ops'. (c-make-keywords-re nil (set-difference nonkeyword-prefix-ops in-or-postfix-ops :test 'string-equal)) @@ -2681,7 +2681,7 @@ possible for good performance." pos (match-end 0))) res)))) - ;; Allow cpp operatios (where applicable). + ;; Allow cpp operations (where applicable). t (if (c-lang-const c-opt-cpp-prefix) (set-difference (c-lang-const c-block-prefix-disallowed-chars) '(?#)) diff --git a/lisp/progmodes/cc-menus.el b/lisp/progmodes/cc-menus.el index 4e9350de425..942303b1096 100644 --- a/lisp/progmodes/cc-menus.el +++ b/lisp/progmodes/cc-menus.el @@ -66,7 +66,7 @@ A sample value might look like: `\\(_P\\|_PROTO\\)'.") (defvar cc-imenu-c++-generic-expression `( ;; Try to match ::operator definitions first. Otherwise `X::operator new ()' - ;; will be incorrectly recognised as function `new ()' because the regexps + ;; will be incorrectly recognized as function `new ()' because the regexps ;; work by backtracking from the end of the definition. (nil ,(concat diff --git a/lisp/progmodes/cc-mode.el b/lisp/progmodes/cc-mode.el index 141cd6f972c..cc5a5236255 100644 --- a/lisp/progmodes/cc-mode.el +++ b/lisp/progmodes/cc-mode.el @@ -293,7 +293,7 @@ control). See \"cc-mode.el\" for more info." ;; replaces `fill-paragraph' and does the adaption before calling ;; `fill-paragraph-function', and we have to mask comments etc ;; before that. Also, `c-fill-paragraph' chains on to - ;; `fill-paragraph' and the value on `fill-parapgraph-function' to + ;; `fill-paragraph' and the value on `fill-paragraph-function' to ;; do the actual filling work. (substitute-key-definition 'fill-paragraph 'c-fill-paragraph c-mode-base-map global-map) @@ -505,7 +505,7 @@ that requires a literal mode spec at compile time." ;; doesn't work with filladapt but it's better than nothing. (set (make-local-variable 'fill-paragraph-function) 'c-fill-paragraph) - ;; Initialise the cache of brace pairs, and opening braces/brackets/parens. + ;; Initialize the cache of brace pairs, and opening braces/brackets/parens. (c-state-cache-init) (when (or c-recognize-<>-arglists diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el index 13cba0fe701..2d0b18f3dae 100644 --- a/lisp/progmodes/etags.el +++ b/lisp/progmodes/etags.el @@ -1191,7 +1191,7 @@ error message." ;; Note: there is a small inefficiency in find-buffer-visiting : ;; truename is computed even if not needed. Not too sure about this ;; but I suspect truename computation accesses the disk. - ;; It is maybe a good idea to optimise this find-buffer-visiting. + ;; It is maybe a good idea to optimize this find-buffer-visiting. ;; An alternative would be to use only get-file-buffer ;; but this looks less "sure" to find the buffer for the file. (while (and (not the-buffer) buffer-search-extensions) diff --git a/lisp/progmodes/gdb-mi.el b/lisp/progmodes/gdb-mi.el index 7d31fb63e91..a3ca87ec94a 100644 --- a/lisp/progmodes/gdb-mi.el +++ b/lisp/progmodes/gdb-mi.el @@ -823,7 +823,7 @@ detailed description of this mode. (run-hooks 'gdb-mode-hook)) (defun gdb-init-1 () - ;; (re-)initialise + ;; (re-)initialize (setq gdb-selected-frame nil gdb-frame-number nil gdb-thread-number nil diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el index 3f16b3655b8..527bc51eef8 100644 --- a/lisp/progmodes/gud.el +++ b/lisp/progmodes/gud.el @@ -1168,7 +1168,7 @@ containing the executable being debugged." ;; appears to indicate a breakpoint. Then we prod the dbx sub-process ;; to output the information we want with a combination of the ;; `printf' and `file' commands as a pseudo marker which we can -;; recognise next time through the marker-filter. This would be like +;; recognize next time through the marker-filter. This would be like ;; the gdb marker but you can't get the file name without a newline... ;; Note that gud-remove won't work since Irix dbx expects a breakpoint ;; number rather than a line number etc. Maybe this could be made to @@ -1689,7 +1689,7 @@ and source-file directory for your debugger." ;; Run jdb (like this): jdb ;; ;; type any jdb switches followed by the name of the class you'd like to debug. -;; Supply a fully qualfied classname (these do not have the ".class" extension) +;; Supply a fully qualified classname (these don't have the ".class" extension) ;; for the name of the class to debug (e.g. "COM.the-kind.ddavies.CoolClass"). ;; See the known problems section below for restrictions when specifying jdb ;; command line switches (search forward for '-classpath'). diff --git a/lisp/progmodes/idlw-help.el b/lisp/progmodes/idlw-help.el index 8155198e3d7..0266fc17f9c 100644 --- a/lisp/progmodes/idlw-help.el +++ b/lisp/progmodes/idlw-help.el @@ -986,7 +986,7 @@ describes the correct routine - even if the keyword description cannot be found. TYPE is ignored. This function expects a more or less standard routine header. In -particlar it looks for the `NAME:' tag, either with a colon, or alone +particular it looks for the `NAME:' tag, either with a colon, or alone on a line. Then `NAME:' must be followed by the routine name on the same or the next line. When KEYWORD is non-nil, looks first for a `KEYWORDS' section. It is amazing how inconsistent this is through diff --git a/lisp/progmodes/inf-lisp.el b/lisp/progmodes/inf-lisp.el index 636766b36e7..1328e303d45 100644 --- a/lisp/progmodes/inf-lisp.el +++ b/lisp/progmodes/inf-lisp.el @@ -598,7 +598,7 @@ See variable `lisp-describe-sym-command'." (error "No Lisp subprocess; see variable `inferior-lisp-buffer'")))) -;;; Do the user's customisation... +;;; Do the user's customization... ;;;=============================== (defvar inferior-lisp-load-hook nil "This hook is run when the library `inf-lisp' is loaded.") diff --git a/lisp/progmodes/prolog.el b/lisp/progmodes/prolog.el index ef0905bb2a8..8b4798e1c14 100644 --- a/lisp/progmodes/prolog.el +++ b/lisp/progmodes/prolog.el @@ -169,7 +169,7 @@ ;; package requirements. ;; Version 1.13: ;; o Removed the use of `map-char-table' in `prolog-build-case-strings' -;; which appears to cause prblems in (at least) Emacs 23.0.0.1. +;; which appears to cause problems in (at least) Emacs 23.0.0.1. ;; o Added if-then-else indentation + corresponding electric ;; characters. New customization: `prolog-electric-if-then-else-flag' ;; o Align support (requires `align'). New customization: @@ -391,7 +391,7 @@ Otherwise indent to `prolog-indent-width'." (defcustom prolog-left-indent-regexp "\\(;\\|\\*?->\\)" "*Regexp for character sequences after which next line is indented. -Next line after such a regexp is indented to the opening paranthesis level." +Next line after such a regexp is indented to the opening parenthesis level." :group 'prolog-indentation :type 'regexp) diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index a0a368777e7..6bc4db60596 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -1122,7 +1122,7 @@ don't move and return nil. Otherwise return t." ;;;; Imenu. -;; For possibily speeding this up, here's the top of the ELP profile +;; For possibly speeding this up, here's the top of the ELP profile ;; for rescanning pydoc.py (2.2k lines, 90kb): ;; Function Name Call Count Elapsed Time Average Time ;; ==================================== ========== ============= ============ diff --git a/lisp/progmodes/vhdl-mode.el b/lisp/progmodes/vhdl-mode.el index cd2d45b7856..3a94601768d 100644 --- a/lisp/progmodes/vhdl-mode.el +++ b/lisp/progmodes/vhdl-mode.el @@ -16857,7 +16857,7 @@ User Options `vhdl-configuration-file-name': (new) Specify how the configuration file name is obtained. `vhdl-compose-configuration-name': (new) - Specify how the configuration name is optained. + Specify how the configuration name is obtained. `vhdl-compose-configuration-create-file': (new) Specify whether a new file should be created for a configuration. `vhdl-compose-configuration-hierarchical': (new) |