% Reference Card for Org Mode
-\def\orgversionnumber{9.5.1}
+\def\orgversionnumber{9.5.2}
\def\versionyear{2021} % latest update
\input emacsver.tex
(defun org-babel-gnuplot-table-to-data (table data-file params)
"Export TABLE to DATA-FILE in a format readable by gnuplot.
Pass PARAMS through to `orgtbl-to-generic' when exporting TABLE."
+ (require 'ox-org)
(with-temp-file data-file
(insert (let ((org-babel-gnuplot-timestamp-fmt
(or (plist-get params :timefmt) "%Y-%m-%d-%H:%M:%S")))
- (orgtbl-to-generic
- table
- (org-combine-plists
- '(:sep "\t" :fmt org-babel-gnuplot-quote-tsv-field :raw t :backend ascii)
- params)))))
+ (replace-regexp-in-string
+ ;; org export backend adds "|" at the beginning/end of
+ ;; the table lines. Strip those.
+ "^|\\(.+\\)|$"
+ "\\1"
+ (orgtbl-to-generic
+ table
+ (org-combine-plists
+ '( :sep "\t" :fmt org-babel-gnuplot-quote-tsv-field
+ ;; Two setting below are needed to make :fmt work.
+ :raw t
+ ;; Use `org', not `ascii' because `ascii' may
+ ;; sometimes mishandle quoted strings.
+ :backend org)
+ params))))))
data-file)
(provide 'ob-gnuplot)
(org-clock-timestamps-change 'up n))
(defun org-clock-timestamps-down (&optional n)
- "Increase CLOCK timestamps at cursor.
+ "Decrease CLOCK timestamps at cursor.
Optional argument N tells to change by that many units."
(interactive "P")
(org-clock-timestamps-change 'down n))
(defun org-release ()
"The release version of Org.
Inserted by installing Org mode or when a release is made."
- (let ((org-release "9.5.1"))
+ (let ((org-release "9.5.2"))
org-release))
;;;###autoload
(defun org-git-version ()
"The Git version of Org mode.
Inserted by installing Org or when a release is made."
- (let ((org-git-version "release_9.5.1-31-ga18849"))
+ (let ((org-git-version "release_9.5.2-3-geb9f34"))
org-git-version))
\f
(provide 'org-version)
;; Homepage: https://orgmode.org
;; Package-Requires: ((emacs "25.1"))
-;; Version: 9.5.1
+;; Version: 9.5.2
;; This file is part of GNU Emacs.
;;
'(invisible t))
(add-text-properties (match-beginning 3) (match-end 3)
'(invisible t)))
- (goto-char (match-end 0))
(throw :exit t))))))))
(defun org-emphasize (&optional char)