; Fix typos
authorStefan Kangas <stefankangas@gmail.com>
Thu, 23 Jan 2025 02:13:01 +0000 (03:13 +0100)
committerStefan Kangas <stefankangas@gmail.com>
Thu, 23 Jan 2025 02:14:37 +0000 (03:14 +0100)
15 files changed:
ChangeLog.3
ChangeLog.4
admin/codespell/codespell.exclude
admin/nt/dist-build/build-dep-zips.py
admin/nt/dist-build/emacs.nsi
doc/lispref/frames.texi
doc/lispref/internals.texi
etc/PROBLEMS
etc/future-bug
lisp/calendar/calendar.el
lisp/progmodes/meta-mode.el
lisp/type-break.el
nextstep/README
src/ChangeLog.3
src/keyboard.c

index 067a60cdb0ab599574c118c5b497a87237365c1c..8fcec8da85b6c08931c609b25221463b015ae62a 100644 (file)
        possible bug.
 
        * lisp/progmodes/flymake.el (flymake--mode-line-counter): Must
-       explicily create a new string unpropertized string
+       explicitly create a new string unpropertized string
 
 2020-12-31  João Távora  <joaotavora@gmail.com>
 
        to be replaced with an appropriate character reference.  Make
        ‘sgml-quote’ do that.
 
-       While at it, fix entiteis not being unquoted if they lack closing
+       While at it, fix entities not being unquoted if they lack closing
        semicolon (e.g. ‘&amp’) occurring at the very end of a region.
        Even though unlikely, make ‘sgml-quote’ handle this scenario.
 
        Delete a Flymake obsolete alias that can't possibly work
 
        The function `flymake-ler-make-ler' can't possibly work as an backward
-       compatible interface to existing extensinos (even purely hypothetical
+       compatible interface to existing extensions (even purely hypothetical
        ones, since none are known).  This is because every diagnostic
        considered by Flymake has to passed to a report-fn function.
 
        called any longer.
 
        Furthermore, when newline has whitespace syntax, ‘\s-$’ regular
-       expression ends up matching empty lins since ‘\s-’ matches newline
+       expression ends up matching empty lines since ‘\s-’ matches newline
        characetr of proceeding line.  This leads to needless loop iterations.
 
        Since previous change to ‘delete-trailing-whitespace’ already introduced
index 80e16869ad76215aa190e3f63da16e060693610c..accbf824c7e93589ed9d8d839d678f5b323588c2 100644 (file)
 
        Improve documentation for 'while-let'
 
-       * doc/lispref/control.texi (Conditionals): Reorganise describing
+       * doc/lispref/control.texi (Conditionals): Reorganize describing
        what's overlapping between the macros (and between the macros
        and let*), and then improve the documentation for 'while-let'.
 
 
        Remove unnecessary (delq nil...).
 
-       This is presumed to be an artifacto of an old default.
+       This is presumed to be an artifact of an old default.
 
        * lisp/which-key.el (which-key-replacement-alist):
        Remove unnecessary (delq nil...).
 
        The Emacs regexp engine interprets character ranges from ASCII to raw
        bytes, such as [a-\xfe], as not including non-ASCII Unicode at all;
-       ranges from non-ACII Unicode to raw bytes, such as [ü-\x91], are
+       ranges from non-ASCII Unicode to raw bytes, such as [ü-\x91], are
        ignored entirely.
 
        To make rx produce a translation that works as intended, split ranges
 
        * lisp/emacs-lisp/cl-macs.el (cl--slet): Add `nowarn` arg.
        (cl--defsubst-expand): Use it.
-       (cl-defstruct): Silence warnings abour lexical shadowing when a slot's
+       (cl-defstruct): Silence warnings about lexical shadowing when a slot's
        name happens to be the same as a dynbound var.
 
 2023-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
        works.
 
        * lisp/emacs-lisp/byte-opt.el (byte-optimize-lapcode):
-       Instead of re-using local variables through mutation, bind them at
+       Instead of reusing local variables through mutation, bind them at
        point of use.  This ensures that there is no value leakage by mistake
        and actually reduces the static size of the bytecode of this function
        somewhat.
        4004dde6ea Avoid positional arguments to define-minor-mode
        cb85f9c274 Fix typo in use-package docstring
        30b35d6d62 Update use-package.texi
-       9be2580f5f optimization: constand folding for read-kbd-macro
+       9be2580f5f optimization: constant folding for read-kbd-macro
        1143f14d65 bind-keys-form: error for repeat sub-keywords without :rep...
        c4bd2aa3b8 bind-key-form: allow :continue keyword inside repeat map
        5ef327ce9f bind-key-form: allow :exit keyword inside repeat map
index f4c67ae83e82fc3315b42d63b26f56ca2c44ed81..5bb85a0dac33ce76845da031496a9803f3ad71db 100644 (file)
@@ -1743,3 +1743,16 @@ 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)
+       (elisp--safe-macroexpand-all): Make the warning more discrete.
+|PACK|UNPK|INDX|BLD |LEN |... |
+@key{INDX} removes an integer @var{n}, then builds a vector of
+integers from 1 to @var{n}.  @kbd{INV INDX} takes three numbers
+(sref STRING INDX) returns the character in STRING at INDEX.  INDEX
+;; |PACK|UNPK|INDX|BLD |LEN |... |
+       ( "INDX"  (progn calc-num-prefix calc-index) "\C-u\excalc-index\r" )
+       (calc-enter-result 3 "indx" (cons 'calcFunc-index (calc-top-list-n 3)))
+     (calc-enter-result 0 "indx" (list 'calcFunc-index
+       (elisp--safe-macroexpand-all): Make the warning more discreet.
+       dee6b36286 If use-package-verbose is t, show loading times when :afte...
+       267fc6d00c4 ruby-smie-rules: Fix misindentation of a method call afte...
+       b0181dafb9e Improve documentation of 'enable-local-variables' in Emac...
index 567e8eb2133ad0dbcbaa8f919906a9fe653b8030..af3036eb8e6ae7d13b1b8fc597958b0edd67edad 100755 (executable)
@@ -30,7 +30,7 @@ EMACS_MAJOR_VERSION= os.getenv('EMACS_MAJOR_VERSION') or "30"
 # Base URI for the package sources mapped in PKG_REQ
 SRC_REPO="https://repo.msys2.org/mingw/sources"
 
-# Map items in `dynamic-library-alist' to source pakages
+# Map items in `dynamic-library-alist' to source packages
 PKG_REQ='''mingw-w64-x86_64-giflib
 mingw-w64-x86_64-gnutls
 mingw-w64-x86_64-harfbuzz
@@ -47,7 +47,7 @@ mingw-w64-x86_64-xpm-nox
 mingw-w64-x86_64-tree-sitter
 mingw-w64-x86_64-sqlite3'''.split()
 
