Backport commit 20e9a00fb from Emacs

* lisp/org-table.el (org-table-sort-lines): Fix misspelling in prompt.
* lisp/ox-ascii.el (org-ascii--describe-datum): Fix misspelling in
call to org-element-lineage.

Spelling fixes
20e9a00fb5d12ad408f9dd15adcfcd205783c1b0
Paul Eggert
Thu Jul 6 00:24:56 2017 -0700
This commit is contained in:
Paul Eggert 2017-07-06 00:23:30 -07:00 committed by Kyle Meyer
parent 4abe197403
commit b7fdc30388
16 changed files with 39 additions and 38 deletions

View File

@ -1983,7 +1983,7 @@ you can use the usual commands to follow these links.
@item C-c ' @item C-c '
@item C-c ' @item C-c '
Edit the footnote definition corresponding to the reference at point in Edit the footnote definition corresponding to the reference at point in
a seperate window. The window can be closed by pressing @kbd{C-c '}. a separate window. The window can be closed by pressing @kbd{C-c '}.
@end table @end table
@ -5291,7 +5291,7 @@ or with a tree they need to be inserted into a special drawer
right below a headline, and its planning line (@pxref{Deadlines and right below a headline, and its planning line (@pxref{Deadlines and
scheduling}) when applicable. Each property is specified on a single line, scheduling}) when applicable. Each property is specified on a single line,
with the key (surrounded by colons) first, and the value after it. Keys are with the key (surrounded by colons) first, and the value after it. Keys are
case-insensitives. Here is an example: case-insensitive. Here is an example:
@example @example
* CD collection * CD collection
@ -6218,7 +6218,7 @@ format is shorter, things do work as expected.
@section Deadlines and scheduling @section Deadlines and scheduling
A timestamp may be preceded by special keywords to facilitate planning. Both A timestamp may be preceded by special keywords to facilitate planning. Both
the timestamp and the keyword have to be positioned immediatly after the task the timestamp and the keyword have to be positioned immediately after the task
they refer to. they refer to.
@table @var @table @var
@ -10011,7 +10011,7 @@ completions. If you need such a symbol inside a word, terminate it with
a pair of curly brackets. For example a pair of curly brackets. For example
@example @example
Protip: Given a circle \Gamma of diameter d, the length of its circumference Pro tip: Given a circle \Gamma of diameter d, the length of its circumference
is \pi@{@}d. is \pi@{@}d.
@end example @end example
@ -11395,7 +11395,7 @@ transcoding @LaTeX{} fragments to images (@pxref{Math formatting in HTML
export}). export}).
@item SUBTITLE @item SUBTITLE
@cindex #+SUBTILE (HTML) @cindex #+SUBTITLE (HTML)
The document's subtitle. HTML exporter formats subtitle if document type is The document's subtitle. HTML exporter formats subtitle if document type is
@samp{HTML5} and the CSS has a @samp{subtitle} class. @samp{HTML5} and the CSS has a @samp{subtitle} class.
@end table @end table
@ -11692,7 +11692,7 @@ buffer. For example, with the following settings,
@smallexample @smallexample
#+HTML_MATHJAX: align: left indent: 5em tagside: left font: Neo-Euler #+HTML_MATHJAX: align: left indent: 5em tagside: left font: Neo-Euler
@end smallexample @end smallexample
equation labels will be displayed on the left marign and equations will be equation labels will be displayed on the left margin and equations will be
five ems from the left margin. five ems from the left margin.
@noindent See the docstring of @noindent See the docstring of
@ -17774,7 +17774,7 @@ thes variable, @code{org-imenu-depth}.
@cindex Ludlam, Eric M. @cindex Ludlam, Eric M.
Speedbar package creates a special Emacs frame for displaying files and index Speedbar package creates a special Emacs frame for displaying files and index
items in files. Org mode supports Speedbar; users can drill into Org files items in files. Org mode supports Speedbar; users can drill into Org files
directly from the Speedbar. The @kbd{<} in the Speedbar frame tweeks the directly from the Speedbar. The @kbd{<} in the Speedbar frame tweaks the
agenda commands to that file or to a subtree. agenda commands to that file or to a subtree.
@cindex @file{table.el} @cindex @file{table.el}
@item @file{table.el} by Takaaki Ota @item @file{table.el} by Takaaki Ota
@ -18554,7 +18554,7 @@ meaningful string suitable for the agenda view.
@vindex org-agenda-skip-function @vindex org-agenda-skip-function
Search for entries with a limit set on levels for the custom search. This is Search for entries with a limit set on levels for the custom search. This is
a general appraoch to creating custom searches in Org. To include all a general approach to creating custom searches in Org. To include all
levels, use @samp{LEVEL>0}@footnote{Note that, for levels, use @samp{LEVEL>0}@footnote{Note that, for
@code{org-odd-levels-only}, a level number corresponds to order in the @code{org-odd-levels-only}, a level number corresponds to order in the
hierarchy, not to the number of stars.}. Then to selectively pick the hierarchy, not to the number of stars.}. Then to selectively pick the
@ -19211,7 +19211,7 @@ calculations and improved XEmacs compatibility, in particular by porting
@file{nouline.el} to XEmacs. @file{nouline.el} to XEmacs.
@item @item
@i{Sacha Chua} suggested copying some linking code from Planner, and helped @i{Sacha Chua} suggested copying some linking code from Planner, and helped
make Org pupular through her blog. make Org popular through her blog.
@item @item
@i{Toby S. Cubitt} contributed to the code for clock formats. @i{Toby S. Cubitt} contributed to the code for clock formats.
@item @item

