]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix typos
authorStefan Kangas <stefankangas@gmail.com>
Mon, 4 Nov 2024 21:27:36 +0000 (22:27 +0100)
committerEshel Yaron <me@eshelyaron.com>
Thu, 21 Nov 2024 22:19:11 +0000 (23:19 +0100)
(cherry picked from commit 7cb77385d38b96377d404a2ab0e778b2dfce5c77)

21 files changed:
admin/codespell/codespell.exclude
doc/lispref/processes.texi
doc/misc/cc-mode.texi
doc/misc/modus-themes.org
doc/misc/tramp.texi
etc/themes/modus-operandi-tinted-theme.el
etc/themes/modus-themes.el
exec/trace.c
lisp/emacs-lisp/comp.el
lisp/emacs-lisp/cond-star.el
lisp/emacs-lisp/easy-mmode.el
lisp/eshell/esh-proc.el
lisp/net/tramp-sh.el
lisp/progmodes/cc-defs.el
lisp/progmodes/cperl-mode.el
lisp/progmodes/typescript-ts-mode.el
src/w32dwrite.c
src/w32font.c
test/lisp/erc/erc-scenarios-log.el
test/lisp/erc/erc-track-tests.el
test/lisp/net/tramp-tests.el

index f4c67ae83e82fc3315b42d63b26f56ca2c44ed81..f11918f53f33d869729e8ea60fd58b42a7fddcf6 100644 (file)
@@ -1078,7 +1078,7 @@ decode_env_path (const char *evarname, const char *defalt, bool empty)
     Lisp_Object defalt;
        val = tbl->defalt;
        counts the ordinary slots and the top, defalt, parent, and purpose
-verify (offsetof (struct Lisp_Char_Table, defalt) == header_size);
+static_assert (offsetof (struct Lisp_Char_Table, defalt) == header_size);
   XCHAR_TABLE (table)->defalt = val;
    string, and DEFALT is a string, read from DEFALT instead of VAL.  */
 string_to_object (Lisp_Object val, Lisp_Object defalt)
