Selaa lähdekoodia

Fix typos and spelling mistakes.

Thanks to Paul Eggert for this fixes in Emacs trunk.
Bastien Guerry 13 vuotta sitten
vanhempi
commit
fadca5e8eb

+ 2 - 2
lisp/ob-fortran.el

@@ -108,7 +108,7 @@ it's header arguments."
   "Wrap body in a \"program ... end program\" block if none exists."
   "Wrap body in a \"program ... end program\" block if none exists."
   (if (string-match "^[ \t]*program[ \t]*.*" (capitalize body))
   (if (string-match "^[ \t]*program[ \t]*.*" (capitalize body))
        (let ((vars (mapcar #'cdr (org-babel-get-header params :var))))
        (let ((vars (mapcar #'cdr (org-babel-get-header params :var))))
-	 (if vars (error "cannot use :vars if 'program' statment is present"))
+	 (if vars (error "cannot use :vars if 'program' statement is present"))
 	 body)
 	 body)
     (format "program main\n%s\nend program main\n" body)))
     (format "program main\n%s\nend program main\n" body)))
 
 
@@ -125,7 +125,7 @@ support for sessions"
 ;; helper functions
 ;; helper functions
 
 
 (defun org-babel-fortran-var-to-fortran (pair)
 (defun org-babel-fortran-var-to-fortran (pair)
-  "fortranonvert an elisp val into a string of fortran code specifying a var
+  "Convert an elisp val into a string of fortran code specifying a var
 of the same value."
 of the same value."
   ;; TODO list support
   ;; TODO list support
   (let ((var (car pair))
   (let ((var (car pair))

+ 1 - 1
lisp/ob-latex.el

@@ -132,7 +132,7 @@ This function is called by `org-babel-execute-src-block'."
 	      (when (file-exists-p transient-pdf-file)
 	      (when (file-exists-p transient-pdf-file)
 		(delete-file transient-pdf-file))))))
 		(delete-file transient-pdf-file))))))
          ((string-match "\\.\\([^\\.]+\\)$" out-file)
          ((string-match "\\.\\([^\\.]+\\)$" out-file)
-          (error "can not create %s files, please specify a .png or .pdf file or try the :imagemagick header arguement"
+          (error "can not create %s files, please specify a .png or .pdf file or try the :imagemagick header argument"
 		 (match-string 1 out-file))))
 		 (match-string 1 out-file))))
         nil) ;; signal that output has already been written to file
         nil) ;; signal that output has already been written to file
     body))
     body))

+ 1 - 1
lisp/ob-ledger.el

@@ -29,7 +29,7 @@
 ;;
 ;;
 ;; 1) there is no such thing as a "session" in ledger
 ;; 1) there is no such thing as a "session" in ledger
 ;;
 ;;
-;; 2) we are generally only going to return output from the leger program
+;; 2) we are generally only going to return output from the ledger program
 ;;
 ;;
 ;; 3) we are adding the "cmdline" header argument
 ;; 3) we are adding the "cmdline" header argument
 ;;
 ;;

+ 7 - 7
lisp/org-agenda.el

@@ -28,7 +28,7 @@
 ;;
 ;;
 ;; The functions `org-batch-agenda', `org-batch-agenda-csv', and
 ;; The functions `org-batch-agenda', `org-batch-agenda-csv', and
 ;; `org-batch-store-agenda-views' are implemented as macros to provide
 ;; `org-batch-store-agenda-views' are implemented as macros to provide
-;; a conveniant way for extracting agenda information from the command
+;; a convenient way for extracting agenda information from the command
 ;; line. The Lisp does not evaluate parameters of a macro call; thus
 ;; line. The Lisp does not evaluate parameters of a macro call; thus
 ;; it is not necessary to quote the parameters passed to one of those
 ;; it is not necessary to quote the parameters passed to one of those
 ;; functions. E.g. you can write:
 ;; functions. E.g. you can write:
@@ -1088,7 +1088,7 @@ and timeline buffers."
 	      (const :tag "Sunday" 0)))
 	      (const :tag "Sunday" 0)))
 
 
 (defcustom org-agenda-move-date-from-past-immediately-to-today t
 (defcustom org-agenda-move-date-from-past-immediately-to-today t
-  "Non-nil means jumpt to today when moving a past date forward in time.
+  "Non-nil means jump to today when moving a past date forward in time.
 When using S-right in the agenda to move a a date forward, and the date
 When using S-right in the agenda to move a a date forward, and the date
 stamp currently points to the past, the first key press will move it
 stamp currently points to the past, the first key press will move it
 to today.  WHen nil, just move one day forward even if the date stays
 to today.  WHen nil, just move one day forward even if the date stays
@@ -1660,7 +1660,7 @@ Where CATEGORY-REGEXP is a regexp matching the categories where
 the icon should be displayed.
 the icon should be displayed.
 FILE-OR-DATA either a file path or a string containing image data.
 FILE-OR-DATA either a file path or a string containing image data.
 
 
-The other fields can be omited safely if not needed:
+The other fields can be omitted safely if not needed:
 TYPE indicates the image type.
 TYPE indicates the image type.
 DATA-P is a boolean indicating whether the FILE-OR-DATA string is
 DATA-P is a boolean indicating whether the FILE-OR-DATA string is
 image data.
 image data.
@@ -3064,7 +3064,7 @@ define a filter for one of the individual blocks.  You need to set it in
 the global options and expect it to be applied to the entire view.")
 the global options and expect it to be applied to the entire view.")
 
 
 (defvar org-agenda-category-filter-preset nil
 (defvar org-agenda-category-filter-preset nil
-  "A preset of the categeory filter used for secondary agenda filtering.
+  "A preset of the category filter used for secondary agenda filtering.
 This must be a list of strings, each string must be a single category
 This must be a list of strings, each string must be a single category
 preceded by \"+\" or \"-\".
 preceded by \"+\" or \"-\".
 This variable should not be set directly, but agenda custom commands can
 This variable should not be set directly, but agenda custom commands can
@@ -4922,7 +4922,7 @@ DAYNAME is a number between 0 (Sunday) and 6 (Saturday).
 SKIP-WEEKS is any number of ISO weeks in the block period for which the
 SKIP-WEEKS is any number of ISO weeks in the block period for which the
 item should be skipped.  If any of the SKIP-WEEKS arguments is the symbol
 item should be skipped.  If any of the SKIP-WEEKS arguments is the symbol
 `holidays', then any date that is known by the Emacs calendar to be a
 `holidays', then any date that is known by the Emacs calendar to be a
-holidy will also be skipped."
+holiday will also be skipped."
   (let* ((date1 (calendar-absolute-from-gregorian (list m1 d1 y1)))
   (let* ((date1 (calendar-absolute-from-gregorian (list m1 d1 y1)))
 	 (date2 (calendar-absolute-from-gregorian (list m2 d2 y2)))
 	 (date2 (calendar-absolute-from-gregorian (list m2 d2 y2)))
 	 (d (calendar-absolute-from-gregorian date)))
 	 (d (calendar-absolute-from-gregorian date)))
@@ -8507,7 +8507,7 @@ tag and (if present) the flagging note."
 	  (org-agenda-remove-flag hdmarker)
 	  (org-agenda-remove-flag hdmarker)
 	  (let ((win (get-buffer-window "*Flagging Note*")))
 	  (let ((win (get-buffer-window "*Flagging Note*")))
 	    (and win (delete-window win)))
 	    (and win (delete-window win)))
-	  (message "Entry unflaged"))
+	  (message "Entry unflagged"))
       (setq note (org-entry-get hdmarker "THEFLAGGINGNOTE"))
       (setq note (org-entry-get hdmarker "THEFLAGGINGNOTE"))
       (unless note
       (unless note
 	(error "No flagging note"))
 	(error "No flagging note"))
@@ -8530,7 +8530,7 @@ tag and (if present) the flagging note."
       (org-entry-delete nil "THEFLAGGINGNOTE")
       (org-entry-delete nil "THEFLAGGINGNOTE")
       (setq newhead (org-get-heading)))
       (setq newhead (org-get-heading)))
     (org-agenda-change-all-lines newhead marker)
     (org-agenda-change-all-lines newhead marker)
-    (message "Entry unflaged")))
+    (message "Entry unflagged")))
 
 
 (defun org-agenda-get-any-marker (&optional pos)
 (defun org-agenda-get-any-marker (&optional pos)
   (or (get-text-property (or pos (point-at-bol)) 'org-hd-marker)
   (or (get-text-property (or pos (point-at-bol)) 'org-hd-marker)

+ 2 - 2
lisp/org-beamer.el

@@ -410,7 +410,7 @@ the value will be inserted right after the documentclass statement."
 
 
 
 
 ;; Functions to initialize and post-process
 ;; Functions to initialize and post-process
-;; These fuctions will be hooked into various places in the export process
+;; These functions will be hooked into various places in the export process
 
 
 (defun org-beamer-initialize-open-trackers ()
 (defun org-beamer-initialize-open-trackers ()
   "Reset variables that track if certain environments are open during export."
   "Reset variables that track if certain environments are open during export."
@@ -450,7 +450,7 @@ The effect is that these values will be accessible during export."
      ((stringp org-beamer-frame-level-now)
      ((stringp org-beamer-frame-level-now)
       (setq org-beamer-frame-level-now
       (setq org-beamer-frame-level-now
 	    (string-to-number org-beamer-frame-level-now))))
 	    (string-to-number org-beamer-frame-level-now))))
-    ;; Find the header additons, most likely theme commands
+    ;; Find the header additions, most likely theme commands
     (setq org-beamer-header-extra
     (setq org-beamer-header-extra
 	  (or (and (org-region-active-p)
 	  (or (and (org-region-active-p)
 		   (save-excursion
 		   (save-excursion

+ 2 - 2
lisp/org-capture.el

@@ -374,7 +374,7 @@ to avoid conflicts with other active capture processes."
   (plist-get (if local org-capture-current-plist org-capture-plist) prop))
   (plist-get (if local org-capture-current-plist org-capture-plist) prop))
 
 
 (defun org-capture-member (prop &optional local)
 (defun org-capture-member (prop &optional local)
-  "Is PROP a preperty in `org-capture-plist'.
+  "Is PROP a property in `org-capture-plist'.
 When LOCAL is set, use the local variable `org-capture-current-plist',
 When LOCAL is set, use the local variable `org-capture-current-plist',
 this is necessary after initialization of the capture process,
 this is necessary after initialization of the capture process,
 to avoid conflicts with other active capture processes."
 to avoid conflicts with other active capture processes."
@@ -1455,7 +1455,7 @@ The template may still contain \"%?\" for cursor positioning."
       (goto-char (point-min))
       (goto-char (point-min))
       (while (looking-at "[ \t]*\n") (replace-match ""))
       (while (looking-at "[ \t]*\n") (replace-match ""))
       (if (re-search-forward "[ \t\n]*\\'" nil t) (replace-match "\n"))
       (if (re-search-forward "[ \t\n]*\\'" nil t) (replace-match "\n"))
-      ;; Return the expanded tempate and kill the temporary buffer
+      ;; Return the expanded template and kill the temporary buffer
       (untabify (point-min) (point-max))
       (untabify (point-min) (point-max))
       (set-buffer-modified-p nil)
       (set-buffer-modified-p nil)
       (prog1 (buffer-string) (kill-buffer (current-buffer))))))
       (prog1 (buffer-string) (kill-buffer (current-buffer))))))

+ 1 - 1
lisp/org-clock.el

@@ -2128,7 +2128,7 @@ the currently selected interval size."
   "Write out a clock table at position IPOS in the current buffer.
   "Write out a clock table at position IPOS in the current buffer.
 TABLES is a list of tables with clocking data as produced by
 TABLES is a list of tables with clocking data as produced by
 `org-clock-get-table-data'.  PARAMS is the parameter property list obtained
 `org-clock-get-table-data'.  PARAMS is the parameter property list obtained
-from the dynamic block defintion."
+from the dynamic block definition."
   ;; This function looks quite complicated, mainly because there are a
   ;; This function looks quite complicated, mainly because there are a
   ;; lot of options which can add or remove columns.  I have massively
   ;; lot of options which can add or remove columns.  I have massively
   ;; commented this function, the I hope it is understandable.  If
   ;; commented this function, the I hope it is understandable.  If

+ 1 - 1
lisp/org-compat.el

@@ -275,7 +275,7 @@ Works on both Emacs and XEmacs."
     nil))
     nil))
 
 
 (defmacro org-xemacs-without-invisibility (&rest body)
 (defmacro org-xemacs-without-invisibility (&rest body)
-  "Turn off exents with invisibility while executing BODY."
+  "Turn off extents with invisibility while executing BODY."
   `(let ((ext-inv (extent-list nil (point-at-bol) (point-at-eol)
   `(let ((ext-inv (extent-list nil (point-at-bol) (point-at-eol)
 			       'all-extents-closed-open 'invisible))
 			       'all-extents-closed-open 'invisible))
 	 ext-inv-specs)
 	 ext-inv-specs)

+ 1 - 1
lisp/org-ctags.el

@@ -35,7 +35,7 @@
 ;; links to these 'tagged' destinations, allowing seamless navigation between
 ;; links to these 'tagged' destinations, allowing seamless navigation between
 ;; multiple org-mode files. Topics can be created in any org mode file and
 ;; multiple org-mode files. Topics can be created in any org mode file and
 ;; will always be found by plain links from other files. Other file types
 ;; will always be found by plain links from other files. Other file types
-;; recognised by ctags (source code files, latex files, etc) will also be
+;; recognized by ctags (source code files, latex files, etc) will also be
 ;; available as destinations for plain links, and similarly, org-mode links
 ;; available as destinations for plain links, and similarly, org-mode links
 ;; will be available as tags from source files. Finally, the function
 ;; will be available as tags from source files. Finally, the function
 ;; `org-ctags-find-tag-interactive' lets you choose any known tag, using
 ;; `org-ctags-find-tag-interactive' lets you choose any known tag, using

+ 7 - 7
lisp/org-exp.el

@@ -2800,7 +2800,7 @@ continue numbering from the last numbered block.
 REPLACE-LABELS is dual-purpose.
 REPLACE-LABELS is dual-purpose.
 1. It controls the retention of labels in the exported block.
 1. It controls the retention of labels in the exported block.
 2. It specifies in what manner the links (or references) to a
 2. It specifies in what manner the links (or references) to a
-   labelled line be formatted.
+   labeled line be formatted.
 
 
 REPLACE-LABELS is the symbol `keep' if the literal example
 REPLACE-LABELS is the symbol `keep' if the literal example
 specifies \"-k\" option, is numeric if the literal example
 specifies \"-k\" option, is numeric if the literal example
@@ -2808,12 +2808,12 @@ specifies \"-r\" option and is nil otherwise.
 
 
 Handle REPLACE-LABELS as below:
 Handle REPLACE-LABELS as below:
 - If nil, retain labels in the exported block and use
 - If nil, retain labels in the exported block and use
-  user-provided labels for referencing the labelled lines.
+  user-provided labels for referencing the labeled lines.
 - If it is a number, remove labels in the exported block and use
 - If it is a number, remove labels in the exported block and use
-  one of line numbers or labels for referencing labelled lines based
+  one of line numbers or labels for referencing labeled lines based
   on NUMBER option.
   on NUMBER option.
 - If it is a keep, retain labels in the exported block and use
 - If it is a keep, retain labels in the exported block and use
-  one of line numbers or labels for referencing labelled lines
+  one of line numbers or labels for referencing labeled lines
   based on NUMBER option.
   based on NUMBER option.
 
 
 LABEL-FORMAT is the value of \"-l\" switch associated with
 LABEL-FORMAT is the value of \"-l\" switch associated with
@@ -2823,8 +2823,8 @@ PREPROCESS is intended for backend-agnostic handling of source
 block numbering.  When non-nil do the following:
 block numbering.  When non-nil do the following:
 - do not number the lines
 - do not number the lines
 - always strip the labels from exported block
 - always strip the labels from exported block
-- do not make the labelled line a target of an incoming link.
-  Instead mark the labelled line with `org-coderef' property and
+- do not make the labeled line a target of an incoming link.
+  Instead mark the labeled line with `org-coderef' property and
   store the label in it."
   store the label in it."
   (setq skip1 (or skip1 0) skip2 (or skip2 0))
   (setq skip1 (or skip1 0) skip2 (or skip2 0))
   (if (and number (not cont)) (setq org-export-last-code-line-counter-value 0))
   (if (and number (not cont)) (setq org-export-last-code-line-counter-value 0))
@@ -3021,7 +3021,7 @@ to the value of `temporary-file-directory'."
 	  (org-load-modules-maybe)
 	  (org-load-modules-maybe)
 	  (unless org-local-vars
 	  (unless org-local-vars
 	    (setq org-local-vars (org-get-local-variables)))
 	    (setq org-local-vars (org-get-local-variables)))
-	  (eval ;; convert to fmt -- mimicing `org-run-like-in-org-mode'
+	  (eval ;; convert to fmt -- mimicking `org-run-like-in-org-mode'
 	   (list 'let org-local-vars
 	   (list 'let org-local-vars
 		 (list (intern (format "org-export-as-%s" fmt))
 		 (list (intern (format "org-export-as-%s" fmt))
 		       nil nil nil ''string t))))
 		       nil nil nil ''string t))))

+ 4 - 4
lisp/org-list.el

@@ -71,7 +71,7 @@
 ;; few thousand lines long).  Thus, code should follow the rule:
 ;; few thousand lines long).  Thus, code should follow the rule:
 ;; "collect once, use many".  As a corollary, it is usually a bad idea
 ;; "collect once, use many".  As a corollary, it is usually a bad idea
 ;; to use directly an interactive function inside the code, as those,
 ;; to use directly an interactive function inside the code, as those,
-;; being independant entities, read the whole list structure another
+;; being independent entities, read the whole list structure another
 ;; time.
 ;; time.
 
 
 ;;; Code:
 ;;; Code:
@@ -685,7 +685,7 @@ Assume point is at an item."
 	      (cond
 	      (cond
 	       ((<= (point) lim-up)
 	       ((<= (point) lim-up)
 		;; At upward limit: if we ended at an item, store it,
 		;; At upward limit: if we ended at an item, store it,
-		;; else dimiss useless data recorded above BEG-CELL.
+		;; else dismiss useless data recorded above BEG-CELL.
 		;; Jump to part 2.
 		;; Jump to part 2.
 		(throw 'exit
 		(throw 'exit
 		       (setq itm-lst
 		       (setq itm-lst
@@ -2674,7 +2674,7 @@ If a region is active, all items inside will be moved."
 (defvar org-tab-ind-state)
 (defvar org-tab-ind-state)
 (defun org-cycle-item-indentation ()
 (defun org-cycle-item-indentation ()
   "Cycle levels of indentation of an empty item.
   "Cycle levels of indentation of an empty item.
-The first run indents the item, if applicable.  Subsequents runs
+The first run indents the item, if applicable.  Subsequent runs
 outdent it at meaningful levels in the list.  When done, item is
 outdent it at meaningful levels in the list.  When done, item is
 put back at its original position with its original bullet.
 put back at its original position with its original bullet.
 
 
@@ -3047,7 +3047,7 @@ Valid parameters PARAMS are:
 
 
 Alternatively, each parameter can also be a form returning
 Alternatively, each parameter can also be a form returning
 a string.  These sexp can use keywords `counter' and `depth',
 a string.  These sexp can use keywords `counter' and `depth',
-reprensenting respectively counter associated to the current
+representing respectively counter associated to the current
 item, and depth of the current sub-list, starting at 0.
 item, and depth of the current sub-list, starting at 0.
 Obviously, `counter' is only available for parameters applying to
 Obviously, `counter' is only available for parameters applying to
 items."
 items."

+ 4 - 4
lisp/org-lparse.el

@@ -854,7 +854,7 @@ version."
 	    (throw 'nextline nil))
 	    (throw 'nextline nil))
 
 
 	  ;; Notes: The baseline version of org-html.el (git commit
 	  ;; Notes: The baseline version of org-html.el (git commit
-	  ;; 3d802e), while encoutering a *line-long* protected text,
+	  ;; 3d802e), while encountering a *line-long* protected text,
 	  ;; does one of the following two things based on the state
 	  ;; does one of the following two things based on the state
 	  ;; of the export buffer.
 	  ;; of the export buffer.
 
 
@@ -869,10 +869,10 @@ version."
 	  ;; I think --->
 	  ;; I think --->
 
 
 	  ;; Scenario 1 mentioned above kicks in when a block of
 	  ;; Scenario 1 mentioned above kicks in when a block of
-	  ;; protected text has to be inserted enbloc. For example,
+	  ;; protected text has to be inserted en bloc. For example,
 	  ;; this happens, when inserting an source or example block
 	  ;; this happens, when inserting an source or example block
 	  ;; or preformatted content enclosed in #+backend,
 	  ;; or preformatted content enclosed in #+backend,
-	  ;; #+begin_bakend ... #+end_backend)
+	  ;; #+begin_backend ... #+end_backend)
 
 
 	  ;; Scenario 2 mentioned above kicks in when the protected
 	  ;; Scenario 2 mentioned above kicks in when the protected
 	  ;; text is part of a running sentence. For example this
 	  ;; text is part of a running sentence. For example this
@@ -1189,7 +1189,7 @@ version."
        (t (current-buffer))))))
        (t (current-buffer))))))
 
 
 (defun org-lparse-format-table (lines olines)
 (defun org-lparse-format-table (lines olines)
-  "Retuns backend-specific code for org-type and table-type tables."
+  "Returns backend-specific code for org-type and table-type tables."
   (if (stringp lines)
   (if (stringp lines)
       (setq lines (org-split-string lines "\n")))
       (setq lines (org-split-string lines "\n")))
   (if (string-match "^[ \t]*|" (car lines))
   (if (string-match "^[ \t]*|" (car lines))

+ 5 - 5
lisp/org-odt.el

@@ -284,7 +284,7 @@ FILE-MEMBERS.
 Use options 1, 2 or 3 only if styles.xml alone suffices for
 Use options 1, 2 or 3 only if styles.xml alone suffices for
 achieving the desired formatting.  Use option 4, if the styles.xml
 achieving the desired formatting.  Use option 4, if the styles.xml
 references additional files like header and footer images for
 references additional files like header and footer images for
-achieving the desired formattting.
+achieving the desired formatting.
 
 
 Use \"#+ODT_STYLES_FILE: ...\" directive to set this variable on
 Use \"#+ODT_STYLES_FILE: ...\" directive to set this variable on
 a per-file basis.  For example,
 a per-file basis.  For example,
@@ -1878,7 +1878,7 @@ ATTR is a string of other attributes of the a element."
     (cons width height)))
     (cons width height)))
 
 
 (defvar org-odt-entity-labels-alist nil
 (defvar org-odt-entity-labels-alist nil
-  "Associate Labels with the Labelled entities.
+  "Associate Labels with the Labeled entities.
 Each element of the alist is of the form (LABEL-NAME
 Each element of the alist is of the form (LABEL-NAME
 CATEGORY-NAME SEQNO LABEL-STYLE-NAME).  LABEL-NAME is same as
 CATEGORY-NAME SEQNO LABEL-STYLE-NAME).  LABEL-NAME is same as
 that specified by \"#+LABEL: ...\" line.  CATEGORY-NAME is the
 that specified by \"#+LABEL: ...\" line.  CATEGORY-NAME is the
@@ -2213,7 +2213,7 @@ visually."
   (with-current-buffer
   (with-current-buffer
       (find-file-noselect (expand-file-name "styles.xml") t)
       (find-file-noselect (expand-file-name "styles.xml") t)
     ;; Don't make automatic backup of styles.xml file. This setting
     ;; Don't make automatic backup of styles.xml file. This setting
-    ;; prevents the backedup styles.xml file from being zipped in to
+    ;; prevents the backed-up styles.xml file from being zipped in to
     ;; odt file. This is more of a hackish fix. Better alternative
     ;; odt file. This is more of a hackish fix. Better alternative
     ;; would be to fix the zip command so that the output odt file
     ;; would be to fix the zip command so that the output odt file
     ;; includes only the needed files and excludes any auto-generated
     ;; includes only the needed files and excludes any auto-generated
@@ -2228,7 +2228,7 @@ visually."
     (org-odt-configure-outline-numbering
     (org-odt-configure-outline-numbering
      (if org-export-with-section-numbers org-export-headline-levels 0)))
      (if org-export-with-section-numbers org-export-headline-levels 0)))
 
 
-  ;; Write custom stlyes for source blocks
+  ;; Write custom styles for source blocks
   (org-odt-insert-custom-styles-for-srcblocks
   (org-odt-insert-custom-styles-for-srcblocks
    (mapconcat
    (mapconcat
     (lambda (style)
     (lambda (style)
@@ -2479,7 +2479,7 @@ Do this when translation to MathML fails."
 ;; `org-export-preprocess-after-blockquote-hook'. Note that this hook
 ;; `org-export-preprocess-after-blockquote-hook'. Note that this hook
 ;; is the one that is closest and well before the call to
 ;; is the one that is closest and well before the call to
 ;; `org-export-attach-captions-and-attributes' in
 ;; `org-export-attach-captions-and-attributes' in
-;; `org-export-preprocess-stirng'.  The above arrangement permits
+;; `org-export-preprocess-string'.  The above arrangement permits
 ;; captions, labels and attributes to be attached to png images
 ;; captions, labels and attributes to be attached to png images
 ;; generated out of latex equations.
 ;; generated out of latex equations.
 (add-hook 'org-export-preprocess-after-blockquote-hook
 (add-hook 'org-export-preprocess-after-blockquote-hook

+ 2 - 2
lisp/org-protocol.el

@@ -145,8 +145,8 @@
 (defgroup org-protocol nil
 (defgroup org-protocol nil
   "Intercept calls from emacsclient to trigger custom actions.
   "Intercept calls from emacsclient to trigger custom actions.
 
 
-This is done by advising `server-visit-files' to scann the list of filenames
-for `org-protocol-the-protocol' and sub-procols defined in
+This is done by advising `server-visit-files' to scan the list of filenames
+for `org-protocol-the-protocol' and sub-protocols defined in
 `org-protocol-protocol-alist' and `org-protocol-protocol-alist-default'."
 `org-protocol-protocol-alist' and `org-protocol-protocol-alist-default'."
   :version "22.1"
   :version "22.1"
   :group 'convenience
   :group 'convenience

+ 2 - 2
lisp/org-publish.el

@@ -277,12 +277,12 @@ in the sitemap."
   :type 'string)
   :type 'string)
 
 
 (defcustom org-publish-sitemap-file-entry-format "%t"
 (defcustom org-publish-sitemap-file-entry-format "%t"
-  "How a sitemap file entry is formated.
+  "How a sitemap file entry is formatted.
 You could use brackets to delimit on what part the link will be.
 You could use brackets to delimit on what part the link will be.
 
 
 %t is the title.
 %t is the title.
 %a is the author.
 %a is the author.
-%d is the date formated using `org-publish-sitemap-date-format'."
+%d is the date formatted using `org-publish-sitemap-date-format'."
   :group 'org-publish
   :group 'org-publish
   :type 'string)
   :type 'string)
 
 

+ 4 - 4
lisp/org-table.el

@@ -50,7 +50,7 @@
 (defvar orgtbl-after-send-table-hook nil
 (defvar orgtbl-after-send-table-hook nil
   "Hook for functions attaching to `C-c C-c', if the table is sent.
   "Hook for functions attaching to `C-c C-c', if the table is sent.
 This can be used to add additional functionality after the table is sent
 This can be used to add additional functionality after the table is sent
-to the receiver position, othewise, if table is not sent, the functions
+to the receiver position, otherwise, if table is not sent, the functions
 are not run.")
 are not run.")
 
 
 (defcustom orgtbl-optimized (eq org-enable-table-editor 'optimized)
 (defcustom orgtbl-optimized (eq org-enable-table-editor 'optimized)
@@ -1299,7 +1299,7 @@ However, when FORCE is non-nil, create new columns if necessary."
 (defun org-table-line-to-dline (line &optional above)
 (defun org-table-line-to-dline (line &optional above)
   "Turn a buffer line number into a data line number.
   "Turn a buffer line number into a data line number.
 If there is no data line in this line, return nil.
 If there is no data line in this line, return nil.
-If there is no matchin dline (most likely te refrence was a hline), the
+If there is no matching dline (most likely te reference was a hline), the
 first dline below it is used.  When ABOVE is non-nil, the one above is used."
 first dline below it is used.  When ABOVE is non-nil, the one above is used."
   (catch 'exit
   (catch 'exit
     (let ((ll (length org-table-dlines))
     (let ((ll (length org-table-dlines))
@@ -2671,7 +2671,7 @@ in the buffer and column1 and column2 are table column numbers."
 	    (prog1 (org-trim (org-table-get-field c1))
 	    (prog1 (org-trim (org-table-get-field c1))
 	      (if highlight (org-table-highlight-rectangle (point) (point)))))
 	      (if highlight (org-table-highlight-rectangle (point) (point)))))
 	;; A range, return a vector
 	;; A range, return a vector
-	;; First sort the numbers to get a regular ractangle
+	;; First sort the numbers to get a regular rectangle
 	(if (< r2 r1) (setq tmp r1 r1 r2 r2 tmp))
 	(if (< r2 r1) (setq tmp r1 r1 r2 r2 tmp))
 	(if (< c2 c1) (setq tmp c1 c1 c2 c2 tmp))
 	(if (< c2 c1) (setq tmp c1 c1 c2 c2 tmp))
 	(if corners-only
 	(if corners-only
@@ -2931,7 +2931,7 @@ known that the table will be realigned a little later anyway."
 
 
 (defun org-table-iterate (&optional arg)
 (defun org-table-iterate (&optional arg)
   "Recalculate the table until it does not change anymore.
   "Recalculate the table until it does not change anymore.
-The maximun number of iterations is 10, but you can chose a different value
+The maximun number of iterations is 10, but you can choose a different value
 with the prefix ARG."
 with the prefix ARG."
   (interactive "P")
   (interactive "P")
   (let ((imax (if arg (prefix-numeric-value arg) 10))
   (let ((imax (if arg (prefix-numeric-value arg) 10))

+ 2 - 2
lisp/org-taskjuggler.el

@@ -69,7 +69,7 @@
 ;; "taskjuggler_project" (or whatever you customized
 ;; "taskjuggler_project" (or whatever you customized
 ;; `org-export-taskjuggler-project-tag' to). You are now ready to
 ;; `org-export-taskjuggler-project-tag' to). You are now ready to
 ;; export the project plan with `org-export-as-taskjuggler-and-open'
 ;; export the project plan with `org-export-as-taskjuggler-and-open'
-;; which will export the project plan and open a gant chart in
+;; which will export the project plan and open a Gantt chart in
 ;; TaskJugglerUI.
 ;; TaskJugglerUI.
 ;;
 ;;
 ;; * Resources
 ;; * Resources
@@ -572,7 +572,7 @@ with separator \"\n\"."
     (and filtered-items (mapconcat 'identity filtered-items "\n"))))
     (and filtered-items (mapconcat 'identity filtered-items "\n"))))
 
 
 (defun org-taskjuggler-get-attributes (item attributes)
 (defun org-taskjuggler-get-attributes (item attributes)
-  "Return all attribute as a single formated string. ITEM is an
+  "Return all attribute as a single formatted string. ITEM is an
 alist representing either a resource or a task. ATTRIBUTES is a
 alist representing either a resource or a task. ATTRIBUTES is a
 list of symbols. Only entries from ITEM are considered that are
 list of symbols. Only entries from ITEM are considered that are
 listed in ATTRIBUTES."
 listed in ATTRIBUTES."

+ 6 - 6
lisp/org.el

@@ -4718,7 +4718,7 @@ but the stars and the body are.")
 		    "\\(?: +" org-todo-regexp "\\)?"
 		    "\\(?: +" org-todo-regexp "\\)?"
 		    "\\(?: +\\(\\[#.\\]\\)\\)?"
 		    "\\(?: +\\(\\[#.\\]\\)\\)?"
 		    "\\(?: +"
 		    "\\(?: +"
-		    ;; Stats cookies can be sticked to body.
+		    ;; Stats cookies can be stuck to body.
 		    "\\(?:\\[[0-9%%/]+\\] *\\)?"
 		    "\\(?:\\[[0-9%%/]+\\] *\\)?"
 		    "\\(%s\\)"
 		    "\\(%s\\)"
 		    "\\(?: *\\[[0-9%%/]+\\]\\)?"
 		    "\\(?: *\\[[0-9%%/]+\\]\\)?"
@@ -5242,7 +5242,7 @@ The time stamps may be either active or inactive.")
 (defvar org-emph-face nil)
 (defvar org-emph-face nil)
 
 
 (defun org-do-emphasis-faces (limit)
 (defun org-do-emphasis-faces (limit)
-  "Run through the buffer and add overlays to emphasised strings."
+  "Run through the buffer and add overlays to emphasized strings."
   (let (rtn a)
   (let (rtn a)
     (while (and (not rtn) (re-search-forward org-emph-re limit t))
     (while (and (not rtn) (re-search-forward org-emph-re limit t))
       (if (not (= (char-after (match-beginning 3))
       (if (not (= (char-after (match-beginning 3))
@@ -5738,7 +5738,7 @@ Use `org-reduced-level' to remove the effect of `org-odd-levels'."
 
 
 (defvar org-font-lock-set-keywords-hook nil
 (defvar org-font-lock-set-keywords-hook nil
   "Functions that can manipulate `org-font-lock-extra-keywords'.
   "Functions that can manipulate `org-font-lock-extra-keywords'.
-This is calles after `org-font-lock-extra-keywords' is defined, but before
+This is called after `org-font-lock-extra-keywords' is defined, but before
 it is installed to be used by font lock.  This can be useful if something
 it is installed to be used by font lock.  This can be useful if something
 needs to be inserted at a specific position in the font-lock sequence.")
 needs to be inserted at a specific position in the font-lock sequence.")
 
 
@@ -5855,7 +5855,7 @@ needs to be inserted at a specific position in the font-lock sequence.")
   (org-set-local 'org-pretty-entities (not org-pretty-entities))
   (org-set-local 'org-pretty-entities (not org-pretty-entities))
   (org-restart-font-lock)
   (org-restart-font-lock)
   (if org-pretty-entities
   (if org-pretty-entities
-      (message "Entities are displayed as UTF8 characers")
+      (message "Entities are displayed as UTF8 characters")
     (save-restriction
     (save-restriction
       (widen)
       (widen)
       (org-decompose-region (point-min) (point-max))
       (org-decompose-region (point-min) (point-max))
@@ -11442,7 +11442,7 @@ changes.  Such blocking occurs when:
 		     (forward-line 1)
 		     (forward-line 1)
 		     (re-search-forward org-not-done-heading-regexp pos t))
 		     (re-search-forward org-not-done-heading-regexp pos t))
 	    (throw 'dont-block nil))  ; block, there is an older sibling not done.
 	    (throw 'dont-block nil))  ; block, there is an older sibling not done.
-	  ;; Search further up the hierarchy, to see if an anchestor is blocked
+	  ;; Search further up the hierarchy, to see if an ancestor is blocked
 	  (while t
 	  (while t
 	    (goto-char parent-pos)
 	    (goto-char parent-pos)
 	    (if (not (looking-at org-not-done-heading-regexp))
 	    (if (not (looking-at org-not-done-heading-regexp))
@@ -15124,7 +15124,7 @@ user."
       (setq ans (replace-match (format "%04d-%02d-%02d\\5" year month day)
       (setq ans (replace-match (format "%04d-%02d-%02d\\5" year month day)
 			       t nil ans)))
 			       t nil ans)))
 
 
-    ;; Help matching dottet european dates
+    ;; Help matching dotted european dates
     (when (string-match
     (when (string-match
 	   "^ *\\(3[01]\\|0?[1-9]\\|[12][0-9]\\)\\. ?\\(0?[1-9]\\|1[012]\\)\\. ?\\([1-9][0-9][0-9][0-9]\\)?" ans)
 	   "^ *\\(3[01]\\|0?[1-9]\\|[12][0-9]\\)\\. ?\\(0?[1-9]\\|1[012]\\)\\. ?\\([1-9][0-9][0-9][0-9]\\)?" ans)
       (setq year (if (match-end 3)
       (setq year (if (match-end 3)