Update to Org 9.7.11

This commit is contained in:
Kyle Meyer 2024-09-01 17:51:22 -04:00
parent 8c044bd972
commit 0def396fa8
6 changed files with 31 additions and 7 deletions

View file

@ -284,6 +284,26 @@ respected.
Images dropped also respect the value of ~org-yank-image-save-method~ Images dropped also respect the value of ~org-yank-image-save-method~
when ~org-yank-dnd-method~ is =attach=. when ~org-yank-dnd-method~ is =attach=.
*** Alignment of image previews can be customized
Previously, all the image previews where always left-aligned.
Now, you can customize image previews to be left-aligned, centered, or right-aligned.
The customization can be done globally, via ~org-image-align~, or per
image, using =#+attr_...:=. Example:
: #+attr_org: :align center
: [[/path/to/image/file/png]]
:
: or
:
: #+attr_org: :center t
: [[/path/to/image/file/png]]
When =#+attr_org= is not present, ~:align~ and ~:center~ attributes
from other =#+attr_...:= keywords will be used.
*** =id:= links support search options; ~org-id-store-link~ adds search option by default *** =id:= links support search options; ~org-id-store-link~ adds search option by default
Adding search option by ~org-id-store-link~ can be disabled by setting Adding search option by ~org-id-store-link~ can be disabled by setting

View file

@ -1,5 +1,5 @@
% Reference Card for Org Mode % Reference Card for Org Mode
\def\orgversionnumber{9.7.10} \def\orgversionnumber{9.7.11}
\def\versionyear{2024} % latest update \def\versionyear{2024} % latest update
\input emacsver.tex \input emacsver.tex

View file

@ -45,7 +45,6 @@
(require 'ob) (require 'ob)
(require 'org-macs) (require 'org-macs)
(require 'ox-ascii)
(declare-function org-time-string-to-time "org" (s)) (declare-function org-time-string-to-time "org" (s))
(declare-function orgtbl-to-generic "org-table" (table params)) (declare-function orgtbl-to-generic "org-table" (table params))
@ -295,6 +294,8 @@ then create one. Return the initialized session. The current
"Export TABLE to DATA-FILE in a format readable by gnuplot. "Export TABLE to DATA-FILE in a format readable by gnuplot.
Pass PARAMS through to `orgtbl-to-generic' when exporting TABLE." Pass PARAMS through to `orgtbl-to-generic' when exporting TABLE."
(require 'ox-org) (require 'ox-org)
(require 'ox-ascii)
(declare-function org-export-create-backend "ox")
(with-temp-file data-file (with-temp-file data-file
(insert (let ((org-babel-gnuplot-timestamp-fmt (insert (let ((org-babel-gnuplot-timestamp-fmt
(or (plist-get params :timefmt) "%Y-%m-%d-%H:%M:%S")) (or (plist-get params :timefmt) "%Y-%m-%d-%H:%M:%S"))

View file

@ -5,13 +5,13 @@
(defun org-release () (defun org-release ()
"The release version of Org. "The release version of Org.
Inserted by installing Org mode or when a release is made." Inserted by installing Org mode or when a release is made."
(let ((org-release "9.7.10")) (let ((org-release "9.7.11"))
org-release)) org-release))
;;;###autoload ;;;###autoload
(defun org-git-version () (defun org-git-version ()
"The Git version of Org mode. "The Git version of Org mode.
Inserted by installing Org or when a release is made." Inserted by installing Org or when a release is made."
(let ((org-git-version "release_9.7.10")) (let ((org-git-version "release_9.7.11"))
org-git-version)) org-git-version))
(provide 'org-version) (provide 'org-version)

View file

@ -9,7 +9,7 @@
;; URL: https://orgmode.org ;; URL: https://orgmode.org
;; Package-Requires: ((emacs "26.1")) ;; Package-Requires: ((emacs "26.1"))
;; Version: 9.7.10 ;; Version: 9.7.11
;; This file is part of GNU Emacs. ;; This file is part of GNU Emacs.
;; ;;

View file

@ -156,8 +156,11 @@
(:cite-export "CITE_EXPORT" nil org-cite-export-processors)) (:cite-export "CITE_EXPORT" nil org-cite-export-processors))
"Alist between export properties and ways to set them. "Alist between export properties and ways to set them.
The key of the alist is the property name, and the value is a list Each element of the alist is a list like
like (KEYWORD OPTION DEFAULT BEHAVIOR) where: (ALIST-KEY KEYWORD OPTION DEFAULT BEHAVIOR)
ALIST-KEY is the key of the alist - a symbol like `:option', and the
value is (KEYWORD OPTION ...).
KEYWORD is a string representing a buffer keyword, or nil. Each KEYWORD is a string representing a buffer keyword, or nil. Each
property defined this way can also be set, during subtree property defined this way can also be set, during subtree