@@ -1743,3 +1743,9 @@ Timo Savola, Jorgen Sch@"afer, Holger Schauer, William Schelter, Ralph
        2a85d81c47 Add support for gathering statistics on use-package declar...
             (let* ((nam (buffer-substring (match-beginning 2) (match-end 2)))
              (setq nmlst (cons nam nmlst)
+     (df '((defualt :foreground "cyan"))))
+All the characters whose Unicode general-category is Nd now have the
+;;; Each character whose Unicode general-category is Nd gets the digit
+        (skipp (or (erc--memq-msg-prop 'erc--skip 'stamp)
+    (when (and fullp culled (not skipp) (< 1 beg 3 end))
+                ((not skipp))
index eaa465ce7b8c6c801237c8d74582dcb37f58659b..850e9c197e37353a7cc0ae68a0ba4fc277aa026a 100644 (file)
@@ -2716,7 +2716,7 @@ If non-@code{nil}, the host's capability string.
 @item :type @var{symbol}
 The connection type: @samp{plain} or @samp{tls}.
 @item :error @var{symbol}
-A string describing any error encountered when perfoming
+A string describing any error encountered when performing
 @acronym{STARTTLS} upgrade.
 @end table
 
index ad39bc2417f4dbe3a528b80a3a23596d9108e094..2166462eca63e26994ddd8339ba78f5e307a70f1 100644 (file)
@@ -4831,9 +4831,9 @@ to make it easier to give an @code{enum} indentation like that of a
 @ssindex enum-intro
 @ssindex enum-close
 @ssindex enum-entry
-Line 2 is assigned @code{enum-open} sytax, and line 6
+Line 2 is assigned @code{enum-open} syntax, and line 6
 @code{enum-close}.  The first enum element on line 3 is assigned
-@code{enum-intro} sytax, and the remaining elements, on lines 4 and 5
+@code{enum-intro} syntax, and the remaining elements, on lines 4 and 5
 are assigned @code{enum-entry}.
 
 When the first enum element follows the @samp{@{} of the @code{enum},
index 76379d1a16885e8815a3d76cc1777a1ad2ca48e9..b33b02d98ec20ac44555e7353d5388ff625c81b5 100644 (file)
@@ -88,7 +88,7 @@ The Modus themes consist of eight themes, divided into four subgroups.
   are variants of the two main themes.  They slightly tone down the
   intensity of the background and provide a bit more color variety.
   ~modus-operandi-tinted~ has a set of base tones that are shades of
-  light ochre (earthly colors), while ~modus-vivendi-tinted~ gives a
+  light ocher (earthly colors), while ~modus-vivendi-tinted~ gives a
   night sky impression.
 
 - Deuteranopia themes :: ~modus-operandi-deuteranopia~ and its
@@ -1361,7 +1361,7 @@ value in some other application.
 :END:
 
 #+findex: modus-themes-get-color-value
-The fuction ~modus-themes-get-color-value~ can be called from Lisp to
+The function ~modus-themes-get-color-value~ can be called from Lisp to
 return the value of a color from the active Modus theme palette. It
 takea a =COLOR= argument and an optional =OVERRIDES=. It also accepts
 a third =THEME= argument, to get the color from the given theme.
@@ -2367,7 +2367,7 @@ until version 4.3.0.
 ;; was the default in versions of the Modus themes before 4.4.0
 (setq modus-themes-common-palette-overrides
       '((bg-prose-block-contents unspecified)
-        (bg-prose-block-delimiter unspeficied)
+        (bg-prose-block-delimiter unspecified)
         (fg-prose-block-delimiter fg-dim)))
 #+end_src
 
@@ -3365,7 +3365,7 @@ specification of that variable looks like this:
 
 With the exception of ~org-verbatim~ and ~org-code~ faces, everything else
 uses the corresponding type of emphasis: a bold typographic weight, or
-italicised, underlined, and struck through text.
+italicized, underlined, and struck through text.
 
 The best way for users to add some extra attributes, such as a
 foreground color, is to define their own faces and assign them to the
@@ -5407,7 +5407,7 @@ more effective than trying to do the same with either red or blue (the
 latter is the least effective in that regard).
 
 When we need to work with several colors, it is always better to have
-sufficient manoeuvring space, especially since we cannot pick arbitrary
+sufficient maneuvering space, especially since we cannot pick arbitrary
 colors but only those that satisfy the accessibility objectives of the
 themes.
 
@@ -5513,7 +5513,7 @@ it is already understood that one must follow the indicator or headline
 to view its contents and (ii) underlining everything would make the
 interface virtually unusable.
 
-Again, one must exercise judgement in order to avoid discrimination,
+Again, one must exercise judgment in order to avoid discrimination,
 where "discrimination" refers to:
 
 + The treatment of substantially different magnitudes as if they were of
@@ -5587,7 +5587,7 @@ the themes, which is partially fleshed out in this manual.
 
 With regard to the artistic aspect (where "art" qua skill may amount to
 an imprecise science), there is no hard-and-fast rule in effect as it
-requires one to exercize discretion and make decisions based on
+requires one to exercise discretion and make decisions based on
 context-dependent information or constraints.  As is true with most
 things in life, when in doubt, do not cling on to the letter of the law
 but try to understand its spirit.
index fdf81342432d817465f03e93ae6e4bb0016e7d77..8bf9c06a53a90c0d29d67950bc94608e72d012cf 100644 (file)
@@ -5224,7 +5224,7 @@ Otherwise, comment out the active code, and uncomment the just
 commented code.
 
 Call @command{emacs}, again.  Reiterate, until you find the suspicious
-configuaration.
+configuration.
 
 
 @node Frequently Asked Questions
index a9be4374f8017544b2d3859f55d66c8cea34dcd7..2cb8dfbc80b3eb9576839b287482a30d14f86726 100644 (file)
@@ -1,4 +1,4 @@
-;;; modus-operandi-tinted-theme.el --- Elegant, highly legible theme with a light ochre background -*- lexical-binding:t -*-
+;;; modus-operandi-tinted-theme.el --- Elegant, highly legible theme with a light ocher background -*- lexical-binding:t -*-
 
 ;; Copyright (C) 2019-2024  Free Software Foundation, Inc.
 
@@ -44,7 +44,7 @@
 
 ;;;###theme-autoload
   (deftheme modus-operandi-tinted
-    "Elegant, highly legible theme with a light ochre background.
+    "Elegant, highly legible theme with a light ocher background.
 Conforms with the highest legibility standard for color contrast
 between background and foreground in any given piece of text,
 which corresponds to a minimum contrast in relative luminance of
index 1ccd498e16520b6477b0b5f5500c89f063f64300..7f003be3215f196b6bbef751fe0dcdf22efeb19e 100644 (file)
@@ -1449,7 +1449,7 @@ color that is combined with FG-FOR-BG."
           :foreground fg
           :weight
           ;; If we have `bold' specifically, we inherit the face of
-          ;; the same name.  This allows the user to customise that
+          ;; the same name.  This allows the user to customize that
           ;; face, such as to change its font family.
           (if (and weight (not (eq weight 'bold)))
               weight
index 2af6d867efef6f1fdfe7c2edcf947c00d455b1c4..5e1ef1f74a108c47da30150bb90e2c64c0676257 100644 (file)
@@ -1917,7 +1917,7 @@ after_fork (pid_t pid)
       /* Request that the child stop upon the next `exec' system call,
         one of which is assumed to always be issued by the child, as
         below, but await the next stop, and examine its contents.
-        Anciently, the syscall-stop preceeded events marked
+        Anciently, the syscall-stop preceded events marked
         PTRACE_EVENT_SECCOMP, whereas this sequence is reversed in
         4.8+, and in releases with these changes backported.  */
 
index 96341b0a39f7eac0bec581e517cdfefa91aa0b99..f77c017bdd2ce60b4bc3b5b4823ba45ed5aa1fe3 100644 (file)
@@ -3667,7 +3667,7 @@ the compilation was successful return the compiled function."
   "Native compile if necessary all the .el files present in DIRECTORY.
 Each .el file is native-compiled if the corresponding .eln file is not
 found in any directory mentioned in `native-comp-eln-load-path'.
-The search within DIRECTORY is perfomed recursively."
+The search within DIRECTORY is performed recursively."
   (mapc (lambda (file)
          (unless (comp-lookup-eln file)
            (native-compile file)))
index 0c9efcf07dce2cd7511c4f7ca8440757ce9d1c91..3f371a41228dfc40bb8ea63ea9b83b9692d3a183 100644 (file)
@@ -22,7 +22,7 @@
 
 ;;; Commentary:
 
-;; This library implements `cond*', an alternative to 'pcase'.
+;; This library implements `cond*', an alternative to `pcase'.
 
 ;; Here is the list of functions the generated code is known to call:
 ;; car, cdr, car-safe, cdr-safe, nth, nthcdr, null, eq, equal, eql, =,
index 1466ccb8e8990ce9cdc5386c532203761da1b8e9..5c1c4789107e9bb02eaf4da05095401d72af1546 100644 (file)
@@ -774,7 +774,7 @@ CSS contains a list of syntax specifications of the form (CHAR . SYNTAX)."
 ;;;
 
 (defun easy-mmode--prev (re name count &optional endfun narrowfun)
-  "Go to the COUNT'th previous occurence of RE.
+  "Go to the COUNT'th previous occurrence of RE.
 
 If none, error with NAME.
 
@@ -798,7 +798,7 @@ ENDFUN and NARROWFUN are treated like in `easy-mmode-define-navigation'."
       (when re-narrow (funcall narrowfun)))))
 
 (defun easy-mmode--next (re name count &optional endfun narrowfun)
-  "Go to the next COUNT'th occurence of RE.
+  "Go to the next COUNT'th occurrence of RE.
 
 If none, error with NAME.
 
index 87c95d3960394e1f94fe0a871089abda17d8d9ef..1f5529b07e3278ab294f56f1714c2b6c10f9e1d8 100644 (file)
@@ -522,7 +522,7 @@ output."
                    ;; where this matters, using an external pipe
                    ;; operator (`*|') may work instead.
                    (cond
-                    ;; Delay signalling remote processes to prevent
+                    ;; Delay signaling remote processes to prevent
                     ;; "Forbidden reentrant call of Tramp".
                     ((process-get proc 'remote-pid)
                      (run-at-time 0 nil #'signal-process proc 'SIGPIPE))
index d81420d1b5fdbc6c2e9a302f286e6512f1a613ad..8b51ee2dbf5e145f08fc2d3a37a267da48ab750d 100644 (file)
@@ -3761,9 +3761,10 @@ Fall back to normal file name handler if no Tramp handler exists."
             ;; Default file name handlers, we don't care.
             (t (tramp-run-real-handler operation args))))
 
-       ;; When `tramp-mode' is not enabled, or the file name is
-       ;; quoted, we don't do anything.
-       (tramp-run-real-handler operation args)))))
+      ;; When `tramp-mode' is not enabled, or the file name is not a
+      ;; remote file name, we don't do anything.  Same for default
+      ;; file name handlers.
+      (tramp-run-real-handler operation args))))
 
 (defun tramp-sh-handle-file-notify-add-watch (file-name flags _callback)
   "Like `file-notify-add-watch' for Tramp files."
index 23dea22d138b35e1b967d47af76a392aad099f0e..55f268980e2ce1d8e104f15d7be6433faf82a233 100644 (file)
@@ -1569,7 +1569,7 @@ Return the position of the first removed property, or nil."
 
 (defmacro c-clear-syntax-table-with-value-trim-caches (from to value)
   "Remove all `syntax-table' text-properties with value VALUE from [FROM, TO)
-and invalidate the four caches from the first postion, if any, where a
+and invalidate the four caches from the first position, if any, where a
 property was removed.  Return the position of the first property removed,
 if any, else nil.  POINT and the match data remain unchanged."
   (declare (debug t))
index ccd750620a771e260c501aeb9d65e7a174fdf4d1..f37ab070ad50fb6685c9b52c2c583acb401e14da 100644 (file)
@@ -7886,7 +7886,7 @@ LEVEL us the current level during the recursive calls."
      ;;"[*/+-|&<.]+="
      )
    "\\|")
-  "Lisp Regular expression for things regularly occuring in a Perl regex.
+  "Lisp Regular expression for things regularly occurring in a Perl regex.
 If matches at the start of match found by `my-bad-c-style-regexp',
 insertion of a whitespace will not help.")
 
index f3c60e5c0e7b23524d133e38910c4407ab6c3641..5900fd81d5a9a0e3864b94f2f05121732265a7dc 100644 (file)
@@ -87,7 +87,7 @@
 (defun typescript-ts-mode--check-dialect (dialect)
   (unless (or (eq dialect 'typescript) (eq dialect 'tsx))
     (signal 'typescript-ts-mode-wrong-dialect-error
-            (list "Unsupported dialect for typescript-ts-mode suplied" dialect))))
+            (list "Unsupported dialect for typescript-ts-mode supplied" dialect))))
 
 (defun tsx-ts-mode--indent-compatibility-b893426 ()
   "Indent rules helper, to handle different releases of tree-sitter-tsx.
index 29f9d5f1fed59d647dd1e0d0006a1cc7351bfc83..26ad4e9f9a22fe02bfe9452e60288a7ff6eb6dd0 100644 (file)
@@ -722,7 +722,7 @@ get_bitmap_render_target (HDC hdc, int width, int height)
   if (!verify_hr (hr, "Failed to CreateBitmapRenderTarget"))
     return NULL;
 
-  /* We handle high dpi displays by incresing font size, so override
+  /* We handle high dpi displays by increasing font size, so override
      PixelsPerDip.  */
   brt->lpVtbl->SetPixelsPerDip (brt, 1.0);
 
index 48968a28fbd1ae780f97444f4e3dc9b126be8fc7..2e6f8bed3e7ef6f00dcb99b3ef3bd96ed961dab4 100644 (file)
@@ -892,7 +892,7 @@ w32font_otf_drive (struct font *font, Lisp_Object features,
    Windows fonts in Emacs's sources, this cannot be fixed in the the
    default fontset setup provided by Emacs: we cannot arrange for the
    "good" fonts to be used in all such cases, because that would mean
-   naming those fonts.  The solution for thes issues is to customize the
+   naming those fonts.  The solution for these issues is to customize the
    default fontset using set-fontset-font, to force Emacs to use a font
    known to support some characters.
 
index 4ff1b956aea944aaf989faf875481aa870ad6707..06fbc37a08a9d9e6ebb29621bee25f2d686125e6 100644 (file)
         (should (string= (buffer-name) (format "127.0.0.1:%d" port)))
         (should-not (file-exists-p logserv))
         (should-not (file-exists-p logchan))
-        ;; Verify that truncation actally happens where it should.
+        ;; Verify that truncation actually happens where it should.
         (funcall assert-truncation expect)
         (should (file-exists-p logserv))))
 
index c830c8b201635b3d56e10fa784989595e31b09f0..59b200a2fe8e98a7f686d16785cbf5e724111531 100644 (file)
 
         (push (list (point)) bounds)
         (insert ; JOIN
-         ts "      " ; iniital `fill' indentation lacks properties
+         ts "      " ; initial `fill' indentation lacks properties
          #("*** You have joined channel #chan" 0 33
            (font-lock-face erc-notice-face))
          "\n")
index 7af8915bc6792ad476a22b86f6697704ec111433..3a770648b25cb700fb42c55135b36b47aaf45116 100644 (file)
@@ -7747,7 +7747,7 @@ process sentinels.  They shall not disturb each other."
          ;; We want to see the timeout message.
          (tramp--test-instrument-test-case 3
            (sleep-for 2))
-         ;; Session cancelled, no password in cache.
+         ;; Session canceled, no password in cache.
          (should-not
           (password-in-cache-p
            (auth-source-format-cache-entry