View File

@ -20,7 +20,7 @@ above is suggested.
*** XEmacs support has been dropped *** XEmacs support has been dropped
Incomplete compatibility layer with XEmacs has been removed. If you Incomplete compatibility layer with XEmacs has been removed. If you
want to take over maintainance of this compatibility, please contact want to take over maintenance of this compatibility, please contact
our mailing list. our mailing list.
*** New syntax for export blocks *** New syntax for export blocks
@ -117,7 +117,7 @@ exists.
*** ~org-file-apps~ no longer accepts S-expressions as commands *** ~org-file-apps~ no longer accepts S-expressions as commands
The variable now accepts functions of two arguments instead of plain The variable now accepts functions of two arguments instead of plain
S-expressions. Replacing a S-expresion with an appropriate function S-expressions. Replacing an S-expression with an appropriate function
is straightforward. For example is straightforward. For example
: ("pdf" . (foo)) : ("pdf" . (foo))
@ -198,7 +198,7 @@ entries are added to last in the date tree.
*** New ~vbar~ entity *** New ~vbar~ entity
~\vbar~ or ~\vbar{}~ will be exported unconditionnally as a =|=, ~\vbar~ or ~\vbar{}~ will be exported unconditionally as a =|=,
unlike to existing ~\vert~, which is expanded as ~&vert;~ when using unlike to existing ~\vert~, which is expanded as ~&vert;~ when using
a HTML derived export back-end. a HTML derived export back-end.
@ -579,7 +579,7 @@ is that spaces are allowed within the path.
*** ~:preparation-function~ called earlier during publishing *** ~:preparation-function~ called earlier during publishing
Functions in this list are called before any file is associated to the Functions in this list are called before any file is associated to the
current projet. Thus, they can be used to generate to be published current project. Thus, they can be used to generate to be published
Org files. Org files.
*** Function ~org-remove-indentation~ changes. *** Function ~org-remove-indentation~ changes.
@ -986,7 +986,7 @@ a source block.
*** New option in ASCII export *** New option in ASCII export
Plain lists can have an extra margin by setting ~org-ascii-list-margin~ Plain lists can have an extra margin by setting ~org-ascii-list-margin~
variable to an appopriate integer. variable to an appropriate integer.
*** New blocks in ASCII export *** New blocks in ASCII export
@ -1022,7 +1022,7 @@ more features. See docstring for details.
*** New filter: ~org-export-filter-body-functions~ *** New filter: ~org-export-filter-body-functions~
Functions in this filter are applied on the body of the exported Functions in this filter are applied on the body of the exported
document, befor wrapping it within the template. document, before wrapping it within the template.
*** New :environment parameter when exporting example blocks to LaTeX *** New :environment parameter when exporting example blocks to LaTeX
@ -1087,7 +1087,7 @@ property is inherited by children.
*** Tables can be sorted with an arbitrary function *** Tables can be sorted with an arbitrary function
It is now possible to specify a function, both programatically, It is now possible to specify a function, both programmatically,
through a new optional argument, and interactively with ~f~ or ~F~ keys, through a new optional argument, and interactively with ~f~ or ~F~ keys,
to sort a table. to sort a table.

View File

