]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix typos
authorStefan Kangas <stefankangas@gmail.com>
Sun, 28 Jan 2024 15:59:50 +0000 (16:59 +0100)
committerEshel Yaron <me@eshelyaron.com>
Wed, 31 Jan 2024 20:15:02 +0000 (21:15 +0100)
(cherry picked from commit 71b5d5a9799a37948b2e8cca125a59e2bfb71e96)

admin/codespell/codespell.exclude
doc/misc/ses.texi
lisp/progmodes/hideif.el
src/eval.c
src/xdisp.c
test/lisp/erc/erc-scenarios-keep-place-indicator.el
test/lisp/erc/resources/erc-tests-common.el
test/lisp/progmodes/elixir-ts-mode-resources/indent.erts
test/src/comp-tests.el

index 2503f4a9a1646aac0b17b668c0e2a2e96b40bb60..416d79cf13122cb4ced9b3a168339303536b674f 100644 (file)
@@ -1,3 +1,54 @@
+  say "And this happens inbetween";
+        @ture)
+       ($sig,$na,@ture)
+($sig,$na,@ture)
+@ture)
+((squery 10 "SQUERY alis :help list")
+ (0.01 ":Alis@hub.uk NOTICE tester :See also: HELP EXAMPLES"))
+ (0.04 ":Alis@hub.uk NOTICE tester :[...]")
+ (0.01 ":Alis@hub.uk NOTICE tester :/SQUERY Alis LIST mask [-options]")
+ (0.08 ":Alis@hub.uk NOTICE tester :Searches for a channel")
+        (erc-scenarios-common-say "/SQUERY alis help list")
+  (should (equal '((regexp . "(string-match-p \"^[fo]+\" \"foobar\")\n    => 0"))
+       (or "comm" "comma" "comman" "command" "commands"
+      (when (and (not (or skipp erc-timestamp-format))
+      (unless skipp
+           (skipp (or (and erc-stamp--skip-when-invisible invisible)
+;; if you type "foo", but typing just "fo" doesn't show the preview.
+ (Emacs main thre), pid 32619 (org.gnu.emacs)
+F DEBUG   : pid: 32619, tid: 32644, name: Emacs main thre  >>> org.gnu.emacs <<<
+       bnez    $t2, .filld             # start filling longs
+       j       .filld                  # fill either doubleword or byte
+.filld:
+
+ (0.01 ":bob!~u@q2weir96jk3r2.irc PRIVMSG #chan :[06:08:40] alice: My sons would never so dishonour me.")
+           interger intger lits bool boolen constant filename
+                with typess = (sort (mapcar #'comp-supertypes
+                for types in typess
+;; FIXME: normalise `seq', both the construct and implicit sequences,
+;; `intersection', we may end up normalising subtrees multiple times
+;; One way to avoid this is to aggressively normalise the entire tree
+;; Such normalisation could normalise synonyms, eliminate `minimal-match'
+                  ;; Normalise the constructor to `or' and the args recursively.
+  "Intersection of the normalised FORMS, as an interval set."
+FORM must be normalised (from `rx--normalise-char-pattern')."
+  "Optimise `or' arguments.  Return a new rx form.
+Each element of ARGS should have been normalised using
+    (search-forward "retur")             ; leaves point before the "n"
+with typess = (sort (mapcar #'comp-supertypes
+               (font-spec :registry "iso10646-1" :otf '(khmr nil (pres)))))
+(0.01 ":bob!~u@q2weir96jk3r2.irc PRIVMSG #chan :[06:08:40] alice: My sons would never so dishonour me.")
+ (0.05 ":bob!~u@q2weir96jk3r2.irc PRIVMSG #chan :alice: Pawn me to this your honour, she is his."))
+        (funcall expect 1 "Entirely honour"))
+ (0 ":bob!~u@rz2v467q4rwhy.irc PRIVMSG #chan :You have paid the heavens your function, and the prisoner the very debt of your calling. I have laboured for the poor gentleman to the extremest shore of my modesty; but my brother justice have I found so severe, that he hath forced me to tell him he is indeed Justice.")
+ (0.00 ":irc.example.net 501 tester x :is not a recognised user mode.")
+ (0.00 ":irc.example.net 501 dummy` x :is not a recognised user mode.")
+ (0.1 ":bob!~u@rz2v467q4rwhy.irc PRIVMSG #utf-8 :alice: Entirely honour; I would not be delay'd."))
+           integer integer list bool boolean constant filename
+           "def" "defi" "defin" "define"
+           "doc" "docu" "docum" "docume" "documen" "document"
+         case Aadd : overflow = ckd_add (&a, accum, next); break;
+   And this the second, again with the same distinction therefrom.
 Bonus: Return a cons cell: (COMPILED . UPTODATE).
 Bonus: Return a cons cell: (COMPILED . UPTODATE)."
 (defun semantic-grammar-create-package (&optional force uptodate)
@@ -57,7 +108,6 @@ order but are now listed consecutively en bloc.
 2003-06-11  Daniel Néri  <done@mayonnaise.net>
 2001-07-26 10:00:00  Steven E. Harris  <seh@speakeasy.org>
 2001-01-15  Jack Twilley  <jmt@tbe.net>
-
        matching LAMDA as a word.  Noted by Stefan Monnier.
        completion variant for every "LAMDA" name (bug#30513).
                            "foto"
@@ -195,7 +245,7 @@ mode setting.  With the Inverse flag [@code{alog}], this command is
 @r{    a b@:    I B     @:             @:     2  @:alog@:(a,b)  b^a}
 @r{    a b@:    I f I   @:             @:     2  @:alog@:(a,b)  b^a}
        Change comment about the iif hook to reflect the actual reason.
-     "I + E (ln), L (exp), B (alog: B^X); f E (lnp1), f L (expm1)"
+     "\\`I' + \\`E' (ln), \\`L' (exp), \\`B' (alog: B^X); \\`f E' (lnp1), \\`f L' (expm1)"
   (let (numer denom)
     (setq numer (car (math-read-expr-list)))
     (if (and (Math-num-integerp numer)
@@ -1177,9 +1227,6 @@ In CLOS, the argument list is (CLASS OBJECT SLOT-NAME), but
     const char *cm_right;      /* right (nd) */
       (should (equal (ert-test-result-messages result) "a\nb\nc\nd\n")))))
       (insert "a\nb\nc\nd\n")
-      (insert "a\nb\nc\nd\n")
-    (insert "a\nb\nc\nd\n")
-      (insert "a\nb\nc\nd\n")
     (insert "a\nb\nc\nd\n")
     (should (string= (buffer-string) "Abc\nd efg\n(h ijk)."))))
               (nd (read-directory-name "Create directory: "
@@ -1192,7 +1239,6 @@ DESCRIPTION:In this meeting\\, we will cover topics from product and enginee
       ;; RFC5546 refers to uninvited attendees as "party crashers".
 That includes both spelling (e.g., "behavior", not "behaviour") and
        * doc/lispref/control.texi (Signalling Errors)
-       * doc/lispref/control.texi (Signalling Errors)
 Re "behavior" vs "behaviour", etc.
 + [[https://protesilaos.com/codelog/2020-07-08-modus-themes-nuanced-colours/][Modus themes: major review of "nuanced" colours]] (2020-07-08)
 + [[https://protesilaos.com/codelog/2020-09-14-modus-themes-review-blues/][Modus themes: review of blue colours]] (2020-09-14)
@@ -1256,7 +1302,6 @@ Put dialogue in buffer."
   "Given start brace BRA, and end brace KET, expand one line into many lines."
                   (regexp-quote ket)
                              (int-to-string (car vec)) ket sig-tail "\n"))
-  "Given start brace BRA, and end brace KET, expand one line into many lines."
            m | mo | mot | moti | motif )       val=motif ;;
     i | in | ino | inot | inoti | inotif | inotify )   val=inotify ;;
 2001-04-23  Kahlil Hodgson  <kahlil@discus.anu.edu.au>
@@ -1270,14 +1315,11 @@ Put dialogue in buffer."
        Rename from whitespace-skipping-for-quotes-not-ouside.
        (whitespace-skipping-for-quotes-not-ouside)
 Thread-Modell: posix
-Thread-Modell: posix
 (ert-deftest indent-sexp-cant-go ()
 (ert-deftest thunk-let-bound-vars-cant-be-set-test ()
               (mml-secure-cust-fpr-lookup context 'encrypt "sub@example.org")))
        (let ((p-e-fprs (mml-secure-cust-fpr-lookup
             (p-s-fprs (mml-secure-cust-fpr-lookup
-       (let ((p-e-fprs (mml-secure-cust-fpr-lookup
-            (p-s-fprs (mml-secure-cust-fpr-lookup
        (let ((s-e-fprs (mml-secure-cust-fpr-lookup
             (s-s-fprs (mml-secure-cust-fpr-lookup
 (ert-deftest doesnt-time-out ()
@@ -1308,7 +1350,6 @@ doc/emacs/docstyle.texi:14: fied ==> field
        * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
        * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
        (feedmail-sendmail-f-doesnt-sell-me-out)
-       (feedmail-sendmail-f-doesnt-sell-me-out)
        Respect feedmail-sendmail-f-doesnt-sell-me-out.
        * terminal.el (te-get-char, te-tic-sentinel):
 from server-external-socket-initialised, since it should be
@@ -1401,7 +1442,6 @@ Paul Raines (raines at slac.stanford.edu),
                                     (car secnd))) ; fetch_date
                         secnd (cdr secnd))
                                     (car secnd))) ; Keep_flag
-                        secnd (cdr secnd))
                                     (car secnd))) ; NOV_entry_position
 @c LocalWords: DesBrisay Dcc devel dir dired docstring filll forw
 Older versions of the themes provided options ~grayscale~ (or ~greyscale~)
@@ -1450,14 +1490,12 @@ DEFUN ("cond", Fcond, Scond, 0, UNEVALLED, 0,
 2006-10-12  Magnus Henoch  <mange@freemail.hu>
 2006-10-11  Magnus Henoch  <mange@freemail.hu>
 2006-10-09  Magnus Henoch  <mange@freemail.hu>
-2008-10-16  Magnus Henoch  <mange@freemail.hu>
 2007-12-31  Magnus Henoch  <mange@freemail.hu>
 2007-12-05  Magnus Henoch  <mange@freemail.hu>
        (ENUMABLE): Remove; no longer needed.
        * lisp.h (ENUMABLE) [!_AIX]: Don't define to 0 merely because we're
        * lisp.h (ENUMABLE, DEFINE_GDB_SYMBOL_ENUM): New macros.
        * lisp.h (ENUMABLE, DEFINE_GDB_SYMBOL_ENUM): Delete macros.
-       * lisp.h (ENUMABLE, DEFINE_GDB_SYMBOL_ENUM): New macros.
 2023-06-29  Andrew G Cohen  <cohen@andy.bu.edu>
 2023-05-07  Andrew G Cohen  <cohen@andy.bu.edu>
           C-x b fo
@@ -1467,10 +1505,8 @@ DEFUN ("cond", Fcond, Scond, 0, UNEVALLED, 0,
 2022-03-22  Andrew G Cohen  <cohen@andy.bu.edu>
 2022-03-20  Andrew G Cohen  <cohen@andy.bu.edu>
 2022-03-17  Andrew G Cohen  <cohen@andy.bu.edu>
-2022-03-17  Andrew G Cohen  <cohen@andy.bu.edu>
 2022-03-04  Andrew G Cohen  <cohen@andy.bu.edu>
 2022-02-18  Andrew G Cohen  <cohen@andy.bu.edu>
-2022-02-18  Andrew G Cohen  <cohen@andy.bu.edu>
 2022-02-11  Andrew G Cohen  <cohen@andy.bu.edu>
 2022-02-08  Andrew G Cohen  <cohen@andy.bu.edu>
 2022-02-03  Andrew G Cohen  <cohen@andy.bu.edu>
@@ -1490,7 +1526,6 @@ extern struct servent *hes_getservbyname (/* char *, char * */);
       servent = hes_getservbyname (service, "tcp");
       if (servent)
       servent = getservbyname (service, "tcp");
-      if (servent)
          struct servent *srv = getservbyname (service, protocol);
 2003-04-10  Sebastian Tennant  <seb@albert.vcisp.net>  (tiny change)
        Reported by Sebastian Tennant <sebyte@smolny.plus.com>.
@@ -1515,7 +1550,6 @@ extern struct servent *hes_getservbyname (/* char *, char * */);
                                            (substring strin pos end-pos))))))
 (defun dun-listify-string2 (strin)
     (while (setq end-pos (string-search " " (substring strin pos)))
-                                           (substring strin pos end-pos))))))
 "any" "append" "as" "asc" "ascic" "async" "at_begin" "at_end" "audit"
           "attribute" "(d)eclaration or (s)pecification?" t) ?s)
                 "quantity" "(f)ree, (b)ranch, or (s)ource quantity?" t)))
index 7bd8be0e97d2ba280f2f6d16c11a37968d163fbd..739629a4ad5d444fcc83de89898cc569f9c95606 100644 (file)
@@ -500,7 +500,7 @@ To list the local printers in a help buffer.
 Except for @code{ses-prin1}, the other standard printers are suitable
 only for cells, not columns or default, because they format the value
 using the column-printer (or default-printer if @code{nil}) and then
-center the result:
+post-process the result, eg.@: center it:
 
 @ftable @code
 @item ses-center
index 3b7eb39356144a722557c11493955208e650ae8c..71f55379d9622d74ef1a1d06709e59ca5bf275bd 100644 (file)
@@ -1750,7 +1750,7 @@ and `+='...)."
                ;; Split REM-BODY @ __VA_ARGS__ into LEFT and right
                (setq part nil)
                (if (zerop va)
-                   (setq left nil ; __VA_ARGS__ trimed
+                   (setq left nil ; __VA_ARGS__ trimmed
                          rem-body (cdr rem-body))
                  (setq left rem-body
                        rem-body (cdr (nthcdr va rem-body))) ; _V_ removed
index c995183ceb84c360e00360788ef2cb9b7e22f168..6f1c39ffb0e7a2e418d36751fdb2c6f5d571eaa9 100644 (file)
@@ -1377,7 +1377,7 @@ DEFUN ("handler-bind-1", Fhandler_bind_1, Shandler_bind_1, 1, MANY, 0,
        doc: /* Setup error handlers around execution of BODYFUN.
 BODYFUN be a function and it is called with no arguments.
 CONDITIONS should be a list of condition names (symbols).
-When an error is signaled during executon of BODYFUN, if that
+When an error is signaled during execution of BODYFUN, if that
 error matches one of CONDITIONS, then the associated HANDLER is
 called with the error as argument.
 HANDLER should either transfer the control via a non-local exit,
@@ -1392,7 +1392,7 @@ usage: (handler-bind BODYFUN [CONDITIONS HANDLER]...)  */)
   Lisp_Object bodyfun = args[0];
   int count = 0;
   if (nargs % 2 == 0)
-    error ("Trailing CONDITIONS withount HANDLER in `handler-bind`");
+    error ("Trailing CONDITIONS without HANDLER in `handler-bind`");
   for (ptrdiff_t i = nargs - 2; i > 0; i -= 2)
     {
       Lisp_Object conditions = args[i], handler = args[i + 1];
index e69336d5abef051dfde3590d362b4f9db1644531..19f176459c7c57b85f70b68d4b5b39df546f9cf1 100644 (file)
@@ -30956,7 +30956,7 @@ draw_glyphs (struct window *w, int x, struct glyph_row *row,
 
 #ifdef HAVE_RSVG
   /* Update SVG image glyphs with mouse face features.  FIXME: it
-     should be possible to have this behaviour with transparent
+     should be possible to have this behavior with transparent
      background PNG.  */
   if (hl == DRAW_MOUSE_FACE)
     {
index 572045cf0bc63e95a79b2b5b1e80fca7bb1bd9bd..ccd6f81b7d2fd526cd721278fb5abe209fd55608 100644 (file)
         (recenter 0)
         (redisplay) ; force ^ to appear on first line
 
-        (other-window 1) ; upper still at indicator, swtiches first
+        (other-window 1) ; upper still at indicator, switches first
         (switch-to-buffer "#spam")
         (other-window 1)
         (switch-to-buffer "#spam") ; lower follows, speaks to sync
index 906aa891352469be585300eeb9145e3f088c9884..05dbe1d50d6e830d1041e5b4c71fe7d0d47184d2 100644 (file)
@@ -206,7 +206,7 @@ For simplicity, assume string evaluates to itself."
 
 (defun erc-tests-common-snapshot-compare (name dir trans-fn buf-init-fn)
   "Compare `buffer-string' to snapshot NAME.eld in DIR, if present.
-When non-nil, run TRANS-FN to fiter the current buffer string,
+When non-nil, run TRANS-FN to filter the current buffer string,
 and expect a similar string in return.  Call BUF-INIT-FN, when
 non-nil, in the preview buffer after inserting the filtered
 string."
index fe09a37a32bc0f918ad3169af76c169ba28206fc..f2d0eacee5bb343228c74767229eca34646cadda 100644 (file)
@@ -134,7 +134,7 @@ Name: Pipe statements with fn
 end)
 =-=-=
 
-Name: Pipe statements stab clases
+Name: Pipe statements stab clauses
 
 =-=
 [1, 2]
index 4e7ca88d1978a40fa93e5aaddb219d2b865318db..54a9a6c11cce0cfee7f944c200a1d56fc45cce7b 100644 (file)
@@ -906,7 +906,7 @@ Return a list of results."
 
 (defun comp-tests--types-equal (t1 t2)
   "Whether the types T1 and T2 are equal."
-  (or (equal t1 t2)   ; optimisation for the common case
+  (or (equal t1 t2)   ; optimization for the common case
       (and (consp t1) (consp t2)
            (eq (car t1) (car t2))
            (if (memq (car t1) '(and or member))