Update to Org 9.6.1-40-g3d817c
This commit is contained in:
parent
80e1037df4
commit
b1b3af5b90
5 changed files with 47 additions and 36 deletions
|
@ -18096,7 +18096,8 @@ evaluating untrusted code blocks by prompting for a confirmation.
|
||||||
|
|
||||||
- =yes= ::
|
- =yes= ::
|
||||||
|
|
||||||
Org always evaluates the source code without asking permission.
|
Org evaluates the source code, possibly asking permission according
|
||||||
|
to ~org-confirm-babel-evaluate~.
|
||||||
|
|
||||||
- =never= or =no= ::
|
- =never= or =no= ::
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
% Reference Card for Org Mode
|
% Reference Card for Org Mode
|
||||||
\def\orgversionnumber{9.6.1}
|
\def\orgversionnumber{9.6.1}
|
||||||
\def\versionyear{2021} % latest update
|
\def\versionyear{2023} % latest update
|
||||||
\input emacsver.tex
|
\input emacsver.tex
|
||||||
|
|
||||||
%**start of header
|
%**start of header
|
||||||
|
@ -329,7 +329,7 @@ \section{Capture - Refile - Archiving}
|
||||||
\key{archive subtree using the default command}{C-c C-x C-a}
|
\key{archive subtree using the default command}{C-c C-x C-a}
|
||||||
\key{move subtree to archive file}{C-c C-x C-s}
|
\key{move subtree to archive file}{C-c C-x C-s}
|
||||||
\key{toggle ARCHIVE tag / to ARCHIVE sibling}{C-c C-x a/A}
|
\key{toggle ARCHIVE tag / to ARCHIVE sibling}{C-c C-x a/A}
|
||||||
\key{force cycling of an ARCHIVEd tree}{C-TAB}
|
\key{force cycling of an ARCHIVEd tree}{C-c C-TAB}
|
||||||
|
|
||||||
\section{Filtering and Sparse Trees}
|
\section{Filtering and Sparse Trees}
|
||||||
|
|
||||||
|
|
|
@ -726,9 +726,9 @@ If not, show simply the clocked time like 01:50."
|
||||||
'org-mode-line-clock-overrun
|
'org-mode-line-clock-overrun
|
||||||
'org-mode-line-clock)))
|
'org-mode-line-clock)))
|
||||||
(effort-str (org-duration-from-minutes effort-in-minutes)))
|
(effort-str (org-duration-from-minutes effort-in-minutes)))
|
||||||
(format (propertize " [%s/%s] (%s)" 'face 'org-mode-line-clock)
|
(format (propertize "[%s/%s] (%s) " 'face 'org-mode-line-clock)
|
||||||
work-done-str effort-str org-clock-heading))
|
work-done-str effort-str org-clock-heading))
|
||||||
(format (propertize " [%s] (%s)" 'face 'org-mode-line-clock)
|
(format (propertize "[%s] (%s) " 'face 'org-mode-line-clock)
|
||||||
(org-duration-from-minutes clocked-time)
|
(org-duration-from-minutes clocked-time)
|
||||||
org-clock-heading))))
|
org-clock-heading))))
|
||||||
|
|
||||||
|
@ -1798,7 +1798,11 @@ Optional argument N tells to change by that many units."
|
||||||
(begts (if updatets1 begts1 begts2)))
|
(begts (if updatets1 begts1 begts2)))
|
||||||
(setq tdiff
|
(setq tdiff
|
||||||
(time-subtract
|
(time-subtract
|
||||||
(org-time-string-to-time org-last-changed-timestamp)
|
(org-time-string-to-time
|
||||||
|
(save-excursion
|
||||||
|
(goto-char (if updatets1 begts2 begts1))
|
||||||
|
(looking-at org-ts-regexp3)
|
||||||
|
(match-string 0)))
|
||||||
(org-time-string-to-time ts)))
|
(org-time-string-to-time ts)))
|
||||||
;; `save-excursion' won't work because
|
;; `save-excursion' won't work because
|
||||||
;; `org-timestamp-change' deletes and re-inserts the
|
;; `org-timestamp-change' deletes and re-inserts the
|
||||||
|
|
|
@ -11,7 +11,7 @@ Inserted by installing Org mode or when a release is made."
|
||||||
(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.6.1-34-geea8da"))
|
(let ((org-git-version "release_9.6.1-40-g3d817c"))
|
||||||
org-git-version))
|
org-git-version))
|
||||||
|
|
||||||
(provide 'org-version)
|
(provide 'org-version)
|
||||||
|
|
|
@ -297,47 +297,49 @@ default, only Emacs Lisp is loaded, since it has no specific
|
||||||
requirement."
|
requirement."
|
||||||
:group 'org-babel
|
:group 'org-babel
|
||||||
:set 'org-babel-do-load-languages
|
:set 'org-babel-do-load-languages
|
||||||
:version "24.1"
|
:package-version '(Org . "9.6")
|
||||||
:type '(alist :tag "Babel Languages"
|
:type '(alist :tag "Babel Languages"
|
||||||
:key-type
|
:key-type
|
||||||
(choice
|
(choice
|
||||||
(const :tag "Awk" awk)
|
(const :tag "Awk" awk)
|
||||||
(const :tag "C" C)
|
(const :tag "C, D, C++, and cpp" C)
|
||||||
(const :tag "R" R)
|
(const :tag "R" R)
|
||||||
(const :tag "Calc" calc)
|
(const :tag "Calc" calc)
|
||||||
(const :tag "Clojure" clojure)
|
(const :tag "Clojure and ClojureScript" clojure)
|
||||||
(const :tag "CSS" css)
|
(const :tag "CSS" css)
|
||||||
(const :tag "Ditaa" ditaa)
|
(const :tag "Ditaa" ditaa)
|
||||||
(const :tag "Dot" dot)
|
(const :tag "Dot" dot)
|
||||||
(const :tag "Emacs Lisp" emacs-lisp)
|
(const :tag "Emacs Lisp" emacs-lisp)
|
||||||
|
(const :tag "Eshell" eshell)
|
||||||
(const :tag "Forth" forth)
|
(const :tag "Forth" forth)
|
||||||
(const :tag "Fortran" fortran)
|
(const :tag "Fortran" fortran)
|
||||||
(const :tag "Gnuplot" gnuplot)
|
(const :tag "GnuPlot" gnuplot)
|
||||||
|
(const :tag "Groovy" groovy)
|
||||||
(const :tag "Haskell" haskell)
|
(const :tag "Haskell" haskell)
|
||||||
(const :tag "Java" java)
|
(const :tag "Java" java)
|
||||||
(const :tag "Javascript" js)
|
(const :tag "JavaScript" js)
|
||||||
(const :tag "LaTeX" latex)
|
(const :tag "Julia" julia)
|
||||||
(const :tag "Lilypond" lilypond)
|
(const :tag "LaTeX" latex)
|
||||||
|
(const :tag "LilyPond" lilypond)
|
||||||
(const :tag "Lisp" lisp)
|
(const :tag "Lisp" lisp)
|
||||||
|
(const :tag "Lua" lua)
|
||||||
(const :tag "Makefile" makefile)
|
(const :tag "Makefile" makefile)
|
||||||
(const :tag "Maxima" maxima)
|
(const :tag "Maxima" maxima)
|
||||||
(const :tag "Matlab" matlab)
|
(const :tag "OCaml" ocaml)
|
||||||
(const :tag "Ocaml" ocaml)
|
(const :tag "Octave and MatLab" octave)
|
||||||
(const :tag "Octave" octave)
|
|
||||||
(const :tag "Org" org)
|
(const :tag "Org" org)
|
||||||
(const :tag "Perl" perl)
|
(const :tag "Perl" perl)
|
||||||
(const :tag "Pico Lisp" picolisp)
|
(const :tag "Processing" processing)
|
||||||
(const :tag "PlantUML" plantuml)
|
(const :tag "PlantUML" plantuml)
|
||||||
(const :tag "Python" python)
|
(const :tag "Python" python)
|
||||||
(const :tag "Ruby" ruby)
|
(const :tag "Ruby" ruby)
|
||||||
(const :tag "Sass" sass)
|
(const :tag "Sass" sass)
|
||||||
(const :tag "Scala" scala)
|
|
||||||
(const :tag "Scheme" scheme)
|
(const :tag "Scheme" scheme)
|
||||||
(const :tag "Screen" screen)
|
(const :tag "Screen" screen)
|
||||||
|
(const :tag "Sed" sed)
|
||||||
(const :tag "Shell Script" shell)
|
(const :tag "Shell Script" shell)
|
||||||
(const :tag "Sql" sql)
|
(const :tag "Sql" sql)
|
||||||
(const :tag "Sqlite" sqlite)
|
(const :tag "Sqlite" sqlite))
|
||||||
(const :tag "Stan" stan))
|
|
||||||
:value-type (boolean :tag "Activate" :value t)))
|
:value-type (boolean :tag "Activate" :value t)))
|
||||||
|
|
||||||
;;;; Customization variables
|
;;;; Customization variables
|
||||||
|
@ -4559,21 +4561,25 @@ is available. This option applies only if FILE is a URL."
|
||||||
(cache)
|
(cache)
|
||||||
(is-url
|
(is-url
|
||||||
(if (org--should-fetch-remote-resource-p file)
|
(if (org--should-fetch-remote-resource-p file)
|
||||||
(with-current-buffer (url-retrieve-synchronously file)
|
(condition-case error
|
||||||
(goto-char (point-min))
|
(with-current-buffer (url-retrieve-synchronously file)
|
||||||
;; Move point to after the url-retrieve header.
|
(goto-char (point-min))
|
||||||
(search-forward "\n\n" nil :move)
|
;; Move point to after the url-retrieve header.
|
||||||
;; Search for the success code only in the url-retrieve header.
|
(search-forward "\n\n" nil :move)
|
||||||
(if (save-excursion
|
;; Search for the success code only in the url-retrieve header.
|
||||||
(re-search-backward "HTTP.*\\s-+200\\s-OK" nil :noerror))
|
(if (save-excursion
|
||||||
;; Update the cache `org--file-cache' and return contents.
|
(re-search-backward "HTTP.*\\s-+200\\s-OK" nil :noerror))
|
||||||
(puthash file
|
;; Update the cache `org--file-cache' and return contents.
|
||||||
(buffer-substring-no-properties (point) (point-max))
|
(puthash file
|
||||||
org--file-cache)
|
(buffer-substring-no-properties (point) (point-max))
|
||||||
(funcall (if noerror #'message #'user-error)
|
org--file-cache)
|
||||||
"Unable to fetch file from %S"
|
(funcall (if noerror #'message #'user-error)
|
||||||
file)
|
"Unable to fetch file from %S"
|
||||||
nil))
|
file)
|
||||||
|
nil))
|
||||||
|
(error (if noerror
|
||||||
|
(message "Org could't download \"%s\": %s %S" file (car error) (cdr error))
|
||||||
|
(signal (car error) (cdr error)))))
|
||||||
(funcall (if noerror #'message #'user-error)
|
(funcall (if noerror #'message #'user-error)
|
||||||
"The remote resource %S is considered unsafe, and will not be downloaded."
|
"The remote resource %S is considered unsafe, and will not be downloaded."
|
||||||
file)))
|
file)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue