diff options
| author | Eli Zaretskii | 2024-02-17 18:53:05 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2024-02-17 18:53:05 +0200 |
| commit | 65ba3274652a4dac37f41f872330e391cd511ae1 (patch) | |
| tree | 6691056b6f68d493d3b4d9f6926a8ba85d4bd3c3 | |
| parent | 07a392f445eb21c5e4681027eee9d981300a4309 (diff) | |
| download | emacs-65ba3274652a4dac37f41f872330e391cd511ae1.tar.gz emacs-65ba3274652a4dac37f41f872330e391cd511ae1.zip | |
Revert "Update to Org 9.6.19"
This reverts commit 07a392f445eb21c5e4681027eee9d981300a4309.
It was installed by mistake.
| -rw-r--r-- | doc/misc/org.org | 22 | ||||
| -rw-r--r-- | etc/refcards/orgcard.tex | 2 | ||||
| -rw-r--r-- | lisp/org/ol-man.el | 14 | ||||
| -rw-r--r-- | lisp/org/ol.el | 5 | ||||
| -rw-r--r-- | lisp/org/org-compat.el | 2 | ||||
| -rw-r--r-- | lisp/org/org-id.el | 12 | ||||
| -rw-r--r-- | lisp/org/org-lint.el | 7 | ||||
| -rw-r--r-- | lisp/org/org-table.el | 8 | ||||
| -rw-r--r-- | lisp/org/org-tempo.el | 2 | ||||
| -rw-r--r-- | lisp/org/org-version.el | 4 | ||||
| -rw-r--r-- | lisp/org/org.el | 10 | ||||
| -rw-r--r-- | lisp/org/ox-latex.el | 5 | ||||
| -rw-r--r-- | lisp/org/ox-odt.el | 5 | ||||
| -rw-r--r-- | lisp/org/ox.el | 9 |
14 files changed, 49 insertions, 58 deletions
diff --git a/doc/misc/org.org b/doc/misc/org.org index 441985c905f..9535eccc1e6 100644 --- a/doc/misc/org.org +++ b/doc/misc/org.org | |||
| @@ -16712,7 +16712,6 @@ 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 | ||
| 16716 | The following properties may be used to control publishing of | 16715 | The following properties may be used to control publishing of |
| 16717 | a map of files for a given project. | 16716 | a map of files for a given project. |
| 16718 | 16717 | ||
| @@ -16730,12 +16729,6 @@ a map of files for a given project. | |||
| 16730 | 16729 | ||
| 16731 | Title of sitemap page. Defaults to name of file. | 16730 | Title of sitemap page. Defaults to name of file. |
| 16732 | 16731 | ||
| 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 | |||
| 16739 | - ~:sitemap-format-entry~ :: | 16732 | - ~:sitemap-format-entry~ :: |
| 16740 | 16733 | ||
| 16741 | #+findex: org-publish-find-date | 16734 | #+findex: org-publish-find-date |
| @@ -16781,6 +16774,21 @@ a map of files for a given project. | |||
| 16781 | 16774 | ||
| 16782 | Should sorting be case-sensitive? Default ~nil~. | 16775 | Should sorting be case-sensitive? Default ~nil~. |
| 16783 | 16776 | ||
| 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 | |||
| 16784 | *** Generating an index | 16792 | *** Generating an index |
| 16785 | :PROPERTIES: | 16793 | :PROPERTIES: |
| 16786 | :DESCRIPTION: An index that reaches across pages. | 16794 | :DESCRIPTION: An index that reaches across pages. |
diff --git a/etc/refcards/orgcard.tex b/etc/refcards/orgcard.tex index e1d40d8632f..705ab62d69d 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.19} | 2 | \def\orgversionnumber{9.6.15} |
| 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 d3d7db04700..b6cada1b3c3 100644 --- a/lisp/org/ol-man.el +++ b/lisp/org/ol-man.el | |||
| @@ -39,27 +39,13 @@ | |||
| 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)) | ||
| 43 | (defun org-man-open (path _) | 42 | (defun org-man-open (path _) |
| 44 | "Visit the manpage on PATH. | 43 | "Visit the manpage on PATH. |
| 45 | PATH should be a topic that can be thrown at the man command. | 44 | PATH should be a topic that can be thrown at the man command. |
| 46 | If PATH contains extra ::STRING which will use `occur' to search | 45 | If PATH contains extra ::STRING which will use `occur' to search |
| 47 | matched strings in man buffer." | 46 | matched strings in man buffer." |
| 48 | (require 'man) ; For `Man-translate-references' | ||
| 49 | (string-match "\\(.*?\\)\\(?:::\\(.*\\)\\)?$" path) | 47 | (string-match "\\(.*?\\)\\(?:::\\(.*\\)\\)?$" path) |
| 50 | (let* ((command (match-string 1 path)) | 48 | (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 | " "))) | ||
| 63 | (search (match-string 2 path)) | 49 | (search (match-string 2 path)) |
| 64 | (buffer (funcall org-man-command command))) | 50 | (buffer (funcall org-man-command command))) |
| 65 | (when search | 51 | (when search |
diff --git a/lisp/org/ol.el b/lisp/org/ol.el index c3b03087842..4c84e62f4c9 100644 --- a/lisp/org/ol.el +++ b/lisp/org/ol.el | |||
| @@ -291,7 +291,10 @@ or emacs-wiki packages to Org syntax. | |||
| 291 | The function must accept two parameters, a TYPE containing the link | 291 | The function must accept two parameters, a TYPE containing the link |
| 292 | protocol name like \"rmail\" or \"gnus\" as a string, and the linked path, | 292 | protocol name like \"rmail\" or \"gnus\" as a string, and the linked path, |
| 293 | which is everything after the link protocol. It should return a cons | 293 | which is everything after the link protocol. It should return a cons |
| 294 | with possibly modified values of type and path." | 294 | with possibly modified values of type and path. |
| 295 | Org contains a function for this, so if you set this variable to | ||
| 296 | `org-translate-link-from-planner', you should be able follow many | ||
| 297 | links created by planner." | ||
| 295 | :group 'org-link-follow | 298 | :group 'org-link-follow |
| 296 | :type '(choice (const nil) (function)) | 299 | :type '(choice (const nil) (function)) |
| 297 | :safe #'null) | 300 | :safe #'null) |
diff --git a/lisp/org/org-compat.el b/lisp/org/org-compat.el index c17a100d3c1..33a510cd7f2 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." | 667 | %d is the date formatted using `org-publish-sitemap-date-format'." |
| 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 fe7d5f4c1a5..9561f2de184 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 (given by the variable | 32 | ;; Identifiers consist of a prefix (default "Org" 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'. Org has a | 34 | ;; of different methods, see the variable `org-id-method'. |
| 35 | ;; builtin method that uses a compact encoding of the creation time of | 35 | ;; Org has a builtin method that uses a compact encoding of the creation |
| 36 | ;; the ID, with microsecond accuracy. This virtually guarantees | 36 | ;; time of the ID, with microsecond accuracy. This virtually |
| 37 | ;; globally unique identifiers, even if several people are creating | 37 | ;; guarantees globally unique identifiers, even if several people are |
| 38 | ;; IDs at the same time in files that will eventually be used | 38 | ;; creating 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 a503de7d364..dc12ec272fa 100644 --- a/lisp/org/org-lint.el +++ b/lisp/org/org-lint.el | |||
| @@ -1209,11 +1209,8 @@ 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 (or (org-cite-get-processor name) | 1212 | (unless (org-cite-get-processor name) |
| 1213 | (progn | 1213 | (list source "Unknown cite export processor %S" name))) |
| 1214 | (org-cite-try-load-processor name) | ||
| 1215 | (org-cite-get-processor name))) | ||
| 1216 | (list source (format "Unknown cite export processor %S" name)))) | ||
| 1217 | (_ | 1214 | (_ |
| 1218 | (list source "Invalid cite export processor declaration"))) | 1215 | (list source "Invalid cite export processor declaration"))) |
| 1219 | (error | 1216 | (error |
diff --git a/lisp/org/org-table.el b/lisp/org/org-table.el index 92490f9f6bf..6408f48ccbd 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-copy-increment' is nil, or N = 0. In that case, | 1925 | ;; `org-table-increment' is nil, or N = 0. In that case, copy |
| 1926 | ;; copy FIELD. | 1926 | ;; 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 | ||
| 4086 | SELECT is a string containing column ranges, separated by white | 4086 | SELECT is a string containing column ranges, separated by white |
| 4087 | space characters, see `org-table-toggle-column-width' for details. | 4087 | space characters, see `org-table-hide-column' for details. MAX |
| 4088 | MAX is the maximum column number. | 4088 | is the maximum column number. |
| 4089 | 4089 | ||
| 4090 | Return value is a sorted list of numbers. Ignore any number | 4090 | Return value is a sorted list of numbers. Ignore any number |
| 4091 | outside of the [1;MAX] range." | 4091 | outside of the [1;MAX] range." |
diff --git a/lisp/org/org-tempo.el b/lisp/org/org-tempo.el index afa69867f2a..44b04a9f4be 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 in Org v9.1 and earlier. | 27 | ;; point like `org-try-structure-completion' 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 06af985ffb9..b41756ac53e 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. |
| 7 | Inserted by installing Org mode or when a release is made." | 7 | Inserted by installing Org mode or when a release is made." |
| 8 | (let ((org-release "9.6.19")) | 8 | (let ((org-release "9.6.15")) |
| 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. |
| 13 | Inserted by installing Org or when a release is made." | 13 | Inserted by installing Org or when a release is made." |
| 14 | (let ((org-git-version "release_9.6.19")) | 14 | (let ((org-git-version "release_9.6.15")) |
| 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 231ed094b36..3075729d01d 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.19 | 12 | ;; Version: 9.6.15 |
| 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 ?! ?d ?\s ?f)) | 4688 | (prog1 (memq char '(?y ?n ?! ?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,9 +5524,7 @@ 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 | (min (point-max) (1+ end)) | 5527 | (1+ end) end)) |
| 5528 | ;; See `font-lock-extend-jit-lock-region-after-change' and bug#68849. | ||
| 5529 | (min (point-max) (1+ end)))) | ||
| 5530 | (begin-re "\\(\\\\\\[\\|\\(#\\+begin_\\|\\\\begin{\\)\\S-+\\)") | 5528 | (begin-re "\\(\\\\\\[\\|\\(#\\+begin_\\|\\\\begin{\\)\\S-+\\)") |
| 5531 | (end-re "\\(\\\\\\]\\|\\(#\\+end_\\|\\\\end{\\)\\S-+\\)") | 5529 | (end-re "\\(\\\\\\]\\|\\(#\\+end_\\|\\\\end{\\)\\S-+\\)") |
| 5532 | (extend | 5530 | (extend |
| @@ -9337,7 +9335,7 @@ When called through ELisp, arg is also interpreted in the following way: | |||
| 9337 | (unless (org-invisible-p (line-beginning-position)) | 9335 | (unless (org-invisible-p (line-beginning-position)) |
| 9338 | (org-fold-region (line-beginning-position) | 9336 | (org-fold-region (line-beginning-position) |
| 9339 | (line-end-position) | 9337 | (line-end-position) |
| 9340 | nil 'outline))) | 9338 | nil))) |
| 9341 | (cond ((and org-state (equal this org-state)) | 9339 | (cond ((and org-state (equal this org-state)) |
| 9342 | (message "TODO state was already %s" (org-trim next))) | 9340 | (message "TODO state was already %s" (org-trim next))) |
| 9343 | ((not (pos-visible-in-window-p hl-pos)) | 9341 | ((not (pos-visible-in-window-p hl-pos)) |
diff --git a/lisp/org/ox-latex.el b/lisp/org/ox-latex.el index 7b5308b5bf0..c83728a8f09 100644 --- a/lisp/org/ox-latex.el +++ b/lisp/org/ox-latex.el | |||
| @@ -600,9 +600,8 @@ 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. |
| 603 | This command only applies to the table of contents generated with the | 603 | This command only applies to the table of contents generated with |
| 604 | toc:t, toc:1, toc:2, toc:3, ... options, not to those generated with | 604 | the toc:nil option, not to those generated with #+TOC keyword." |
| 605 | the #+TOC keyword." | ||
| 606 | :group 'org-export-latex | 605 | :group 'org-export-latex |
| 607 | :type 'string) | 606 | :type 'string) |
| 608 | 607 | ||
diff --git a/lisp/org/ox-odt.el b/lisp/org/ox-odt.el index 0b455d61b14..2c70d1dea27 100644 --- a/lisp/org/ox-odt.el +++ b/lisp/org/ox-odt.el | |||
| @@ -3254,9 +3254,8 @@ Return a cons of (TABLE-CELL-STYLE-NAME . PARAGRAPH-STYLE-NAME). | |||
| 3254 | 3254 | ||
| 3255 | When STYLE-SPEC is nil, style the table cell the conventional way | 3255 | When 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 |
| 3257 | choose paragraph alignment based on table alignment cookies (see info | 3257 | choose paragraph alignment based on `org-col-cookies' text |
| 3258 | node `(org)Column Width and Alignment'). See also | 3258 | property. See also `org-odt-table-style-spec'. |
| 3259 | `org-odt-table-style-spec'. | ||
| 3260 | 3259 | ||
| 3261 | When STYLE-SPEC is non-nil, ignore the above cookie and return | 3260 | When STYLE-SPEC is non-nil, ignore the above cookie and return |
| 3262 | styles congruent with the ODF-1.2 specification." | 3261 | styles congruent with the ODF-1.2 specification." |
diff --git a/lisp/org/ox.el b/lisp/org/ox.el index 5a02b073c1a..b8050bcda5c 100644 --- a/lisp/org/ox.el +++ b/lisp/org/ox.el | |||
| @@ -1626,10 +1626,11 @@ 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, `org-export--prune-tree' | 1629 | ;; properties during initialization. Thus, |
| 1630 | ;; lists elements and objects that should be skipped during export, | 1630 | ;; `org-export--populate-ignore-list' lists elements and objects that |
| 1631 | ;; `org-export--get-min-level' gets the minimal exportable level, used | 1631 | ;; should be skipped during export, `org-export--get-min-level' gets |
| 1632 | ;; as a basis to compute relative level for headlines. Eventually | 1632 | ;; the minimal exportable level, used as a basis to compute relative |
| 1633 | ;; level for headlines. Eventually | ||
| 1633 | ;; `org-export--collect-headline-numbering' builds an alist between | 1634 | ;; `org-export--collect-headline-numbering' builds an alist between |
| 1634 | ;; headlines and their numbering. | 1635 | ;; headlines and their numbering. |
| 1635 | 1636 | ||