forked from mirrors/org-mode
Adding release tag
-----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEG+FaXQip1ZWVgUdrFDesAvc/kaIFAl9WVPAACgkQFDesAvc/ kaIfWgf/axD05NA/MwSbx61lDgtTEwIpkeC5AUBOJhmtzh7wURQmo2gWAtVxw06A JOH1pWMfPEHxlcpJKfEpUR5sKHC3kFX5Qjr+pQOh27DA0Ebb5Mqi34Txs6cTNWiZ SLDNMG3o/bsVjNfrdaSGNLdG3Ajjujnjx+2SKRlNyROVZeqOwdFZdKMfjn0s9ljn kX3xb2u28Vg5znwwriRSkkZdLltpYvZW9cXEwS/PyNcj+QhD5XNhaC22D8Am57PT 58ejRO62x/S3Rv7yxZPt/I4TKCbLnDgJ6T9ZdSyW6RqDOW7vW03GOB4hdT5Ts6GJ IVv1t5zD+5liNaeEjVEXfgd0am3ZRA== =tD2R -----END PGP SIGNATURE----- Merge tag 'release_9.3.8' into emacs-sync Adding release tag # gpg: Signature made Mon 07 Sep 2020 11:42:40 AM EDT # gpg: using RSA key 1BE15A5D08A9D5959581476B1437AC02F73F91A2 # gpg: Can't check signature: No public key
This commit is contained in:
commit
e0d111292d
|
@ -1,6 +1,6 @@
|
|||
;;; ob-csharp.el --- org-babel functions for csharp evaluation
|
||||
|
||||
;; Copyright (C) 2011-2018 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2011-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: thomas "at" friendlyvillagers.com based on ob-java.el by Eric Schulte
|
||||
;; Keywords: literate programming, reproducible research
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-eukleides.el --- Org-babel functions for eukleides evaluation
|
||||
|
||||
;; Copyright (C) 2010-2018 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2010-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Luis Anaya
|
||||
;; Keywords: literate programming, reproducible research
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-mathomatic.el --- Org-babel functions for mathomatic evaluation
|
||||
|
||||
;; Copyright (C) 2009-2018 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2009-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Eric S Fraga
|
||||
;; Eric Schulte
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
;;; ob-sclang.el --- SCLang support for Org-mode Babel
|
||||
;;; -*- coding: utf-8 -*-
|
||||
|
||||
;; Copyright (C) 2017-2018 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2017-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Authors: stardiviner <numbchild@gmail.com>
|
||||
;; Package-Version: 0.1
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-tcl.el --- Org-babel functions for tcl evaluation
|
||||
|
||||
;; Copyright (C) 2009-2018 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2009-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Authors: Dan Davison
|
||||
;; Eric Schulte
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-vbnet.el --- org-babel functions for VB.Net evaluation
|
||||
|
||||
;; Copyright (C) 2011-2018 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2011-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: thomas "at" friendlyvillagers.com based on ob-java.el by Eric Schulte
|
||||
;; Keywords: literate programming, reproducible research
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
;;; ol-bookmark.el - Links to bookmarks
|
||||
;; Copyright (C) 2008-2018 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2008-2020 Free Software Foundation, Inc.
|
||||
;;
|
||||
;; Author: Tokuya Kameshima <kames AT fa2.so-net.ne.jp>
|
||||
;; Version: 1.0
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ol-elisp-symbol.el --- Links to Emacs-lisp symbols
|
||||
;;
|
||||
;; Copyright 2007-2018 Free Software Foundation, Inc.
|
||||
;; Copyright 2007-2020 Free Software Foundation, Inc.
|
||||
;;
|
||||
;; Author: Bastien Guerry
|
||||
;; Version: 0.2
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
;;; Commentary:
|
||||
|
||||
(require 'ol)
|
||||
(require 'org)
|
||||
|
||||
(org-link-set-parameters "man"
|
||||
:follow #'org-man-open
|
||||
|
@ -48,7 +47,7 @@ PATH should be a topic that can be thrown at the man command."
|
|||
(let* ((page (org-man-get-page-name))
|
||||
(link (concat "man:" page))
|
||||
(description (format "Manpage for %s" page)))
|
||||
(org-store-link-props
|
||||
(org-link-store-props
|
||||
:type "man"
|
||||
:link link
|
||||
:description description))))
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ol-mew.el --- Links to Mew messages
|
||||
|
||||
;; Copyright (C) 2008-2018 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2008-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Tokuya Kameshima <kames at fa2 dot so-net dot ne dot jp>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
;;; org-notmuch.el --- Links to notmuch messages
|
||||
;;; ol-notmuch.el --- Links to notmuch messages
|
||||
|
||||
;; Copyright (C) 2010-2014 Matthieu Lemerre
|
||||
|
||||
|
@ -40,7 +40,6 @@
|
|||
;;; Code:
|
||||
|
||||
(require 'ol)
|
||||
(require 'org)
|
||||
|
||||
;; customisable notmuch open functions
|
||||
(defcustom org-notmuch-open-function
|
||||
|
@ -80,11 +79,11 @@ Should accept a notmuch search string as the sole argument."
|
|||
(from (notmuch-show-get-from))
|
||||
(date (org-trim (notmuch-show-get-date)))
|
||||
desc link)
|
||||
(org-store-link-props :type "notmuch" :from from :to to :date date
|
||||
(org-link-store-props :type "notmuch" :from from :to to :date date
|
||||
:subject subject :message-id message-id)
|
||||
(setq desc (org-email-link-description))
|
||||
(setq desc (org-link-email-description))
|
||||
(setq link (concat "notmuch:id:" message-id))
|
||||
(org-add-link-props :link link :description desc)
|
||||
(org-link-add-props :link link :description desc)
|
||||
link)))
|
||||
|
||||
(defun org-notmuch-open (path)
|
||||
|
@ -109,7 +108,7 @@ Can link to more than one message, if so all matching messages are shown."
|
|||
(when (eq major-mode 'notmuch-search-mode)
|
||||
(let ((link (concat "notmuch-search:" notmuch-search-query-string))
|
||||
(desc (concat "Notmuch search: " notmuch-search-query-string)))
|
||||
(org-store-link-props :type "notmuch-search"
|
||||
(org-link-store-props :type "notmuch-search"
|
||||
:link link
|
||||
:description desc)
|
||||
link)))
|
||||
|
@ -135,7 +134,7 @@ Can link to more than one message, if so all matching messages are shown."
|
|||
(when (eq major-mode 'notmuch-tree-mode)
|
||||
(let ((link (concat "notmuch-tree:" (notmuch-tree-get-query)))
|
||||
(desc (concat "Notmuch tree: " (notmuch-tree-get-query))))
|
||||
(org-store-link-props :type "notmuch-tree"
|
||||
(org-link-store-props :type "notmuch-tree"
|
||||
:link link
|
||||
:description desc)
|
||||
link)))
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ol-vm.el --- Links to VM messages
|
||||
|
||||
;; Copyright (C) 2004-2018 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2004-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Carsten Dominik <carsten at orgmode dot org>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ol-wl.el --- Links to Wanderlust messages
|
||||
|
||||
;; Copyright (C) 2004-2018 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2004-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Tokuya Kameshima <kames at fa2 dot so-net dot ne dot jp>
|
||||
;; David Maus <dmaus at ictsoc dot de>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; org-attach-embedded-images.el --- Transmute images to attachments
|
||||
;;
|
||||
;; Copyright 2018, 2019 Free Software Foundation, Inc.
|
||||
;; Copyright 2018-2020 Free Software Foundation, Inc.
|
||||
;;
|
||||
;; Author: Marco Wahl
|
||||
;; Version: 0.1
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; org-bibtex-extras --- extras for working with org-bibtex entries
|
||||
|
||||
;; Copyright (C) 2008-2018 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2008-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Eric Schulte <eric dot schulte at gmx dot com>
|
||||
;; Keywords: outlines, hypermedia, bibtex, d3
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; org-collector --- collect properties into tables
|
||||
|
||||
;; Copyright (C) 2008-2018 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2008-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Eric Schulte <schulte dot eric at gmail dot com>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp, experimentation,
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
;;; org-contribdir.el --- Mark the location of the contrib directory
|
||||
;; Copyright (C) 2009-2018 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2009-2020 Free Software Foundation, Inc.
|
||||
;;
|
||||
;; Author: Carsten Dominik <carsten at orgmode dot org>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
;;; org-depend.el --- TODO dependencies for Org-mode
|
||||
;; Copyright (C) 2008-2018 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2008-2020 Free Software Foundation, Inc.
|
||||
;;
|
||||
;; Author: Carsten Dominik <carsten at orgmode dot org>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; org-effectiveness.el --- Measuring the personal effectiveness
|
||||
|
||||
;; Copyright (C) 2013-2018 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2013-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: David Arroyo Menéndez <davidam@es.gnu.org>
|
||||
;; Keywords: effectiveness, plot
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; org-eldoc.el --- display org header and src block info using eldoc
|
||||
|
||||
;; Copyright (c) 2014-2018 Free Software Foundation, Inc.
|
||||
;; Copyright (c) 2014-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Łukasz Gruner <lukasz@gruner.lu>
|
||||
;; Maintainer: Łukasz Gruner <lukasz@gruner.lu>
|
||||
|
@ -127,7 +127,7 @@
|
|||
(declare-function php-eldoc-function "php-eldoc" ())
|
||||
(declare-function go-eldoc--documentation-function "go-eldoc" ())
|
||||
|
||||
(defun org-eldoc-documentation-function ()
|
||||
(defun org-eldoc-documentation-function (&rest _ignored)
|
||||
"Return breadcrumbs when on a headline, args for src block header-line,
|
||||
calls other documentation functions depending on lang when inside src body."
|
||||
(or
|
||||
|
@ -136,10 +136,16 @@
|
|||
(let ((lang (org-eldoc-get-src-lang)))
|
||||
(cond ((or
|
||||
(string= lang "emacs-lisp")
|
||||
(string= lang "elisp")) (if (fboundp 'elisp-eldoc-documentation-function)
|
||||
(elisp-eldoc-documentation-function)
|
||||
(let (eldoc-documentation-function)
|
||||
(eldoc-print-current-symbol-info))))
|
||||
(string= lang "elisp"))
|
||||
(cond ((boundp 'eldoc-documentation-functions) ; Emacs>=28
|
||||
(let ((eldoc-documentation-functions
|
||||
'(elisp-eldoc-var-docstring elisp-eldoc-funcall)))
|
||||
(eldoc-print-current-symbol-info)))
|
||||
((fboundp 'elisp-eldoc-documentation-function)
|
||||
(elisp-eldoc-documentation-function))
|
||||
(t ; Emacs<25
|
||||
(let (eldoc-documentation-function)
|
||||
(eldoc-print-current-symbol-info)))))
|
||||
((or
|
||||
(string= lang "c") ;; http://github.com/nflath/c-eldoc
|
||||
(string= lang "C")) (when (require 'c-eldoc nil t)
|
||||
|
@ -161,7 +167,18 @@
|
|||
(defun org-eldoc-load ()
|
||||
"Set up org-eldoc documentation function."
|
||||
(interactive)
|
||||
(setq-local eldoc-documentation-function #'org-eldoc-documentation-function))
|
||||
;; This approach is taken from python.el.
|
||||
(with-no-warnings
|
||||
(cond
|
||||
((null eldoc-documentation-function) ; Emacs<25
|
||||
(setq-local eldoc-documentation-function
|
||||
#'org-eldoc-documentation-function))
|
||||
((boundp 'eldoc-documentation-functions) ; Emacs>=28
|
||||
(add-hook 'eldoc-documentation-functions
|
||||
#'org-eldoc-documentation-function nil t))
|
||||
(t
|
||||
(add-function :before-until (local 'eldoc-documentation-function)
|
||||
#'org-eldoc-documentation-function)))))
|
||||
|
||||
;;;###autoload
|
||||
(add-hook 'org-mode-hook #'org-eldoc-load)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; org-eval-light.el --- Display result of evaluating code in various languages (light)
|
||||
|
||||
;; Copyright (C) 2008-2018 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2008-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Carsten Dominik <carsten at orgmode dot org>,
|
||||
;; Eric Schulte <schulte dot eric at gmail dot com>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
;;; org-eval.el --- Display result of evaluating code in various languages
|
||||
;; Copyright (C) 2008-2018 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2008-2020 Free Software Foundation, Inc.
|
||||
;;
|
||||
;; Author: Carsten Dominik <carsten at orgmode dot org>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; org-expiry.el --- expiry mechanism for Org entries
|
||||
;;
|
||||
;; Copyright 2007-2018 Free Software Foundation, Inc.
|
||||
;; Copyright 2007-2020 Free Software Foundation, Inc.
|
||||
;;
|
||||
;; Author: Bastien Guerry
|
||||
;; Version: 0.2
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; org-interactive-query.el --- Interactive modification of agenda query
|
||||
;;
|
||||
;; Copyright 2007-2018 Free Software Foundation, Inc.
|
||||
;; Copyright 2007-2020 Free Software Foundation, Inc.
|
||||
;;
|
||||
;; Author: Christopher League <league at contrapunctus dot net>
|
||||
;; Version: 1.0
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; org-learn.el --- Implements SuperMemo's incremental learning algorithm
|
||||
|
||||
;; Copyright (C) 2009-2018 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2009-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: John Wiegley <johnw at gnu dot org>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; org-license.el --- Add a license to your org files
|
||||
|
||||
;; Copyright (C) 2013-2018 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2013-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: David Arroyo Menéndez <davidam@es.gnu.org>
|
||||
;; Keywords: licenses, creative commons
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; org-mac-link.el --- Insert org-mode links to items selected in various Mac apps
|
||||
;;
|
||||
;; Copyright (c) 2010-2018 Free Software Foundation, Inc.
|
||||
;; Copyright (c) 2010-2020 Free Software Foundation, Inc.
|
||||
;;
|
||||
;; Author: Anthony Lander <anthony.lander@gmail.com>
|
||||
;; John Wiegley <johnw@gnu.org>
|
||||
|
|
|
@ -186,7 +186,7 @@ applications in order to mimic `org-store-link'. Used by
|
|||
:type 'string)
|
||||
|
||||
;; When we resolve some of the issues with `org-store-link' detailed
|
||||
;; at <http://thread.gmane.org/gmane.emacs.orgmode/4217/focus=4635>,
|
||||
;; at <https://orgmode.org/list/20071105181739.GB13544@atlantic.linksys.moosehall
|
||||
;; we might not need org-mairix-insert-link.
|
||||
|
||||
(defun org-mairix-insert-link ()
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; org-notify.el --- Notifications for Org-mode
|
||||
|
||||
;; Copyright (C) 2012-2018 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2012-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Peter Münster <pmrb@free.fr>
|
||||
;; Keywords: notification, todo-list, alarm, reminder, pop-up
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; org-screenshot.el --- Take and manage screenshots in Org-mode files
|
||||
;;
|
||||
;; Copyright (C) 2009-2018 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2009-2020 Free Software Foundation, Inc.
|
||||
;;
|
||||
;; Author: Max Mikhanosha <max@openchat.com>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; org-sudoku.el --- Create and solve SUDOKU games in Org tables
|
||||
|
||||
;; Copyright (C) 2012-2018 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2012-2020 Free Software Foundation, Inc.
|
||||
;;
|
||||
;; Author: Carsten Dominik <carsten at orgmode dot org>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp, games
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; org-toc.el --- Table of contents for Org-mode buffer
|
||||
|
||||
;; Copyright 2007-2018 Free Software Foundation, Inc.
|
||||
;; Copyright 2007-2020 Free Software Foundation, Inc.
|
||||
;;
|
||||
;; Author: Bastien Guerry <bzg@gnu.org>
|
||||
;; Keywords: Org table of contents
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; org-track.el --- Track the most recent Org-mode version available.
|
||||
;;
|
||||
;; Copyright (C) 2009-2018 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2009-2020 Free Software Foundation, Inc.
|
||||
;;
|
||||
;; Author: Bastien Guerry <bzg@gnu.org>
|
||||
;; Eric S Fraga <e.fraga at ucl.ac dot uk>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; org-wikinodes.el --- Wiki-like CamelCase links to outline nodes
|
||||
|
||||
;; Copyright (C) 2010-2018 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2010-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Carsten Dominik <carsten at orgmode dot org>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; orgtbl-sqlinsert.el --- orgtbl to SQL insert statements.
|
||||
|
||||
;; Copyright (C) 2008-2018 Free Software Foundation
|
||||
;; Copyright (C) 2008-2020 Free Software Foundation
|
||||
|
||||
;; Author: Jason Riedy <jason@acm.org>
|
||||
;; Keywords: org, tables, sql
|
||||
|
|
|
@ -125,15 +125,17 @@
|
|||
(if (org-string-nw-p contents) contents ""))))
|
||||
|
||||
(defun org-confluence-link (link desc info)
|
||||
(let ((raw-link (org-element-property :raw-link link)))
|
||||
(concat "["
|
||||
(when (org-string-nw-p desc) (format "%s|" desc))
|
||||
(cond
|
||||
((string-match "^confluence:" raw-link)
|
||||
(replace-regexp-in-string "^confluence:" "" raw-link))
|
||||
(t
|
||||
raw-link))
|
||||
"]")))
|
||||
(if (string= "radio" (org-element-property :type link))
|
||||
desc
|
||||
(let ((raw-link (org-element-property :raw-link link)))
|
||||
(concat "["
|
||||
(when (org-string-nw-p desc) (format "%s|" desc))
|
||||
(cond
|
||||
((string-match "^confluence:" raw-link)
|
||||
(replace-regexp-in-string "^confluence:" "" raw-link))
|
||||
(t
|
||||
raw-link))
|
||||
"]"))))
|
||||
|
||||
(defun org-confluence-paragraph (paragraph contents info)
|
||||
"Transcode PARAGRAPH element for Confluence.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ox-freemind.el --- Freemind Mindmap Back-End for Org Export Engine
|
||||
|
||||
;; Copyright (C) 2013-2018 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2013-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Jambunathan K <kjambunathan at gmail dot com>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ox-groff.el --- Groff Back-End for Org Export Engine
|
||||
|
||||
;; Copyright (C) 2011-2018 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2011-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Nicolas Goaziou <n.goaziou at gmail dot com>
|
||||
;; Author: Luis R Anaya <papoanaya aroba hot mail punto com>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ox-koma-letter.el --- KOMA Scrlttr2 Back-End for Org Export Engine
|
||||
|
||||
;; Copyright (C) 2007-2018 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2007-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Nicolas Goaziou <n.goaziou AT gmail DOT com>
|
||||
;; Alan Schmitt <alan.schmitt AT polytechnique DOT org>
|
||||
|
@ -748,7 +748,8 @@ holding export options."
|
|||
(if (symbolp with-subject) with-subject
|
||||
(mapconcat #'symbol-name with-subject ","))))
|
||||
;; Hyperref.
|
||||
(format-spec hyperref-template spec)
|
||||
(and (stringp hyperref-template)
|
||||
(format-spec hyperref-template spec))
|
||||
;; Document start.
|
||||
"\\begin{document}\n\n"
|
||||
;; Subject and title.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ox-taskjuggler.el --- TaskJuggler Back-End for Org Export Engine
|
||||
;;
|
||||
;; Copyright (C) 2007-2018 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2007-2020 Free Software Foundation, Inc.
|
||||
;;
|
||||
;; Emacs Lisp Archive Entry
|
||||
;; Filename: ox-taskjuggler.el
|
||||
|
@ -859,11 +859,7 @@ a unique id will be associated to it."
|
|||
"allocations")
|
||||
allocate))
|
||||
(and complete (format " complete %s\n" complete))
|
||||
(and effort
|
||||
(format " effort %s\n"
|
||||
(let* ((minutes (org-duration-to-minutes effort))
|
||||
(hours (/ minutes 60.0)))
|
||||
(format "%.1fh" hours))))
|
||||
(and effort (format " effort %s\n" effort))
|
||||
(and priority (format " priority %s\n" priority))
|
||||
(and milestone " milestone\n")
|
||||
;; Add other valid attributes.
|
||||
|
|
|
@ -12,9 +12,9 @@
|
|||
|
||||
# Contact Info
|
||||
#+texinfo_header: @set MAINTAINERSITE @uref{https://orgmode.org,maintainers webpage}
|
||||
#+texinfo_header: @set MAINTAINER Carsten Dominik
|
||||
#+texinfo_header: @set MAINTAINEREMAIL @email{carsten at orgmode dot org}
|
||||
#+texinfo_header: @set MAINTAINERCONTACT @uref{mailto:carsten at orgmode dot org,contact the maintainer}
|
||||
#+texinfo_header: @set MAINTAINER Bastien Guerry
|
||||
#+texinfo_header: @set MAINTAINEREMAIL @email{bzg@gnu.org}
|
||||
#+texinfo_header: @set MAINTAINERCONTACT @uref{mailto:bzg@gnu.org,contact the maintainer}
|
||||
|
||||
#+options: H:4 num:t toc:t author:t \n:nil ::t |:t ^:nil -:t f:t *:t <:t e:t ':t
|
||||
#+options: d:nil todo:nil pri:nil tags:not-in-toc stat:nil broken-links:mark
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
:copying: t
|
||||
:END:
|
||||
|
||||
Copyright \copy 2004--2019 Free Software Foundation, Inc.
|
||||
Copyright \copy 2004--2020 Free Software Foundation, Inc.
|
||||
|
||||
#+begin_quote
|
||||
Permission is granted to copy, distribute and/or modify this document
|
||||
|
@ -72,16 +72,14 @@ the following command to generate autoload information.
|
|||
:UNNUMBERED: notoc
|
||||
:END:
|
||||
|
||||
Add the following lines to your Emacs init file. The last four lines
|
||||
define /global/ keys for some commands---please choose suitable keys
|
||||
yourself.
|
||||
Add the following lines to your Emacs init file to define /global/
|
||||
keys for three commands that are useful in any Emacs buffer, not just
|
||||
Org buffers. Please choose suitable keys yourself.
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
;; The following lines are always needed. Choose your own keys.
|
||||
(global-set-key (kbd "C-l") 'org-store-link)
|
||||
(global-set-key (kbd "C-a") 'org-agenda)
|
||||
(global-set-key (kbd "C-c") 'org-capture)
|
||||
(global-set-key (kbd "C-b") 'org-switchb)
|
||||
(global-set-key (kbd "C-c l") 'org-store-link)
|
||||
(global-set-key (kbd "C-c a") 'org-agenda)
|
||||
(global-set-key (kbd "C-c c") 'org-capture)
|
||||
#+end_src
|
||||
|
||||
Files with extension =.org= will be put into Org mode automatically.
|
||||
|
@ -2618,7 +2616,7 @@ support in a file, use
|
|||
|
||||
#+export_file_name: orgguide.texi
|
||||
|
||||
#+texinfo_dir_category: Emacs
|
||||
#+texinfo_dir_category: Emacs editing modes
|
||||
#+texinfo_dir_title: Org Guide: (orgguide)
|
||||
#+texinfo_dir_desc: Abbreviated Org mode manual
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -17,7 +17,7 @@
|
|||
\pdflayout=(0l)
|
||||
|
||||
% Nothing else needs to be changed below this line.
|
||||
% Copyright (C) 1987, 1993, 1996-1997, 2001-2019 Free Software
|
||||
% Copyright (C) 1987, 1993, 1996-1997, 2001-2020 Free Software
|
||||
% Foundation, Inc.
|
||||
|
||||
% This document is free software: you can redistribute it and/or modify
|
||||
|
@ -518,7 +518,7 @@ after ``{\tt :}'', and dictionary words elsewhere.
|
|||
\key{special commands in property lines}{C-c C-c}
|
||||
\key{next/previous allowed value}{S-LEFT/RIGHT}
|
||||
\key{turn on column view}{C-c C-x C-c}
|
||||
\key{capture columns view in dynamic block}{C-c C-x i}
|
||||
\key{capture columns view in dynamic block}{C-c C-x x}
|
||||
|
||||
\key{quit column view}{q}
|
||||
\key{show full value}{v}
|
||||
|
@ -561,7 +561,7 @@ after ``{\tt :}'', and dictionary words elsewhere.
|
|||
\key{stop/cancel clock on current item}{C-c C-x C-o/x}
|
||||
\key{display total subtree times}{C-c C-x C-d}
|
||||
\key{remove displayed times}{C-c C-c}
|
||||
\key{insert/update table with clock report}{C-c C-x C-r}
|
||||
\key{insert/update table with clock report}{C-c C-x C-x}
|
||||
|
||||
\section{Agenda Views}
|
||||
|
||||
|
|
18
etc/ORG-NEWS
18
etc/ORG-NEWS
|
@ -5,7 +5,7 @@ ORG NEWS -- history of user-visible changes. -*- mode: org; coding: utf-8 -*-
|
|||
#+LINK: doc https://orgmode.org/worg/doc.html#%s
|
||||
#+LINK: git https://code.orgmode.org/bzg/org-mode/commit/%s
|
||||
|
||||
Copyright (C) 2012-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 2012-2020 Free Software Foundation, Inc.
|
||||
See the end of the file for license conditions.
|
||||
|
||||
Please send Org bug reports to mailto:emacs-orgmode@gnu.org.
|
||||
|
@ -470,6 +470,16 @@ I.e. treat the whole file as if it was a subtree.
|
|||
|
||||
*** Respect narrowing when agenda command is restricted to buffer
|
||||
|
||||
*** ~org-table-insert-column~ inserts the column at point position
|
||||
|
||||
Before, the new column was inserted to the right of the column at
|
||||
point position.
|
||||
|
||||
*** Table column deletion now consistent with row deletion
|
||||
|
||||
Point stays in the column at deletion, except when deleting the
|
||||
rightmost column.
|
||||
|
||||
* Version 9.2
|
||||
** Incompatible changes
|
||||
*** Removal of OrgStruct mode mode and radio lists
|
||||
|
@ -1472,7 +1482,7 @@ Moreover, ~:export-block~ keyword used in ~org-export-define-backend~ and
|
|||
~org-export-define-derived-backend~ is no longer used and needs to be
|
||||
removed.
|
||||
|
||||
*** Footnotes
|
||||
*** Footnotes changes
|
||||
|
||||
**** [1]-like constructs are not valid footnotes
|
||||
|
||||
|
@ -4577,7 +4587,7 @@ that Calc formulas can operate on them.
|
|||
|
||||
The new system has a technically cleaner implementation and more
|
||||
possibilities for capturing different types of data. See
|
||||
[[http://thread.gmane.org/gmane.emacs.orgmode/26441/focus%3D26441][Carsten's announcement]] for more details.
|
||||
[[https://orgmode.org/list/C46F10DC-DE51-43D4-AFFE-F71E440D1E1F@gmail.com][Carsten's announcement]] for more details.
|
||||
|
||||
To switch over to the new system:
|
||||
|
||||
|
@ -4708,7 +4718,7 @@ that Calc formulas can operate on them.
|
|||
|
||||
**** Modified link escaping
|
||||
|
||||
David Maus worked on `org-link-escape'. See [[http://article.gmane.org/gmane.emacs.orgmode/37888][his message]]:
|
||||
David Maus worked on `org-link-escape'. See [[https://orgmode.org/list/87k4gysacq.wl%dmaus@ictsoc.de][his message]]:
|
||||
|
||||
: Percent escaping is used in Org mode to escape certain characters
|
||||
: in links that would either break the parser (e.g. square brackets
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
The files OrgOdtContentTemplate.xml and OrgOdtStyles.xml have the
|
||||
following copyright information:
|
||||
|
||||
Copyright (C) 2010-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 2010-2020 Free Software Foundation, Inc.
|
||||
|
||||
These files are part of GNU Emacs.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-C.el --- Babel Functions for C and Similar Languages -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2010-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2010-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Eric Schulte
|
||||
;; Thierry Banel
|
||||
|
@ -182,7 +182,7 @@ or `org-babel-execute:C++' or `org-babel-execute:D'."
|
|||
cmdline)))
|
||||
"")))
|
||||
(when results
|
||||
(setq results (org-trim (org-remove-indentation results)))
|
||||
(setq results (org-remove-indentation results))
|
||||
(org-babel-reassemble-table
|
||||
(org-babel-result-cond (cdr (assq :result-params params))
|
||||
(org-babel-read results t)
|
||||
|
|
10
lisp/ob-J.el
10
lisp/ob-J.el
|
@ -1,6 +1,6 @@
|
|||
;;; ob-J.el --- Babel Functions for J -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2011-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2011-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Oleh Krehel
|
||||
;; Keywords: literate programming, reproducible research
|
||||
|
@ -76,6 +76,8 @@ This function is called by `org-babel-execute-src-block'."
|
|||
(message "executing J source code block")
|
||||
(let* ((processed-params (org-babel-process-params params))
|
||||
(sessionp (cdr (assq :session params)))
|
||||
(sit-time (let ((sit (assq :sit params)))
|
||||
(if sit (cdr sit) .1)))
|
||||
(full-body (org-babel-expand-body:J
|
||||
body params processed-params))
|
||||
(tmp-script-file (org-babel-temp-file "J-src")))
|
||||
|
@ -86,9 +88,9 @@ This function is called by `org-babel-execute-src-block'."
|
|||
(with-temp-file tmp-script-file
|
||||
(insert full-body))
|
||||
(org-babel-eval (format "%s < %s" org-babel-J-command tmp-script-file) ""))
|
||||
(org-babel-J-eval-string full-body)))))
|
||||
(org-babel-J-eval-string full-body sit-time)))))
|
||||
|
||||
(defun org-babel-J-eval-string (str)
|
||||
(defun org-babel-J-eval-string (str sit-time)
|
||||
"Sends STR to the `j-console-cmd' session and executes it."
|
||||
(let ((session (j-console-ensure-session)))
|
||||
(with-current-buffer (process-buffer session)
|
||||
|
@ -96,7 +98,7 @@ This function is called by `org-babel-execute-src-block'."
|
|||
(insert (format "\n%s\n" str))
|
||||
(let ((beg (point)))
|
||||
(comint-send-input)
|
||||
(sit-for .1)
|
||||
(sit-for sit-time)
|
||||
(buffer-substring-no-properties
|
||||
beg (point-max))))))
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-R.el --- Babel Functions for R -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2009-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2009-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Eric Schulte
|
||||
;; Dan Davison
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-abc.el --- Org Babel Functions for ABC -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2013-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2013-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: William Waites
|
||||
;; Keywords: literate programming, music
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-asymptote.el --- Babel Functions for Asymptote -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2009-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2009-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Eric Schulte
|
||||
;; Keywords: literate programming, reproducible research
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-awk.el --- Babel Functions for Awk -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2011-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2011-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Eric Schulte
|
||||
;; Keywords: literate programming, reproducible research
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-calc.el --- Babel Functions for Calc -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2010-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2010-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Eric Schulte
|
||||
;; Keywords: literate programming, reproducible research
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-clojure.el --- Babel Functions for Clojure -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2009-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2009-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Joel Boehland, Eric Schulte, Oleh Krehel, Frederick Giasson
|
||||
;;
|
||||
|
@ -104,6 +104,8 @@ If the value is nil, timeout is disabled."
|
|||
(result-params (cdr (assq :result-params params)))
|
||||
(print-level nil)
|
||||
(print-length nil)
|
||||
;; Remove comments, they break (let [...] ...) bindings
|
||||
(body (replace-regexp-in-string "^[ ]*;+.*$" "" body))
|
||||
(body (org-trim
|
||||
(concat
|
||||
;; Source block specified namespace :ns.
|
||||
|
@ -113,7 +115,7 @@ If the value is nil, timeout is disabled."
|
|||
(format "(let [%s]\n%s)"
|
||||
(mapconcat
|
||||
(lambda (var)
|
||||
(format "%S (quote %S)" (car var) (cdr var)))
|
||||
(format "%S %S" (car var) (cdr var)))
|
||||
vars
|
||||
"\n ")
|
||||
body))))))
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-comint.el --- Babel Functions for Interaction with Comint Buffers -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2009-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2009-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Eric Schulte
|
||||
;; Keywords: literate programming, reproducible research, comint
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-coq.el --- Babel Functions for Coq -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2010-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2010-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Eric Schulte
|
||||
;; Keywords: literate programming, reproducible research
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-core.el --- Working with Code Blocks -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2009-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2009-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Authors: Eric Schulte
|
||||
;; Dan Davison
|
||||
|
@ -38,6 +38,7 @@
|
|||
(defvar org-link-file-path-type)
|
||||
(defvar org-src-lang-modes)
|
||||
(defvar org-src-preserve-indentation)
|
||||
(defvar org-babel-tangle-uncomment-comments)
|
||||
|
||||
(declare-function org-at-item-p "org-list" ())
|
||||
(declare-function org-at-table-p "org" (&optional table-type))
|
||||
|
@ -238,7 +239,8 @@ should be asked whether to allow evaluation."
|
|||
(if (functionp org-confirm-babel-evaluate)
|
||||
(funcall org-confirm-babel-evaluate
|
||||
;; Language, code block body.
|
||||
(nth 0 info) (nth 1 info))
|
||||
(nth 0 info)
|
||||
(org-babel--expand-body info))
|
||||
org-confirm-babel-evaluate))))
|
||||
(cond
|
||||
(noeval nil)
|
||||
|
@ -622,6 +624,17 @@ a list with the following pattern:
|
|||
(setf (nth 2 info) (org-babel-generate-file-param name (nth 2 info)))
|
||||
info))))
|
||||
|
||||
(defun org-babel--expand-body (info)
|
||||
"Expand noweb references in body and remove any coderefs."
|
||||
(let ((coderef (nth 6 info))
|
||||
(expand
|
||||
(if (org-babel-noweb-p (nth 2 info) :eval)
|
||||
(org-babel-expand-noweb-references info)
|
||||
(nth 1 info))))
|
||||
(if (not coderef) expand
|
||||
(replace-regexp-in-string
|
||||
(org-src-coderef-regexp coderef) "" expand nil nil 1))))
|
||||
|
||||
;;;###autoload
|
||||
(defun org-babel-execute-src-block (&optional arg info params)
|
||||
"Execute the current source code block.
|
||||
|
@ -667,17 +680,7 @@ block."
|
|||
((org-babel-confirm-evaluate info)
|
||||
(let* ((lang (nth 0 info))
|
||||
(result-params (cdr (assq :result-params params)))
|
||||
;; Expand noweb references in BODY and remove any
|
||||
;; coderef.
|
||||
(body
|
||||
(let ((coderef (nth 6 info))
|
||||
(expand
|
||||
(if (org-babel-noweb-p params :eval)
|
||||
(org-babel-expand-noweb-references info)
|
||||
(nth 1 info))))
|
||||
(if (not coderef) expand
|
||||
(replace-regexp-in-string
|
||||
(org-src-coderef-regexp coderef) "" expand nil nil 1))))
|
||||
(body (org-babel--expand-body info))
|
||||
(dir (cdr (assq :dir params)))
|
||||
(mkdirp (cdr (assq :mkdirp params)))
|
||||
(default-directory
|
||||
|
@ -2488,7 +2491,7 @@ in the buffer."
|
|||
(if (memq (org-element-type element)
|
||||
;; Possible results types.
|
||||
'(drawer example-block export-block fixed-width item
|
||||
plain-list src-block table))
|
||||
plain-list special-block src-block table))
|
||||
(save-excursion
|
||||
(goto-char (min (point-max) ;for narrowed buffers
|
||||
(org-element-property :end element)))
|
||||
|
@ -2502,16 +2505,19 @@ If the `default-directory' is different from the containing
|
|||
file's directory then expand relative links."
|
||||
(when (stringp result)
|
||||
(let ((same-directory?
|
||||
(and buffer-file-name
|
||||
(and (buffer-file-name (buffer-base-buffer))
|
||||
(not (string= (expand-file-name default-directory)
|
||||
(expand-file-name
|
||||
(file-name-directory buffer-file-name)))))))
|
||||
(expand-file-name
|
||||
(file-name-directory
|
||||
(buffer-file-name (buffer-base-buffer)))))))))
|
||||
(format "[[file:%s]%s]"
|
||||
(if (and default-directory buffer-file-name same-directory?)
|
||||
(if (and default-directory
|
||||
(buffer-file-name (buffer-base-buffer)) same-directory?)
|
||||
(if (eq org-link-file-path-type 'adaptive)
|
||||
(file-relative-name
|
||||
(expand-file-name result default-directory)
|
||||
(file-name-directory (buffer-file-name)))
|
||||
(file-name-directory
|
||||
(buffer-file-name (buffer-base-buffer))))
|
||||
(expand-file-name result default-directory))
|
||||
result)
|
||||
(if description (concat "[" description "]") "")))))
|
||||
|
@ -2764,11 +2770,12 @@ block but are passed literally to the \"example-block\"."
|
|||
(lambda (s)
|
||||
;; Comment, according to LANG mode,
|
||||
;; string S. Return new string.
|
||||
(with-temp-buffer
|
||||
(funcall (org-src-get-lang-mode lang))
|
||||
(comment-region (point)
|
||||
(progn (insert s) (point)))
|
||||
(org-trim (buffer-string)))))
|
||||
(unless org-babel-tangle-uncomment-comments
|
||||
(with-temp-buffer
|
||||
(funcall (org-src-get-lang-mode lang))
|
||||
(comment-region (point)
|
||||
(progn (insert s) (point)))
|
||||
(org-trim (buffer-string))))))
|
||||
(expand-body
|
||||
(lambda (i)
|
||||
;; Expand body of code blocked
|
||||
|
@ -2931,8 +2938,10 @@ situations in which is it not appropriate."
|
|||
(defun org-babel--string-to-number (string)
|
||||
"If STRING represents a number return its value.
|
||||
Otherwise return nil."
|
||||
(and (string-match-p "\\`-?\\([0-9]\\|\\([1-9]\\|[0-9]*\\.\\)[0-9]*\\)\\'" string)
|
||||
(string-to-number string)))
|
||||
(unless (string-match-p "\\s-" (org-trim string))
|
||||
(let ((interned-string (ignore-errors (read string))))
|
||||
(when (numberp interned-string)
|
||||
interned-string))))
|
||||
|
||||
(defun org-babel-import-elisp-from-file (file-name &optional separator)
|
||||
"Read the results located at FILE-NAME into an elisp table.
|
||||
|
@ -3055,7 +3064,9 @@ of `org-babel-temporary-directory'."
|
|||
(delete-file file)))
|
||||
;; We do not want to delete "." and "..".
|
||||
(directory-files org-babel-temporary-directory 'full
|
||||
"^\\([^.]\\|\\.\\([^.]\\|\\..\\)\\).*"))
|
||||
;; Note: Use `any' for compatibility
|
||||
;; with Emacs < 27.
|
||||
(rx (or (not (any ".")) "..."))))
|
||||
(delete-directory org-babel-temporary-directory))
|
||||
(error
|
||||
(message "Failed to remove temporary Org-babel directory %s"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-css.el --- Babel Functions for CSS -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2009-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2009-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Eric Schulte
|
||||
;; Keywords: literate programming, reproducible research
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-ditaa.el --- Babel Functions for ditaa -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2009-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2009-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Eric Schulte
|
||||
;; Keywords: literate programming, reproducible research
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-dot.el --- Babel Functions for dot -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2009-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2009-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Eric Schulte
|
||||
;; Keywords: literate programming, reproducible research
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-ebnf.el --- Babel Functions for EBNF -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2013-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2013-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Michael Gauland
|
||||
;; Keywords: literate programming, reproducible research
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-emacs-lisp.el --- Babel Functions for Emacs-lisp Code -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2009-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2009-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Eric Schulte
|
||||
;; Keywords: literate programming, reproducible research
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-eshell.el --- Babel Functions for Eshell -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2018-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2018-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: stardiviner <numbchild@gmail.com>
|
||||
;; Keywords: literate programming, reproducible research
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-eval.el --- Babel Functions for External Code Evaluation -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2009-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2009-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Eric Schulte
|
||||
;; Keywords: literate programming, reproducible research, comint
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-exp.el --- Exportation of Babel Source Blocks -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2009-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2009-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Authors: Eric Schulte
|
||||
;; Dan Davison
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-forth.el --- Babel Functions for Forth -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2014-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2014-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Eric Schulte
|
||||
;; Keywords: literate programming, reproducible research, forth
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-fortran.el --- Babel Functions for Fortran -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2011-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2011-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Authors: Sergey Litvinov
|
||||
;; Eric Schulte
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-gnuplot.el --- Babel Functions for Gnuplot -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2009-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2009-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Eric Schulte
|
||||
;; Keywords: literate programming, reproducible research
|
||||
|
@ -35,7 +35,7 @@
|
|||
|
||||
;; - gnuplot :: http://www.gnuplot.info/
|
||||
;;
|
||||
;; - gnuplot-mode :: http://cars9.uchicago.edu/~ravel/software/gnuplot-mode.html
|
||||
;; - gnuplot-mode :: you can search the web for the latest active one.
|
||||
|
||||
;;; Code:
|
||||
(require 'ob)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-groovy.el --- Babel Functions for Groovy -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2013-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2013-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Miro Bezjak
|
||||
;; Keywords: literate programming, reproducible research
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-haskell.el --- Babel Functions for Haskell -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2009-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2009-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Eric Schulte
|
||||
;; Keywords: literate programming, reproducible research
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;; ob-hledger.el --- Babel Functions for hledger -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2010-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2010-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Simon Michael
|
||||
;; Keywords: literate programming, reproducible research, plain text accounting
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-io.el --- Babel Functions for Io -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2012-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2012-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Andrzej Lichnerowicz
|
||||
;; Keywords: literate programming, reproducible research
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-java.el --- Babel Functions for Java -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2011-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2011-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Eric Schulte
|
||||
;; Keywords: literate programming, reproducible research
|
||||
|
@ -69,7 +69,7 @@ parameters may be used, like javac -verbose"
|
|||
" " cmdline " " classname) "")))
|
||||
(org-babel-reassemble-table
|
||||
(org-babel-result-cond (cdr (assq :result-params params))
|
||||
(org-babel-read results)
|
||||
(org-babel-read results t)
|
||||
(let ((tmp-file (org-babel-temp-file "c-")))
|
||||
(with-temp-file tmp-file (insert results))
|
||||
(org-babel-import-elisp-from-file tmp-file)))
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-js.el --- Babel Functions for Javascript -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2010-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2010-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Eric Schulte
|
||||
;; Keywords: literate programming, reproducible research, js
|
||||
|
@ -65,7 +65,7 @@
|
|||
:safe #'stringp)
|
||||
|
||||
(defvar org-babel-js-function-wrapper
|
||||
"require('sys').print(require('sys').inspect(function(){\n%s\n}()));"
|
||||
"require('process').stdout.write(require('util').inspect(function(){%s}()));"
|
||||
"Javascript code to print value of body.")
|
||||
|
||||
(defun org-babel-execute:js (body params)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-latex.el --- Babel Functions for LaTeX -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2009-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2009-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Eric Schulte
|
||||
;; Keywords: literate programming, reproducible research
|
||||
|
@ -108,8 +108,11 @@ This function is called by `org-babel-execute-src-block'."
|
|||
(append (cdr (assq :packages params)) org-latex-packages-alist)))
|
||||
(cond
|
||||
((and (string-suffix-p ".png" out-file) (not imagemagick))
|
||||
(org-create-formula-image
|
||||
body out-file org-format-latex-options in-buffer))
|
||||
(let ((org-format-latex-header
|
||||
(concat org-format-latex-header "\n"
|
||||
(mapconcat #'identity headers "\n"))))
|
||||
(org-create-formula-image
|
||||
body out-file org-format-latex-options in-buffer)))
|
||||
((string-suffix-p ".tikz" out-file)
|
||||
(when (file-exists-p out-file) (delete-file out-file))
|
||||
(with-temp-file out-file
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-ledger.el --- Babel Functions for Ledger -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2010-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2010-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Eric S Fraga
|
||||
;; Keywords: literate programming, reproducible research, accounting
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-lilypond.el --- Babel Functions for Lilypond -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2010-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2010-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Martyn Jago
|
||||
;; Keywords: babel language, literate programming
|
||||
|
@ -67,12 +67,15 @@ the midi file is not automatically played. Default value is t")
|
|||
(defvar org-babel-lilypond-ly-command ""
|
||||
"Command to execute lilypond on your system.
|
||||
Do not set it directly. Customize `org-babel-lilypond-commands' instead.")
|
||||
|
||||
(defvar org-babel-lilypond-pdf-command ""
|
||||
"Command to show a PDF file on your system.
|
||||
Do not set it directly. Customize `org-babel-lilypond-commands' instead.")
|
||||
|
||||
(defvar org-babel-lilypond-midi-command ""
|
||||
"Command to play a MIDI file on your system.
|
||||
Do not set it directly. Customize `org-babel-lilypond-commands' instead.")
|
||||
|
||||
(defcustom org-babel-lilypond-commands
|
||||
(cond
|
||||
((eq system-type 'darwin)
|
||||
|
@ -94,7 +97,8 @@ you can leave the string empty on this case."
|
|||
:version "24.4"
|
||||
:package-version '(Org . "8.2.7")
|
||||
:set
|
||||
(lambda (_symbol value)
|
||||
(lambda (symbol value)
|
||||
(set symbol value)
|
||||
(setq
|
||||
org-babel-lilypond-ly-command (nth 0 value)
|
||||
org-babel-lilypond-pdf-command (nth 1 value)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-lisp.el --- Babel Functions for Common Lisp -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2009-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2009-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Authors: Joel Boehland
|
||||
;; Eric Schulte
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-lob.el --- Functions Supporting the Library of Babel -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2009-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2009-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Authors: Eric Schulte
|
||||
;; Dan Davison
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-lua.el --- Org Babel functions for Lua evaluation -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2014, 2016-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2014, 2016-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Authors: Dieter Schoen
|
||||
;; Keywords: literate programming, reproducible research
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-makefile.el --- Babel Functions for Makefile -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2009-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2009-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Eric Schulte
|
||||
;; Thomas S. Dye
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-matlab.el --- Babel support for Matlab -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2010-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2010-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Dan Davison
|
||||
;; Keywords: literate programming, reproducible research
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-maxima.el --- Babel Functions for Maxima -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2009-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2009-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Eric S Fraga
|
||||
;; Eric Schulte
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-msc.el --- Babel Functions for Mscgen -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2010-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2010-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Juan Pechiar
|
||||
;; Keywords: literate programming, reproducible research
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-ocaml.el --- Babel Functions for Ocaml -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2009-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2009-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Eric Schulte
|
||||
;; Keywords: literate programming, reproducible research
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-octave.el --- Babel Functions for Octave and Matlab -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2010-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2010-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Dan Davison
|
||||
;; Keywords: literate programming, reproducible research
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-org.el --- Babel Functions for Org Code Blocks -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2010-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2010-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Eric Schulte
|
||||
;; Keywords: literate programming, reproducible research
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-perl.el --- Babel Functions for Perl -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2009-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2009-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Authors: Dan Davison
|
||||
;; Eric Schulte
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-picolisp.el --- Babel Functions for Picolisp -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2010-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2010-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Authors: Thorsten Jolitz
|
||||
;; Eric Schulte
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-plantuml.el --- Babel Functions for Plantuml -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2010-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2010-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Zhang Weize
|
||||
;; Keywords: literate programming, reproducible research
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-processing.el --- Babel functions for processing -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2015-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2015-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Jarmo Hurri (adapted from ob-asymptote.el written by Eric Schulte)
|
||||
;; Keywords: literate programming, reproducible research
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-python.el --- Babel Functions for Python -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2009-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2009-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Authors: Eric Schulte
|
||||
;; Dan Davison
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-ref.el --- Babel Functions for Referencing External Data -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2009-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2009-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Authors: Eric Schulte
|
||||
;; Dan Davison
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-ruby.el --- Babel Functions for Ruby -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2009-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2009-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Eric Schulte
|
||||
;; Keywords: literate programming, reproducible research
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-sass.el --- Babel Functions for the Sass CSS generation language -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2009-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2009-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Eric Schulte
|
||||
;; Keywords: literate programming, reproducible research
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-scheme.el --- Babel Functions for Scheme -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2010-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2010-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Authors: Eric Schulte
|
||||
;; Michael Gauland
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-screen.el --- Babel Support for Interactive Terminal -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2009-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2009-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Benjamin Andresen
|
||||
;; Keywords: literate programming, interactive shell
|
||||
|
@ -126,7 +126,7 @@ The terminal should shortly flicker."
|
|||
;; XXX: need to find a better way to do the following
|
||||
(while (not (file-readable-p tmpfile))
|
||||
;; do something, otherwise this will be optimized away
|
||||
(format "org-babel-screen: File not readable yet."))
|
||||
(message "org-babel-screen: File not readable yet."))
|
||||
(setq tmp-string (with-temp-buffer
|
||||
(insert-file-contents-literally tmpfile)
|
||||
(buffer-substring (point-min) (point-max))))
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-sed.el --- Babel Functions for Sed Scripts -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2015-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2015-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Bjarte Johansen
|
||||
;; Keywords: literate programming, reproducible research
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-shell.el --- Babel Functions for Shell Evaluation -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2009-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2009-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Eric Schulte
|
||||
;; Keywords: literate programming, reproducible research
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ob-shen.el --- Babel Functions for Shen -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2010-2019 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2010-2020 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Eric Schulte
|
||||
;; Keywords: literate programming, reproducible research, shen
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue