From 1bc6bbe3195567dcacd22896b0f2af0c2fb1a353 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Mon, 10 Jun 2024 00:38:13 +0200 Subject: [PATCH] ; Fix typos (cherry picked from commit 77d0eed74e1d934e28f364cb3adb06365e71335e) --- admin/codespell/codespell.exclude | 15 ++++++++++++++- etc/NEWS | 2 +- etc/ORG-NEWS | 16 ++++++++-------- lisp/org/ob-maxima.el | 2 +- lisp/org/ob-python.el | 2 +- lisp/org/ol.el | 4 ++-- lisp/org/org-attach.el | 2 +- lisp/org/org-cycle.el | 2 +- lisp/org/org-element.el | 2 +- lisp/org/org-footnote.el | 2 +- lisp/org/org-pcomplete.el | 2 +- lisp/org/org-persist.el | 2 +- lisp/org/org.el | 10 +++++----- lisp/org/ox.el | 6 +++--- 14 files changed, 41 insertions(+), 28 deletions(-) diff --git a/admin/codespell/codespell.exclude b/admin/codespell/codespell.exclude index 0fe6e0ea8f8..1f036478965 100644 --- a/admin/codespell/codespell.exclude +++ b/admin/codespell/codespell.exclude @@ -1277,7 +1277,8 @@ Forward propagate immediate involed in assignments." ; FIXME: Typo. Involved or (dt (- (if tend (min te tend) te) te (match-string 3)) (setq s (- (org-time-string-to-seconds te) - ("te" :babel-ini-only "telugu" :polyglossia "telugu" :lang-name "Telugu") + ("te" :babel-ini-only "telugu" :polyglossia "telugu" :lang-name "Telugu" :script "telugu" :script-tag "telu") + ("bn" :babel-ini-only "bengali" :polyglossia "bengali" :lang-name "Bengali" :script "bengali" :script-tag: "beng") 2016-09-10 Toke Høiland-Jørgensen (tiny change) Reported by Toke Høiland-Jørgensen . 2012-07-17 Toke Høiland-Jørgensen (tiny change) @@ -1598,3 +1599,15 @@ Optional DETECTIN is an autoload cons from `ede-detect-directory-for-project' (erc--msg-prop-overrides `(,@(and skipp `((erc--skip stamp))) ("\\.\\(flc\\|fli\\|rle\\|iff\\|pfx\\|avi\\|sme\\|rpza\\|dl\\|qt\\|rsrc\\|mov\\)$" "xanim") ("\\.sme$" "video/sme") + ("pl" :default "Indeks tabel") + ("nn" "Fil" "N" "Tidspunkt" "Overskrift" "Tid" "ALLE" "Total tid" "Filtid" "Tidsoversyn") + (setq te (org-insert-timestamp (or at-time now) 'with-hm 'inactive)) + (te (float-time + ("notin" "\\notin" t "∉" "[not an element of]" "[not an element of]" "∉") + ("nn" :default "Held fram frÃ¥ førre side") + ("nn" :default "Held fram pÃ¥ neste side") + ("pl" :default "Spis treści" :html "Spis treści") + ("sme" . "UTF-8") ; MS-Windows Northern Sami (Norway) + '("\\(?:Entering\\|Leavin\\(g\\)\\) directory [`']\\(.+\\)'$" (2 . 1)) + "dropping" "fillin" "from" "granularity" "hppp" "inwindow" + (".G1" . ".G2") ; grap diff --git a/etc/NEWS b/etc/NEWS index 532e1b888a6..4867e166cf2 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -105,7 +105,7 @@ removed, as it was considered more dangerous than useful. RFC 9110 To send an email address in the header of individual HTTP requests, see the variable 'url-request-extra-headers'. -** The defult process filter was rewritten in native code. +** The default process filter was rewritten in native code. The round-trip through the Lisp function 'internal-default-process-filter' is skipped when the process filter is the default one. It's reimplemented in native code, reducing GC churn. diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS index 26f927d4244..32e56cba82c 100644 --- a/etc/ORG-NEWS +++ b/etc/ORG-NEWS @@ -276,7 +276,7 @@ passing universal argument. When using this feature, IDs should not include =::=, which is used in links to indicate the start of the search string. For backwards -compability, existing IDs including =::= will still be matched (but +compatibility, existing IDs including =::= will still be matched (but cannot be used together with search option). A new org-lint checker has been added to warn about this. @@ -417,8 +417,8 @@ in the dynamic block. A global default formatting function for =colview= dynamic blocks can be set via the new option ~org-columns-dblock-formatter~ which defaults to the new function ~org-columns-dblock-write-default~, that -implements the previous (fixed) formatting behaviour. Hence, the -default behaviour is identical to previous versions. +implements the previous (fixed) formatting behavior. Hence, the +default behavior is identical to previous versions. The global default function can be overridden for any given =colview= dynamic block individually by specifying a custom formatter function @@ -884,7 +884,7 @@ order to remain backward-compatible. Before, a ClojureScript source block used the same backend as Clojure, configured in ~org-babel-clojure-backend~ and relied on an undocumented -~:target~ paramter. +~:target~ parameter. Now, there's ~org-babel-clojurescript-backend~ to determine the backend used for evaluation of ClojureScript. @@ -962,7 +962,7 @@ manner with ~run-python~. *** New hook option ~org-indent-post-buffer-init-functions~ -This allows to run functions after ~org-indent~ intializes a buffer to +This allows to run functions after ~org-indent~ initializes a buffer to enrich its properties. *** New option ~org-agenda-start-with-archives-mode~ @@ -1025,7 +1025,7 @@ of the dynamic block. This new option can be used to set the global default formatting function that will be used for =colview= dynamic blocks that do not specify any ~:formatter~ parameter. Its default value (the new function ~org-columns-dblock-write-default~) yields the -previous (fixed) formatting behaviour. +previous (fixed) formatting behavior. *** New allowed value of ~org-md-headline-style~ to mix ATX and Setext style headlines @@ -1569,12 +1569,12 @@ is initiated only when user explicitly executes R/Julia-mode commands that trigger session interactions (requires ESS 24.01.0 or newer). The same session will remain available in the context of Org babel. -*** ~org-store-link~ behaviour storing additional =CUSTOM_ID= links has changed +*** ~org-store-link~ behavior storing additional =CUSTOM_ID= links has changed Previously, when storing =id:= link, ~org-store-link~ stored an additional "human readable" link using a node's =CUSTOM_ID= property. -This behaviour has been expanded to store an additional =CUSTOM_ID= +This behavior has been expanded to store an additional =CUSTOM_ID= link when storing any type of external link type in an Org file, not just =id:= links. diff --git a/lisp/org/ob-maxima.el b/lisp/org/ob-maxima.el index 1103317a883..ef875cfe8a9 100644 --- a/lisp/org/ob-maxima.el +++ b/lisp/org/ob-maxima.el @@ -137,7 +137,7 @@ This function is called by `org-babel-execute-src-block'." (let* ((cmdline (or (cdr (assq :cmdline params)) "")) (batch/load (or (cdr (assq :batch params)) "batchload")) (cmdline (if (or (equal cmdline "") (equal batch/load "batchload")) - ;; legacy behaviour: + ;; legacy behavior: ;; ensure that --very-quiet is on command-line by default (concat cmdline " " org-babel-maxima--command-arguments-default) ;; if using an alternate loader, :cmdline overwrites default diff --git a/lisp/org/ob-python.el b/lisp/org/ob-python.el index 89cdf4c4795..3f81449ebf1 100644 --- a/lisp/org/ob-python.el +++ b/lisp/org/ob-python.el @@ -230,7 +230,7 @@ convert them into an Emacs-lisp table. Otherwise return the results as a string." (let ((res (if (and (> (length results) 0) (string-equal "{" (substring results 0 1))) - results ;don't covert dicts to elisp + results ;don't convert dicts to elisp (org-babel-script-escape results)))) (if (listp res) (mapcar (lambda (el) (if (eq el 'None) diff --git a/lisp/org/ol.el b/lisp/org/ol.el index 20f1b89c060..7a7f4f55896 100644 --- a/lisp/org/ol.el +++ b/lisp/org/ol.el @@ -369,7 +369,7 @@ another window." (const wl-other-frame))))) (defcustom org-link-search-must-match-exact-headline 'query-to-create - "Control fuzzy link behaviour when specific matches not found. + "Control fuzzy link behavior when specific matches not found. When nil, if a fuzzy link does not match a more specific target (such as a heading, named block, target, or code ref), @@ -378,7 +378,7 @@ attempt a regular text search. When set to the special value link instead. Otherwise, signal an error rather than attempting a regular text search. -This option only affects behaviour in Org buffers. Spaces and +This option only affects behavior in Org buffers. Spaces and statistics cookies are ignored during heading searches." :group 'org-link-follow :version "24.1" diff --git a/lisp/org/org-attach.el b/lisp/org/org-attach.el index 16f6e1e29fd..fc7f50a08e7 100644 --- a/lisp/org/org-attach.el +++ b/lisp/org/org-attach.el @@ -530,7 +530,7 @@ DIR-property exists (that is different from the unset one)." "Turn the autotag on or (if OFF is set) off." (when org-attach-auto-tag ;; FIXME: There is currently no way to set #+FILETAGS - ;; programatically. Do nothing when before first heading + ;; programmatically. Do nothing when before first heading ;; (attaching to file) to avoid blocking error. (unless (org-before-first-heading-p) (save-excursion diff --git a/lisp/org/org-cycle.el b/lisp/org/org-cycle.el index b325b042d83..8a39bdb8ccb 100644 --- a/lisp/org/org-cycle.el +++ b/lisp/org/org-cycle.el @@ -633,7 +633,7 @@ With a numeric prefix, show all headlines up to that level." (org-cycle-content 5)) ;; `nofold' and `showall' are technically not allowed values, but ;; they are often intuitively tried by users by analogy with - ;; #+STARTUP: nofold or #STARUP: showall. + ;; #+STARTUP: nofold or #STARTUP: showall. ((memq org-startup-folded '(showeverything nil nofold showall)) (org-fold-show-all))) (unless (eq org-startup-folded 'showeverything) diff --git a/lisp/org/org-element.el b/lisp/org/org-element.el index 9f8e8df599a..34520d16e1d 100644 --- a/lisp/org/org-element.el +++ b/lisp/org/org-element.el @@ -4489,7 +4489,7 @@ Assume point is at the beginning of the timestamp." (and (org-string-nw-p warning-string) (concat " " warning-string)) (cdr brackets)))) (concat - ;; Opening backet: [ or < + ;; Opening bracket: [ or < (car brackets) ;; Starting date/time: YYYY-MM-DD DAY[ HH:MM] (if (eq type 'diary) diff --git a/lisp/org/org-footnote.el b/lisp/org/org-footnote.el index 24cb8bf1899..b886e4c0e82 100644 --- a/lisp/org/org-footnote.el +++ b/lisp/org/org-footnote.el @@ -148,7 +148,7 @@ random Automatically generate a unique, random label." (const :tag "Prompt for label" nil) (const :tag "Create automatic [fn:N]" t) (const :tag "Offer automatic [fn:N] for editing" confirm) - (const :tag "Create anoymous [fn::]" anonymous) + (const :tag "Create anonymous [fn::]" anonymous) (const :tag "Create a random label" random)) :safe #'symbolp) diff --git a/lisp/org/org-pcomplete.el b/lisp/org/org-pcomplete.el index 0d311f9598f..01ee2ac8bd1 100644 --- a/lisp/org/org-pcomplete.el +++ b/lisp/org/org-pcomplete.el @@ -24,7 +24,7 @@ ;;; Commentary: -;; This library implementes completion support in Org mode buffers. +;; This library implements completion support in Org mode buffers. ;;; Code: diff --git a/lisp/org/org-persist.el b/lisp/org/org-persist.el index 9f2fd3424c7..c855c6604ba 100644 --- a/lisp/org/org-persist.el +++ b/lisp/org/org-persist.el @@ -452,7 +452,7 @@ FORMAT and ARGS are passed to `message'." "Write elisp DATA to FILE." ;; Fsync slightly reduces the chance of an incomplete filesystem ;; write, however on modern hardware its effectiveness is - ;; questionable and it is insufficient to garantee complete writes. + ;; questionable and it is insufficient to guarantee complete writes. ;; Coupled with the significant performance hit if writing many ;; small files, it simply does not make sense to use fsync here, ;; particularly as cache corruption is only a minor inconvenience. diff --git a/lisp/org/org.el b/lisp/org/org.el index 2f937c0e236..ab676e623af 100644 --- a/lisp/org/org.el +++ b/lisp/org/org.el @@ -8738,7 +8738,7 @@ there is one, return it." (save-window-excursion ;; We have no direct control over how ;; `with-output-to-temp-buffer' displays the buffer. Try - ;; to gain more space, makign sure that only the Org + ;; to gain more space, making sure that only the Org ;; buffer and the *Select link* buffer are displayed for ;; the duration of selection. (ignore-errors (delete-other-windows)) @@ -10041,7 +10041,7 @@ where CURRENT-TODO-KEYWORD belongs over on in another sequence." org-todo-key-alist)))) field-number ; current todo keyword column in the completion buffer. todo-binding-spec todo-keyword todo-char input-char) - ;; Display todo selection dialogue, read the user input, and return. + ;; Display todo selection dialog, read the user input, and return. (save-excursion (save-window-excursion ;; Select todo keyword list buffer, and display it unless EXPERT-INTERFACE. @@ -12224,7 +12224,7 @@ Returns the new tags string, or nil to not change the current settings." (move-overlay org-tags-overlay ov-start ov-end) ;; Highlight tags overlay in Org buffer. (org-set-current-tags-overlay current-tags ov-prefix) - ;; Display tag selection dialogue, read the user input, and return. + ;; Display tag selection dialog, read the user input, and return. (save-excursion (save-window-excursion ;; Select tag list buffer, and display it unless EXPERT-INTERFACE. @@ -12239,7 +12239,7 @@ Returns the new tags string, or nil to not change the current settings." ;; Insert current tags. (org-fast-tag-insert "Inherited" inherited-tags inherited-face "\n") (org-fast-tag-insert "Current" current-tags current-face "\n\n") - ;; Display whether next change exits selection dialogue. + ;; Display whether next change exits selection dialog. (org-fast-tag-show-exit exit-after-next) ;; Show tags, tag groups, and bindings in a grid. ;; Each tag in the grid occupies FIELD-WIDTH characters. @@ -20965,7 +20965,7 @@ SEPARATOR is the string to insert after each link." "The method to use for dropped file.") (defun org--dnd-xds-function (need-name filename) "Handle file with FILENAME dropped via XDS protocol. -When NEED-NAME is t, FILNAME is the base name of the file to be +When NEED-NAME is t, FILENAME is the base name of the file to be saved. When NEED-NAME is nil, the drop is complete." (if need-name diff --git a/lisp/org/ox.el b/lisp/org/ox.el index 578e4f36a8b..b28fe21795f 100644 --- a/lisp/org/ox.el +++ b/lisp/org/ox.el @@ -6254,7 +6254,7 @@ them." ("no" :default "Illustrasjon") ("nb" :default "Illustrasjon") ("nn" :default "Illustrasjon") - ("pl" :default "Obrazek") ; alternativly "Rysunek" + ("pl" :default "Obrazek") ; alternatively "Rysunek" ("pt_BR" :default "Figura") ("ro" :default "Imaginea") ("ru" :html "Рисунок" :utf-8 "Рисунок") @@ -6277,7 +6277,7 @@ them." ("no" :default "Illustrasjon %d") ("nb" :default "Illustrasjon %d") ("nn" :default "Illustrasjon %d") - ("pl" :default "Obrazek %d") ; alternativly "Rysunek %d" + ("pl" :default "Obrazek %d") ; alternatively "Rysunek %d" ("pt_BR" :default "Figura %d:") ("ro" :default "Imaginea %d:") ("ru" :html "Рис. %d.:" :utf-8 "Рис. %d.:") @@ -6438,7 +6438,7 @@ them." ("nl" :default "Zie figuur %s" :html "Zie figuur %s" :latex "Zie figuur~%s") ("nn" :default "SjÃ¥ figur %s") - ("pl" :default "Patrz obrazek %s") ; alternativly "Patrz rysunek %s" + ("pl" :default "Patrz obrazek %s") ; alternatively "Patrz rysunek %s" ("pt_BR" :default "Veja a figura %s") ("ro" :default "Vezi figura %s") ("sl" :default "Glej sliko %s") -- 2.39.2