aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle Meyer2024-02-17 10:17:41 -0500
committerKyle Meyer2024-02-17 10:17:41 -0500
commit07a392f445eb21c5e4681027eee9d981300a4309 (patch)
tree25a3269ab8478717d79b36d16d5b80d4a4739e87
parent45f9af61b8ecbe500de915f63de53e9c598184b9 (diff)
downloademacs-07a392f445eb21c5e4681027eee9d981300a4309.tar.gz
emacs-07a392f445eb21c5e4681027eee9d981300a4309.zip
Update to Org 9.6.19
-rw-r--r--doc/misc/org.org22
-rw-r--r--etc/refcards/orgcard.tex2
-rw-r--r--lisp/org/ol-man.el14
-rw-r--r--lisp/org/ol.el5
-rw-r--r--lisp/org/org-compat.el2
-rw-r--r--lisp/org/org-id.el12
-rw-r--r--lisp/org/org-lint.el7
-rw-r--r--lisp/org/org-table.el8
-rw-r--r--lisp/org/org-tempo.el2
-rw-r--r--lisp/org/org-version.el4
-rw-r--r--lisp/org/org.el10
-rw-r--r--lisp/org/ox-latex.el5
-rw-r--r--lisp/org/ox-odt.el5
-rw-r--r--lisp/org/ox.el9
14 files changed, 58 insertions, 49 deletions
diff --git a/doc/misc/org.org b/doc/misc/org.org
index 9535eccc1e6..441985c905f 100644
--- a/doc/misc/org.org
+++ b/doc/misc/org.org
@@ -16712,6 +16712,7 @@ to HTML, the following links all point to a dedicated anchor in
16712:END: 16712:END:
16713#+cindex: sitemap, of published pages 16713#+cindex: sitemap, of published pages
16714 16714
16715#+vindex: org-publish-project-alist
16715The following properties may be used to control publishing of 16716The following properties may be used to control publishing of
16716a map of files for a given project. 16717a map of files for a given project.
16717 16718
@@ -16729,6 +16730,12 @@ a map of files for a given project.
16729 16730
16730 Title of sitemap page. Defaults to name of file. 16731 Title of sitemap page. Defaults to name of file.
16731 16732
16733- ~:sitemap-style~ ::
16734
16735 Can be ~list~ (site-map is just an itemized list of the titles of
16736 the files involved) or ~tree~ (the directory structure of the
16737 source files is reflected in the site-map). Defaults to ~tree~.
16738
16732- ~:sitemap-format-entry~ :: 16739- ~:sitemap-format-entry~ ::
16733 16740
16734 #+findex: org-publish-find-date 16741 #+findex: org-publish-find-date
@@ -16774,21 +16781,6 @@ a map of files for a given project.
16774 16781
16775 Should sorting be case-sensitive? Default ~nil~. 16782 Should sorting be case-sensitive? Default ~nil~.
16776 16783
16777- ~:sitemap-file-entry-format~ ::
16778
16779 With this option one can tell how a sitemap's entry is formatted in
16780 the sitemap. This is a format string with some escape sequences:
16781 ~%t~ stands for the title of the file, ~%a~ stands for the author of
16782 the file and ~%d~ stands for the date of the file. The date is
16783 retrieved with the ~org-publish-find-date~ function and formatted
16784 with ~org-publish-sitemap-date-format~. Default ~%t~.
16785
16786- ~:sitemap-date-format~ ::
16787
16788 Format string for the ~format-time-string~ function that tells how
16789 a sitemap entry's date is to be formatted. This property bypasses
16790 ~org-publish-sitemap-date-format~ which defaults to ~%Y-%m-%d~.
16791
16792*** Generating an index 16784*** Generating an index
16793:PROPERTIES: 16785:PROPERTIES:
16794:DESCRIPTION: An index that reaches across pages. 16786:DESCRIPTION: An index that reaches across pages.
diff --git a/etc/refcards/orgcard.tex b/etc/refcards/orgcard.tex
index 705ab62d69d..e1d40d8632f 100644
--- a/etc/refcards/orgcard.tex
+++ b/etc/refcards/orgcard.tex
@@ -1,5 +1,5 @@
1% Reference Card for Org Mode 1% Reference Card for Org Mode
2\def\orgversionnumber{9.6.15} 2\def\orgversionnumber{9.6.19}
3\def\versionyear{2023} % latest update 3\def\versionyear{2023} % latest update
4\input emacsver.tex 4\input emacsver.tex
5 5
diff --git a/lisp/org/ol-man.el b/lisp/org/ol-man.el
index b6cada1b3c3..d3d7db04700 100644
--- a/lisp/org/ol-man.el
+++ b/lisp/org/ol-man.el
@@ -39,13 +39,27 @@
39 :group 'org-link 39 :group 'org-link
40 :type '(choice (const man) (const woman))) 40 :type '(choice (const man) (const woman)))
41 41
42(declare-function Man-translate-references "man" (ref))
42(defun org-man-open (path _) 43(defun org-man-open (path _)
43 "Visit the manpage on PATH. 44 "Visit the manpage on PATH.
44PATH should be a topic that can be thrown at the man command. 45PATH should be a topic that can be thrown at the man command.
45If PATH contains extra ::STRING which will use `occur' to search 46If PATH contains extra ::STRING which will use `occur' to search
46matched strings in man buffer." 47matched strings in man buffer."
48 (require 'man) ; For `Man-translate-references'
47 (string-match "\\(.*?\\)\\(?:::\\(.*\\)\\)?$" path) 49 (string-match "\\(.*?\\)\\(?:::\\(.*\\)\\)?$" path)
48 (let* ((command (match-string 1 path)) 50 (let* ((command (match-string 1 path))
51 ;; FIXME: Remove after we drop Emacs 29 support.
52 ;; Working around security bug #66390.
53 (command (if (not (equal (Man-translate-references ";id") ";id"))
54 ;; We are on Emacs that escapes man command args
55 ;; (see Emacs commit 820f0793f0b).
56 command
57 ;; Older Emacs without the fix - escape the
58 ;; arguments ourselves.
59 (mapconcat 'identity
60 (mapcar #'shell-quote-argument
61 (split-string command "\\s-+"))
62 " ")))
49 (search (match-string 2 path)) 63 (search (match-string 2 path))
50 (buffer (funcall org-man-command command))) 64 (buffer (funcall org-man-command command)))
51 (when search 65 (when search
diff --git a/lisp/org/ol.el b/lisp/org/ol.el
index 4c84e62f4c9..c3b03087842 100644
--- a/lisp/org/ol.el
+++ b/lisp/org/ol.el
@@ -291,10 +291,7 @@ or emacs-wiki packages to Org syntax.
291The function must accept two parameters, a TYPE containing the link 291The function must accept two parameters, a TYPE containing the link
292protocol name like \"rmail\" or \"gnus\" as a string, and the linked path, 292protocol name like \"rmail\" or \"gnus\" as a string, and the linked path,
293which is everything after the link protocol. It should return a cons 293which is everything after the link protocol. It should return a cons
294with possibly modified values of type and path. 294with possibly modified values of type and path."
295Org contains a function for this, so if you set this variable to
296`org-translate-link-from-planner', you should be able follow many
297links created by planner."
298 :group 'org-link-follow 295 :group 'org-link-follow
299 :type '(choice (const nil) (function)) 296 :type '(choice (const nil) (function))
300 :safe #'null) 297 :safe #'null)
diff --git a/lisp/org/org-compat.el b/lisp/org/org-compat.el
index 33a510cd7f2..c17a100d3c1 100644
--- a/lisp/org/org-compat.el
+++ b/lisp/org/org-compat.el
@@ -664,7 +664,7 @@ You could use brackets to delimit on what part the link will be.
664 664
665%t is the title. 665%t is the title.
666%a is the author. 666%a is the author.
667%d is the date formatted using `org-publish-sitemap-date-format'." 667%d is the date."
668 :group 'org-export-publish 668 :group 'org-export-publish
669 :type 'string) 669 :type 'string)
670(make-obsolete-variable 670(make-obsolete-variable
diff --git a/lisp/org/org-id.el b/lisp/org/org-id.el
index 9561f2de184..fe7d5f4c1a5 100644
--- a/lisp/org/org-id.el
+++ b/lisp/org/org-id.el
@@ -29,13 +29,13 @@
29;; are provided that create and retrieve such identifiers, and that find 29;; are provided that create and retrieve such identifiers, and that find
30;; entries based on the identifier. 30;; entries based on the identifier.
31 31
32;; Identifiers consist of a prefix (default "Org" given by the variable 32;; Identifiers consist of a prefix (given by the variable
33;; `org-id-prefix') and a unique part that can be created by a number 33;; `org-id-prefix') and a unique part that can be created by a number
34;; of different methods, see the variable `org-id-method'. 34;; of different methods, see the variable `org-id-method'. Org has a
35;; Org has a builtin method that uses a compact encoding of the creation 35;; builtin method that uses a compact encoding of the creation time of
36;; time of the ID, with microsecond accuracy. This virtually 36;; the ID, with microsecond accuracy. This virtually guarantees
37;; guarantees globally unique identifiers, even if several people are 37;; globally unique identifiers, even if several people are creating
38;; creating IDs at the same time in files that will eventually be used 38;; IDs at the same time in files that will eventually be used
39;; together. 39;; together.
40;; 40;;
41;; By default Org uses UUIDs as global unique identifiers. 41;; By default Org uses UUIDs as global unique identifiers.
diff --git a/lisp/org/org-lint.el b/lisp/org/org-lint.el
index dc12ec272fa..a503de7d364 100644
--- a/lisp/org/org-lint.el
+++ b/lisp/org/org-lint.el
@@ -1209,8 +1209,11 @@ Use \"export %s\" instead"
1209 (`(,(and (pred symbolp) name) 1209 (`(,(and (pred symbolp) name)
1210 ,(pred string-or-null-p) 1210 ,(pred string-or-null-p)
1211 ,(pred string-or-null-p)) 1211 ,(pred string-or-null-p))
1212 (unless (org-cite-get-processor name) 1212 (unless (or (org-cite-get-processor name)
1213 (list source "Unknown cite export processor %S" name))) 1213 (progn
1214 (org-cite-try-load-processor name)
1215 (org-cite-get-processor name)))
1216 (list source (format "Unknown cite export processor %S" name))))
1214 (_ 1217 (_
1215 (list source "Invalid cite export processor declaration"))) 1218 (list source "Invalid cite export processor declaration")))
1216 (error 1219 (error
diff --git a/lisp/org/org-table.el b/lisp/org/org-table.el
index 6408f48ccbd..92490f9f6bf 100644
--- a/lisp/org/org-table.el
+++ b/lisp/org/org-table.el
@@ -1922,8 +1922,8 @@ However, when N is 0, do not increment the field at all."
1922 (let ((org-table-may-need-update nil)) (org-table-next-row)) 1922 (let ((org-table-may-need-update nil)) (org-table-next-row))
1923 (org-table-blank-field)) 1923 (org-table-blank-field))
1924 ;; Insert the new field. NEW-FIELD may be nil if 1924 ;; Insert the new field. NEW-FIELD may be nil if
1925 ;; `org-table-increment' is nil, or N = 0. In that case, copy 1925 ;; `org-table-copy-increment' is nil, or N = 0. In that case,
1926 ;; FIELD. 1926 ;; copy FIELD.
1927 (insert (or next-field field)) 1927 (insert (or next-field field))
1928 (org-table-maybe-recalculate-line) 1928 (org-table-maybe-recalculate-line)
1929 (org-table-align))) 1929 (org-table-align)))
@@ -4084,8 +4084,8 @@ already hidden."
4084 "Read column selection select as a list of numbers. 4084 "Read column selection select as a list of numbers.
4085 4085
4086SELECT is a string containing column ranges, separated by white 4086SELECT is a string containing column ranges, separated by white
4087space characters, see `org-table-hide-column' for details. MAX 4087space characters, see `org-table-toggle-column-width' for details.
4088is the maximum column number. 4088MAX is the maximum column number.
4089 4089
4090Return value is a sorted list of numbers. Ignore any number 4090Return value is a sorted list of numbers. Ignore any number
4091outside of the [1;MAX] range." 4091outside of the [1;MAX] range."
diff --git a/lisp/org/org-tempo.el b/lisp/org/org-tempo.el
index 44b04a9f4be..afa69867f2a 100644
--- a/lisp/org/org-tempo.el
+++ b/lisp/org/org-tempo.el
@@ -24,7 +24,7 @@
24;;; Commentary: 24;;; Commentary:
25;; 25;;
26;; Org Tempo reimplements completions of structure template before 26;; Org Tempo reimplements completions of structure template before
27;; point like `org-try-structure-completion' in Org v9.1 and earlier. 27;; point in Org v9.1 and earlier.
28;; For example, strings like "<e" at the beginning of the line will be 28;; For example, strings like "<e" at the beginning of the line will be
29;; expanded to an example block. 29;; expanded to an example block.
30;; 30;;
diff --git a/lisp/org/org-version.el b/lisp/org/org-version.el
index b41756ac53e..06af985ffb9 100644
--- a/lisp/org/org-version.el
+++ b/lisp/org/org-version.el
@@ -5,13 +5,13 @@
5(defun org-release () 5(defun org-release ()
6 "The release version of Org. 6 "The release version of Org.
7Inserted by installing Org mode or when a release is made." 7Inserted by installing Org mode or when a release is made."
8 (let ((org-release "9.6.15")) 8 (let ((org-release "9.6.19"))
9 org-release)) 9 org-release))
10;;;###autoload 10;;;###autoload
11(defun org-git-version () 11(defun org-git-version ()
12 "The Git version of Org mode. 12 "The Git version of Org mode.
13Inserted by installing Org or when a release is made." 13Inserted by installing Org or when a release is made."
14 (let ((org-git-version "release_9.6.15")) 14 (let ((org-git-version "release_9.6.19"))
15 org-git-version)) 15 org-git-version))
16 16
17(provide 'org-version) 17(provide 'org-version)
diff --git a/lisp/org/org.el b/lisp/org/org.el
index 3075729d01d..231ed094b36 100644
--- a/lisp/org/org.el
+++ b/lisp/org/org.el
@@ -9,7 +9,7 @@
9;; URL: https://orgmode.org 9;; URL: https://orgmode.org
10;; Package-Requires: ((emacs "26.1")) 10;; Package-Requires: ((emacs "26.1"))
11 11
12;; Version: 9.6.15 12;; Version: 9.6.19
13 13
14;; This file is part of GNU Emacs. 14;; This file is part of GNU Emacs.
15;; 15;;
@@ -4685,7 +4685,7 @@ returns non-nil if any of them match."
4685 (if (and (= char ?f) current-file) 4685 (if (and (= char ?f) current-file)
4686 (concat "file://" current-file) uri)) 4686 (concat "file://" current-file) uri))
4687 "\\'"))))) 4687 "\\'")))))
4688 (prog1 (memq char '(?y ?n ?! ?d ?\s ?f)) 4688 (prog1 (memq char '(?y ?! ?d ?\s ?f))
4689 (quit-window t))))))) 4689 (quit-window t)))))))
4690 4690
4691(defun org-extract-log-state-settings (x) 4691(defun org-extract-log-state-settings (x)
@@ -5524,7 +5524,9 @@ by a #."
5524 5524
5525(defun org-fontify-extend-region (beg end _old-len) 5525(defun org-fontify-extend-region (beg end _old-len)
5526 (let ((end (if (progn (goto-char end) (looking-at-p "^[*#]")) 5526 (let ((end (if (progn (goto-char end) (looking-at-p "^[*#]"))
5527 (1+ end) end)) 5527 (min (point-max) (1+ end))
5528 ;; See `font-lock-extend-jit-lock-region-after-change' and bug#68849.
5529 (min (point-max) (1+ end))))
5528 (begin-re "\\(\\\\\\[\\|\\(#\\+begin_\\|\\\\begin{\\)\\S-+\\)") 5530 (begin-re "\\(\\\\\\[\\|\\(#\\+begin_\\|\\\\begin{\\)\\S-+\\)")
5529 (end-re "\\(\\\\\\]\\|\\(#\\+end_\\|\\\\end{\\)\\S-+\\)") 5531 (end-re "\\(\\\\\\]\\|\\(#\\+end_\\|\\\\end{\\)\\S-+\\)")
5530 (extend 5532 (extend
@@ -9335,7 +9337,7 @@ When called through ELisp, arg is also interpreted in the following way:
9335 (unless (org-invisible-p (line-beginning-position)) 9337 (unless (org-invisible-p (line-beginning-position))
9336 (org-fold-region (line-beginning-position) 9338 (org-fold-region (line-beginning-position)
9337 (line-end-position) 9339 (line-end-position)
9338 nil))) 9340 nil 'outline)))
9339 (cond ((and org-state (equal this org-state)) 9341 (cond ((and org-state (equal this org-state))
9340 (message "TODO state was already %s" (org-trim next))) 9342 (message "TODO state was already %s" (org-trim next)))
9341 ((not (pos-visible-in-window-p hl-pos)) 9343 ((not (pos-visible-in-window-p hl-pos))
diff --git a/lisp/org/ox-latex.el b/lisp/org/ox-latex.el
index c83728a8f09..7b5308b5bf0 100644
--- a/lisp/org/ox-latex.el
+++ b/lisp/org/ox-latex.el
@@ -600,8 +600,9 @@ which is replaced with the subtitle."
600 600
601(defcustom org-latex-toc-command "\\tableofcontents\n\n" 601(defcustom org-latex-toc-command "\\tableofcontents\n\n"
602 "LaTeX command to set the table of contents, list of figures, etc. 602 "LaTeX command to set the table of contents, list of figures, etc.
603This command only applies to the table of contents generated with 603This command only applies to the table of contents generated with the
604the toc:nil option, not to those generated with #+TOC keyword." 604toc:t, toc:1, toc:2, toc:3, ... options, not to those generated with
605the #+TOC keyword."
605 :group 'org-export-latex 606 :group 'org-export-latex
606 :type 'string) 607 :type 'string)
607 608
diff --git a/lisp/org/ox-odt.el b/lisp/org/ox-odt.el
index 2c70d1dea27..0b455d61b14 100644
--- a/lisp/org/ox-odt.el
+++ b/lisp/org/ox-odt.el
@@ -3254,8 +3254,9 @@ Return a cons of (TABLE-CELL-STYLE-NAME . PARAGRAPH-STYLE-NAME).
3254 3254
3255When STYLE-SPEC is nil, style the table cell the conventional way 3255When STYLE-SPEC is nil, style the table cell the conventional way
3256- choose cell borders based on row and column groupings and 3256- choose cell borders based on row and column groupings and
3257choose paragraph alignment based on `org-col-cookies' text 3257choose paragraph alignment based on table alignment cookies (see info
3258property. See also `org-odt-table-style-spec'. 3258node `(org)Column Width and Alignment'). See also
3259`org-odt-table-style-spec'.
3259 3260
3260When STYLE-SPEC is non-nil, ignore the above cookie and return 3261When STYLE-SPEC is non-nil, ignore the above cookie and return
3261styles congruent with the ODF-1.2 specification." 3262styles congruent with the ODF-1.2 specification."
diff --git a/lisp/org/ox.el b/lisp/org/ox.el
index b8050bcda5c..5a02b073c1a 100644
--- a/lisp/org/ox.el
+++ b/lisp/org/ox.el
@@ -1626,11 +1626,10 @@ BLOB is the element or object considered."
1626;; `org-export--collect-tree-properties'. 1626;; `org-export--collect-tree-properties'.
1627;; 1627;;
1628;; Dedicated functions focus on computing the value of specific tree 1628;; Dedicated functions focus on computing the value of specific tree
1629;; properties during initialization. Thus, 1629;; properties during initialization. Thus, `org-export--prune-tree'
1630;; `org-export--populate-ignore-list' lists elements and objects that 1630;; lists elements and objects that should be skipped during export,
1631;; should be skipped during export, `org-export--get-min-level' gets 1631;; `org-export--get-min-level' gets the minimal exportable level, used
1632;; the minimal exportable level, used as a basis to compute relative 1632;; as a basis to compute relative level for headlines. Eventually
1633;; level for headlines. Eventually
1634;; `org-export--collect-headline-numbering' builds an alist between 1633;; `org-export--collect-headline-numbering' builds an alist between
1635;; headlines and their numbering. 1634;; headlines and their numbering.
1636 1635