-# Emacs style path to dependancy DLLs on build system
+# Emacs style path to dependency DLLs on build system
 DLL_SRC="c:/msys64/mingw64/bin"
 
 # libraries we never include
@@ -110,7 +110,7 @@ def gather_deps():
     print("Deps updated in", os.getcwd(), "as", zipfile)
     os.chdir("../")
 
-# Return dependancies listed in Emacs
+# Return dependencies listed in Emacs
 def init_deps():
     return '''libXpm-nox4.dll
 libpng16-16.dll
@@ -382,7 +382,7 @@ parser.add_argument("-d", help="dry run",
 parser.add_argument("-l", help="list dependencies",
                     action="store_true")
 
-parser.add_argument("-e", help="extract direct dependancies",
+parser.add_argument("-e", help="extract direct dependencies",
                     action="store_true")
 
 args = parser.parse_args()
index b8226d69423c8ae600ee29714c3b659505996813..4a5de4f85f9f76be2a8710c7d41ee69232b746cc 100644 (file)
@@ -92,7 +92,7 @@ Section "Uninstall"
   # remove All Users shortcuts only
   # SetShellVarContext all
 
-  # retreive/recalculate uninstaller location
+  # retrieve/recalculate uninstaller location
   StrCpy $UninstallerPath "$INSTDIR\Uninstall-${VERSION_BRANCH}.exe"
 
   # remove registry key
@@ -101,7 +101,7 @@ Section "Uninstall"
   # delete uninstaller
   Delete "$INSTDIR\Uninstall-${VERSION_BRANCH}.exe"
 
-  # retreive/reclculate startmenu shortcuts location
+  # retrieve/recalculate startmenu shortcuts location
   !insertmacro MUI_STARTMENU_GETFOLDER Application $StartMenuFolder
   StrCpy $StartMenuFolder "$SMPROGRAMS\$StartMenuFolder"
 
@@ -120,7 +120,7 @@ Section "Uninstall"
   # we're basically using GOTO, above, so we should get here..
   startMenuDeleteLoopDone:
 
-  # next we remove stuff from program-files/instalation path
+  # next we remove stuff from program-files/installation path
   # start with recursive delete of the Emacs we installed
   RMDir /r "$INSTDIR\emacs-${VERSION_BRANCH}"
 
index 23d770ce450b9f9f3956e70d14c2e7a5ea102eca..53cc73a1650b50dcbc62f4a8a51d4e0201c8642d 100644 (file)
@@ -4712,7 +4712,7 @@ and secondary selections by saving the value supplied into a variable
 subsequent calls to @code{gui-get-selection} return.
 
   From the clipboard, @code{gui-get-selection} is capable of returning
-UTF-8 string data of the type @code{STRING}, the @code{TAREGTS} data
+UTF-8 string data of the type @code{STRING}, the @code{TARGETS} data
 type, or image and application data of any MIME type.
 @code{gui-set-selection} sets only string data, much as under
 MS-Windows, although this data is not affected by the value of
index f598d96c625049dc267c26acab9f885b882cc98c..cc82a03db988870e13c3ec64c3487756aef5a61c 100644 (file)
@@ -2745,7 +2745,7 @@ The window-relative vertical position of the line containing
 @item window_end_valid
 This field is set to a non-zero value if @code{window_end_pos} and
 @code{window_end_vpos} are truly valid.  This is zero if nontrivial
-redisplay is pre-empted, since in that case the display that
+redisplay is preempted, since in that case the display that
 @code{window_end_pos} was computed for did not get onto the screen.
 
 @item cursor
index 1dcbe0173533d37cad2093a728e56013fd1d937e..49e9248c688bdc9c633de2af808fabedec008c53 100644 (file)
@@ -1600,7 +1600,7 @@ https://lists.gnu.org/r/emacs-devel/2016-07/msg00154.html.
 
 *** In Emacs built with GTK+ toolkit, menu-bar background becomes transparent.
 
-This happens when 'alpha-background' is less than 100.  This is due a
+This happens when 'alpha-background' is less than 100.  This is due to a
 GTK limitation, for which no workaround is currently known,
 unfortunately.
 
@@ -1622,7 +1622,7 @@ after switching back from another virtual desktop.  Setting the variable
 
 *** Gnome desktop does not respect frame size specified in .Xresources
 
-This has been obeserved when running a GTK+ build of Emacs 29 from the
+This has been observed when running a GTK+ build of Emacs 29 from the
 launch pad on Ubuntu 24.04 with mutter as window manager.  The problem
 can be resolved by running Emacs from the command line instead.
 
index c18dd995d6628395e91eaf2f89091fdb0837a6b5..a9c871d6cee48c6ef3f01652ef3f544cc4b10fa3 100644 (file)
@@ -30,7 +30,7 @@ comments when you write it (sometime in 2198 as I recall).
 
 
 P.S. You'll be pleased to know that since (time-forward N) still works
-     for N >= 0, we've used it to pre-emptively update configure.ac.
+     for N >= 0, we've used it to preemptively update configure.ac.
      Emacs now configures and builds on every platform that will ever
      be made.  It wasn't easy, but at least that's one problem out of
      the way for good.  If you'd like the patch, just ask.
index 457f4ed42ec6c7ccdfd89770cad1a3174b810725..d94cbed94e9c0381841ddce2da1bc9492bdb7ea7 100644 (file)
 ;; the absolute format (see e.g. `calendar-iso-from-absolute' in
 ;; cal-iso.el).  This representation is also useful for certain
 ;; calculations; e.g. `calendar-day-of-week' is simply the absolute
-;; represention modulo 7, because December 31, 1BC is a Sunday.
+;; representation modulo 7, because December 31, 1BC is a Sunday.
 
 ;; A note on free variables:
 
index abc789d403ceb086b10acfa030fe670a8a6ab287..36cbc1c08fe6a525812a31a77ca77a0370bd1c71 100644 (file)
   ;;
   ;; The expected syntax of an item is either "word" or "symbol",
   ;; possibly ending with optional whitespace.  Everything following
-  ;; the item (but belonging to it) is expected to by skipable by
+  ;; the item (but belonging to it) is expected to by skippable by
   ;; `forward-sexp'.  The list of items is expected to be separated
   ;; by commas and terminated by semicolons or equals signs.
   ;;
index b36860e48ef9f0b1f148eb0e148c291b8ac34f65..551af70a48475feab4492110fbd5302454449f26 100644 (file)
@@ -116,8 +116,8 @@ then there is no minimum threshold; as soon as the scheduled time has
 elapsed, the user will always be queried.
 
 The second number is the maximum number of keystrokes that can be entered
-before a typing break is requested immediately, pre-empting the originally
-scheduled break.  If this second value is nil, then no pre-emptive breaks
+before a typing break is requested immediately, preempting the originally
+scheduled break.  If this second value is nil, then no preemptive breaks
 will occur; only scheduled ones will.
 
 Keys with bucky bits (shift, control, meta, etc) are counted as only one
index 487ea52ead4460f8f303b1258604e5eaf0b11289..853d6bcda35e6d6b1ecaa88ae7bac44c13c65e77 100644 (file)
@@ -14,7 +14,7 @@ OpenStep and then Rhapsody, which became Mac OS X.  In 2004 it was
 adapted to GNUstep, a free OpenStep implementation, and in 2008 it was
 merged to the GNU Emacs trunk and released with Emacs 23.  Around the
 same time a separate Mac-only port using the Carbon APIs and
-descending from a 2001 Mac OS 8/9 port of Emacs 21 was removed. (It
+descending from a 2001 Mac OS 8/9 port of Emacs 21 was removed.  (It
 remains available externally under the name "mac".)
 
 
@@ -48,12 +48,12 @@ Classes are declared like the following:
 
   GUIDELINES
 
-* Adhere the to the FSF philosophy that a feature in GNU software
-  should not only be available on non-free systems.
+* Adhere to the FSF philosophy that a feature in GNU software should not
+  only be available on non-free systems.
 
 * People with varying Cocoa and Objective-C skills will read and
   modify the NS code over a long period of time.  Keep the code simple
-  and avoid language constructs that makes the code hard to maintain.
+  and avoid language constructs that make the code hard to maintain.
 
 * Don't use macros and types intended for the XCode Interface Builder,
   like 'IBAction'.
@@ -81,7 +81,7 @@ GNUstep.  Even though they are less frequently used, this is important
 for a number of reasons:
 
 * It supports the GNUstep project and provides an Emacs with the same
-  look-and-feel as the rest of the system.
+  look and feel as the rest of the system.
 
 * This allows other Emacs developers to test their changes on the NS
   interface without having access to a macOS machine.
@@ -93,7 +93,7 @@ for a number of reasons:
 
   SEE ALSO
 
-The src/ns... files contains the C and Objective-C parts.
+The src/ns... files contain the C and Objective-C parts.
 
 The lisp/term/ns-win.el file contains the lisp part of the NS
 interface.
index 0051330f556caeaecc550db73248cc63f13309e0..259bd1836f42a761c8a9d0df32007ccf3c603a01 100644 (file)
 
 1989-04-29  Joe Arceneaux  (jla@apple-gunkies.ai.mit.edu)
 
-       * xterm.c (x_term_init): Don't set visible bell, as it pre-empts
+       * xterm.c (x_term_init): Don't set visible bell, as it preempts
        .emacs control.
 
 1989-04-26  Richard Stallman  (rms@sugar-bombs.ai.mit.edu)
index ffb90c56f4a2b8f4559c539843fd70eaf162e968..a9548011c93cddd80895f1c73a240dc8e3ba2fdb 100644 (file)
@@ -2681,7 +2681,7 @@ read_char (int commandflag, Lisp_Object map,
            /* Normal case: no input arrived during redisplay.  */
            break;
 
-         /* Input arrived and pre-empted redisplay.
+         /* Input arrived and preempted redisplay.
             Process any events which are not user-visible.  */
          swallow_events (false);
          /* If that cleared input_pending, try again to redisplay.  */