@ -89,7 +89,7 @@ This function is called by `org-babel-execute-src-block'"
(org-babel-J-eval-string full-body))))) (org-babel-J-eval-string full-body)))))
(defun org-babel-J-eval-string (str) (defun org-babel-J-eval-string (str)
"Sends STR to the `j-console-cmd' session and exectues it." "Sends STR to the `j-console-cmd' session and executes it."
(let ((session (j-console-ensure-session))) (let ((session (j-console-ensure-session)))
(with-current-buffer (process-buffer session) (with-current-buffer (process-buffer session)
(goto-char (point-max)) (goto-char (point-max))

View File

@ -25,7 +25,7 @@
;;; Commentary: ;;; Commentary:
;;; Org-Babel support for using ebnf2ps to generate encapsulated postscript ;;; Org-Babel support for using ebnf2ps to generate encapsulated postscript
;;; railroad diagrams. It recogises these arguments: ;;; railroad diagrams. It recognizes these arguments:
;;; ;;;
;;; :file is required; it must include the extension '.eps.' All the rules ;;; :file is required; it must include the extension '.eps.' All the rules
;;; in the block will be drawn in the same file. This is done by ;;; in the block will be drawn in the same file. This is done by
@ -33,7 +33,7 @@
;;; documentation for ebnf-eps-buffer for more information). ;;; documentation for ebnf-eps-buffer for more information).
;;; ;;;
;;; :style specifies a value in ebnf-style-database. This provides the ;;; :style specifies a value in ebnf-style-database. This provides the
;;; ability to customise the output. The style can also specify the ;;; ability to customize the output. The style can also specify the
;;; grammar syntax (by setting ebnf-syntax); note that only ebnf, ;;; grammar syntax (by setting ebnf-syntax); note that only ebnf,
;;; iso-ebnf, and yacc are supported by this file. ;;; iso-ebnf, and yacc are supported by this file.

View File

@ -41,7 +41,7 @@
(defcustom org-export-babel-evaluate t (defcustom org-export-babel-evaluate t
"Switch controlling code evaluation during export. "Switch controlling code evaluation during export.
When set to nil no code will be evaluated as part of the export When set to nil no code will be evaluated as part of the export
process and no header argumentss will be obeyed. When set to process and no header arguments will be obeyed. When set to
`inline-only', only inline code blocks will be executed. Users `inline-only', only inline code blocks will be executed. Users
who wish to avoid evaluating code on export should use the header who wish to avoid evaluating code on export should use the header
argument `:eval never-export'." argument `:eval never-export'."

View File

@ -25,7 +25,7 @@
;; for session support, lua-mode is needed. ;; for session support, lua-mode is needed.
;; lua-mode is not part of GNU Emacs/orgmode, but can be obtained ;; lua-mode is not part of GNU Emacs/orgmode, but can be obtained
;; from marmalade or melpa. ;; from marmalade or melpa.
;; The source respository is here: ;; The source repository is here:
;; https://github.com/immerrr/lua-mode ;; https://github.com/immerrr/lua-mode
;; However, sessions are not yet working. ;; However, sessions are not yet working.

View File

@ -105,7 +105,7 @@ Pass nil to omit that arg."
(format "%s/%s@%s:%s/%s" user password host port database)) (format "%s/%s@%s:%s/%s" user password host port database))
(defun org-babel-sql-dbstring-mssql (host user password database) (defun org-babel-sql-dbstring-mssql (host user password database)
"Make sqlcmd commmand line args for database connection. "Make sqlcmd command line args for database connection.
`sqlcmd' is the preferred command line tool to access Microsoft `sqlcmd' is the preferred command line tool to access Microsoft
SQL Server on Windows and Linux platform." SQL Server on Windows and Linux platform."
(mapconcat #'identity (mapconcat #'identity

View File

@ -105,7 +105,7 @@
(declare-function bbdb-name "ext:bbdb-com" (string elidep)) (declare-function bbdb-name "ext:bbdb-com" (string elidep))
(declare-function bbdb-completing-read-record "ext:bbdb-com" (declare-function bbdb-completing-read-record "ext:bbdb-com"
(prompt &optional omit-records)) (prompt &optional omit-records))
(declare-function bbdb-record-field "ext:bbdb" (recond field)) (declare-function bbdb-record-field "ext:bbdb" (record field))
(declare-function bbdb-record-getprop "ext:bbdb" (record property)) (declare-function bbdb-record-getprop "ext:bbdb" (record property))
(declare-function bbdb-record-name "ext:bbdb" (record)) (declare-function bbdb-record-name "ext:bbdb" (record))
(declare-function bbdb-records "ext:bbdb" (declare-function bbdb-records "ext:bbdb"

View File

@ -290,8 +290,8 @@ is non-nil."
(defcustom org-bibtex-inherit-tags nil (defcustom org-bibtex-inherit-tags nil
"Controls whether inherited tags are converted to bibtex keywords. "Controls whether inherited tags are converted to bibtex keywords.
It is relevant only if `org-bibtex-tags-are-keywords' is non-nil. It is relevant only if `org-bibtex-tags-are-keywords' is non-nil.
Tag inheritence itself is controlled by `org-use-tag-inheritence' Tag inheritance itself is controlled by `org-use-tag-inheritance'
and `org-exclude-tags-from-inheritence'." and `org-exclude-tags-from-inheritance'."
:group 'org-bibtex :group 'org-bibtex
:version "26.1" :version "26.1"
:package-version '(Org . "8.3") :package-version '(Org . "8.3")

View File

@ -345,7 +345,7 @@ to rename."
(t nil))) (t nil)))
(defun org-footnote--collect-references (&optional anonymous) (defun org-footnote--collect-references (&optional anonymous)
"Collect all labelled footnote references in current buffer. "Collect all labeled footnote references in current buffer.
Return an alist where associations follow the pattern Return an alist where associations follow the pattern

View File

@ -1751,7 +1751,7 @@ function is being called interactively."
(or compare-func (or compare-func
(and interactive? (and interactive?
(org-read-function (org-read-function
(concat "Fuction for comparing keys " (concat "Function for comparing keys "
"(empty for default `sort-subr' predicate): ") "(empty for default `sort-subr' predicate): ")
'allow-empty))))))) 'allow-empty)))))))
(goto-char (point-min)) (goto-char (point-min))

View File

@ -143,7 +143,7 @@ the region 0:00:00."
(seconds-to-time (seconds-to-time
;; Pass `current-time' result to `float-time' (instead ;; Pass `current-time' result to `float-time' (instead
;; of calling without arguments) so that only ;; of calling without arguments) so that only
;; `current-time' has to be overriden in tests. ;; `current-time' has to be overridden in tests.
(- (float-time (current-time)) delta)))) (- (float-time (current-time)) delta))))
(setq org-timer-pause-time nil) (setq org-timer-pause-time nil)
(org-timer-set-mode-line 'on) (org-timer-set-mode-line 'on)
@ -172,7 +172,7 @@ With prefix arg STOP, stop it entirely."
(setq org-timer-start-time (setq org-timer-start-time
;; Pass `current-time' result to `float-time' (instead ;; Pass `current-time' result to `float-time' (instead
;; of calling without arguments) so that only ;; of calling without arguments) so that only
;; `current-time' has to be overriden in tests. ;; `current-time' has to be overridden in tests.
(seconds-to-time (- (float-time (current-time)) (seconds-to-time (- (float-time (current-time))
(- pause-secs start-secs))))) (- pause-secs start-secs)))))
(setq org-timer-pause-time nil) (setq org-timer-pause-time nil)
@ -235,7 +235,7 @@ it in the buffer."
(defun org-timer-seconds () (defun org-timer-seconds ()
;; Pass `current-time' result to `float-time' (instead of calling ;; Pass `current-time' result to `float-time' (instead of calling
;; without arguments) so that only `current-time' has to be ;; without arguments) so that only `current-time' has to be
;; overriden in tests. ;; overridden in tests.
(if org-timer-countdown-timer (if org-timer-countdown-timer
(- (float-time org-timer-start-time) (- (float-time org-timer-start-time)
(float-time (or org-timer-pause-time (current-time)))) (float-time (or org-timer-pause-time (current-time))))

View File

@ -4132,7 +4132,7 @@ PROPERTIES accepts the following attributes:
:image-output-type string, output file type of image converter (e.g., \"png\"). :image-output-type string, output file type of image converter (e.g., \"png\").
:use-xcolor boolean, when non-nil, LaTeX \"xcolor\" macro is used to :use-xcolor boolean, when non-nil, LaTeX \"xcolor\" macro is used to
deal with background and foreground color of image. deal with background and foreground color of image.
Otherwise, dvipng style background and foregroud color Otherwise, dvipng style background and foreground color
format are generated. You may then refer to them in format are generated. You may then refer to them in
command options with \"%F\" and \"%B\". command options with \"%F\" and \"%B\".
:image-size-adjust cons of numbers, the car element is used to adjust LaTeX :image-size-adjust cons of numbers, the car element is used to adjust LaTeX
@ -17104,7 +17104,7 @@ user."
;; FIXME: cleanup and comment ;; FIXME: cleanup and comment
;; Pass `current-time' result to `decode-time' (instead of calling ;; Pass `current-time' result to `decode-time' (instead of calling
;; without arguments) so that only `current-time' has to be ;; without arguments) so that only `current-time' has to be
;; overriden in tests. ;; overridden in tests.
(let ((org-def def) (let ((org-def def)
(org-defdecode defdecode) (org-defdecode defdecode)
(nowdecode (decode-time (current-time))) (nowdecode (decode-time (current-time)))
@ -17286,7 +17286,7 @@ user."
(unless deltadef (unless deltadef
;; Pass `current-time' result to `decode-time' (instead of ;; Pass `current-time' result to `decode-time' (instead of
;; calling without arguments) so that only `current-time' has ;; calling without arguments) so that only `current-time' has
;; to be overriden in tests. ;; to be overridden in tests.
(let ((now (decode-time (current-time)))) (let ((now (decode-time (current-time))))
(setq day (nth 3 now) month (nth 4 now) year (nth 5 now)))) (setq day (nth 3 now) month (nth 4 now) year (nth 5 now))))
(cond ((member deltaw '("d" "")) (setq day (+ day deltan))) (cond ((member deltaw '("d" "")) (setq day (+ day deltan)))
@ -17741,7 +17741,7 @@ BUFFER.
Diary sexp timestamps are matched against DAYNR, when non-nil. Diary sexp timestamps are matched against DAYNR, when non-nil.
If matching fails or DAYNR is nil, `org-diary-sexp-no-match' is If matching fails or DAYNR is nil, `org-diary-sexp-no-match' is
signalled." signaled."
(cond (cond
((string-match "\\`%%\\((.*)\\)" s) ((string-match "\\`%%\\((.*)\\)" s)
;; Sexp timestamp: try to match DAYNR, if available, since we're ;; Sexp timestamp: try to match DAYNR, if available, since we're

View File

@ -916,7 +916,8 @@ as a plist."
;; If destination is a target, make sure we can name the ;; If destination is a target, make sure we can name the
;; container it refers to. ;; container it refers to.
(enumerable (enumerable
(org-element-lineage datum '(headline paragrah src-block table) t))) (org-element-lineage datum
'(headline paragraph src-block table) t)))
(pcase (org-element-type enumerable) (pcase (org-element-type enumerable)
(`headline (`headline
(format (org-ascii--translate "See section %s" info) (format (org-ascii--translate "See section %s" info)
@ -1752,7 +1753,7 @@ contextual information."
"Transcode a SPECIAL-BLOCK element from Org to ASCII. "Transcode a SPECIAL-BLOCK element from Org to ASCII.
CONTENTS holds the contents of the block. INFO is a plist CONTENTS holds the contents of the block. INFO is a plist
holding contextual information." holding contextual information."
;; "JUSTIFYLEFT" and "JUSTFYRIGHT" have already been taken care of ;; "JUSTIFYLEFT" and "JUSTIFYRIGHT" have already been taken care of
;; at a lower level. There is no other special block type to ;; at a lower level. There is no other special block type to
;; handle. ;; handle.
contents) contents)

View File

@ -1014,7 +1014,7 @@ information."
(defun org-man-timestamp (_timestamp _contents _info) (defun org-man-timestamp (_timestamp _contents _info)
"Transcode a TIMESTAMP object from Org to Man. "Transcode a TIMESTAMP object from Org to Man.
ONTENTS is nil. INFO is a plist holding contextual information." CONTENTS is nil. INFO is a plist holding contextual information."
"") "")

View File

@ -1107,7 +1107,7 @@ publishing directory."
(defun org-publish--store-crossrefs (output _backend info) (defun org-publish--store-crossrefs (output _backend info)
"Store cross-references for current published file. "Store cross-references for current published file.
OUPUT is the produced output, as a string. BACKEND is the export OUTPUT is the produced output, as a string. BACKEND is the export
back-end used, as a symbol. INFO is the final export state, as back-end used, as a symbol. INFO is the final export state, as
a plist. a plist.