Kyle Meyer
f874b69560
org-link-edit.el: Sync with upstream
...
Update to version 1.2.1 (b5493e2).
2020-04-20 22:10:31 -04:00
Nicolas Goaziou
048e0204d5
ox-koma-letter: Remove obsolete code
...
* contrib/lisp/ox-koma-letter.el: Remove obsolete code.
2020-04-06 14:51:35 +02:00
Nicolas Goaziou
625f8e6d9c
Merge branch 'maint'
2020-04-06 14:31:40 +02:00
Nicolas Goaziou
e1961c543a
ox-koma-letter: Handle empty hyperref LaTeX template
...
* contrib/lisp/ox-koma-letter.el (org-koma-letter-template): Value
for :latex-hyperref-template can be nil. Handle this case.
Reported-by: Charles Millar <millarc@verizon.net>
<http://lists.gnu.org/r/emacs-orgmode/2020-04/msg00025.html >
2020-04-06 14:30:35 +02:00
Kyle Meyer
cf04f0837d
Merge branch 'maint'
2020-03-04 22:43:58 -05:00
Štěpán Němec
7454d20189
org-eldoc: Use eldoc-documentation-functions when available
...
This reflects recent changes in GNU Emacs master branch:
2020-02-25T17:53:04-05:00!mvoteiza@udel.edu
c0fcbd2c11 (Expose ElDoc functions in a hook (Bug#28257))
* lisp/org-eldoc.el (org-eldoc-load):
Use 'eldoc-documentation-functions' when available.
2020-03-04 22:43:39 -05:00
stardiviner
97d0514b0b
contrib/lisp/ob-php.el: Support change evaluate command specify options.
...
* contrib/lisp/ob-php.el (org-babel-php-command): Add new customizable
option `org-babel-php-command` to change default command.
* contrib/lisp/ob-php.el (org-babel-php-command-options): Add new
customizable option `org-babel-php-command-options` to specify
command options.
* contrib/lisp/ob-php.el (org-babel-execute:php): Use new commands in
execute function.
2020-02-20 18:48:35 +01:00
Nicolas Goaziou
f4bed78a19
Move custom links to new tooling
...
* contrib/lisp/ol-bookmark.el (org-bookmark-open):
* contrib/lisp/ol-elisp-symbol.el (elisp-symbol-open):
* contrib/lisp/ol-git-link.el (org-gitbare-open):
(org-git-open):
* contrib/lisp/ol-man.el (org-man-open):
* contrib/lisp/ol-mew.el (org-mew-open):
* contrib/lisp/ol-notmuch.el (org-notmuch-open):
(org-notmuch-search-open):
(org-notmuch-tree-open):
* contrib/lisp/ol-vm.el (org-vm-open):
(org-vm-imap-open):
* contrib/lisp/ol-wl.el (org-wl-open):
* contrib/lisp/org-mac-link.el (org-mac-together-item-open):
(org-mac-addressbook-item-open):
(org-mac-skim-open):
(org-mac-acrobat-open):
(org-mac-outlook-message-open):
(org-mac-evernote-note-open):
(org-devonthink-item-open):
(org-mac-message-open):
* contrib/lisp/org-mairix.el (org-mairix-open):
* lisp/ol-bbdb.el (org-bbdb-export):
(org-bbdb-open):
* lisp/ol-bibtex.el (org-bibtex-open):
* lisp/ol-docview.el (org-docview-open):
* lisp/ol-eshell.el (org-eshell-open):
* lisp/ol-eww.el ("eww"):
* lisp/ol-gnus.el (org-gnus-open):
* lisp/ol-info.el (org-info-open):
* lisp/ol-irc.el (org-irc-visit):
* lisp/ol-mhe.el (org-mhe-open):
* lisp/ol-rmail.el ("rmail"):
(org-rmail-open):
* lisp/ol.el (org-link--open-doi):
(org-link--open-elisp):
(org-link--open-help):
(org-link--open-shell):
* lisp/org-id.el (org-id-open):
* testing/lisp/test-ox.el (test-org-export/custom-protocol-maybe): Use
new tooling.
* doc/org-manual.org (Adding Hyperlink Types): Adapt example.
2020-02-19 18:42:50 +01:00
Nicolas Goaziou
ab9166ad29
Extend export tooling in link parameters
...
* lisp/ol.el (org-link-parameters): Allow a fourth "info" argument for
`:export' property. Expound docstring.
* lisp/ox.el (org-export-custom-protocol-maybe): Accept a fourth
optional argument.
* lisp/ox-ascii.el (org-ascii--describe-links):
(org-ascii-link):
* lisp/ox-beamer.el (org-beamer-link):
* lisp/ox-html.el (org-html-link):
* lisp/ox-latex.el (org-latex-link):
* lisp/ox-man.el (org-man-link):
* lisp/ox-md.el (org-md-link):
* lisp/ox-odt.el (org-odt-link):
* lisp/ox-org.el (org-org-link):
* lisp/ox-texinfo.el (org-texinfo-link):
* contrib/lisp/ox-groff.el (org-groff-link): Provide expected fourth
argument.
* lisp/ox.el (org-export-link-as-file): New function.
* lisp/ol.el (org-link-parameters): Add reference to new function in docstring.
* testing/lisp/test-ox.el (test-org-export/link-as-file): Add tests.
(test-org-export/custom-protocol-maybe): Update tests.
2020-02-19 18:41:37 +01:00
Nicolas Goaziou
ebf8b39ae6
Merge branch 'maint'
2020-01-21 22:39:36 +01:00
Nicolas Goaziou
5712412b5d
ox-taskjuggler: Use effort property as-is
...
* contrib/lisp/ox-taskjuggler.el (org-taskjuggler--build-task): Use
effort property as-is instead of applying `org-duration-to-minutes'.
Reported-by: Benjamin Kästner <benjamin.kaestner@googlemail.com>
2020-01-21 22:36:29 +01:00
Nicolas Goaziou
1ffb390fda
Merge branch 'maint'
2020-01-11 17:02:19 +01:00
Nicolas Goaziou
309cdcfab4
ol-notmuch: Silence byte-compiler
2020-01-11 17:02:00 +01:00
Nicolas Goaziou
38619504ed
Merge branch 'maint'
2020-01-11 17:00:45 +01:00
Nicolas Goaziou
b3e5c1cbff
ol-notmuch: Fix file name in comments, remove (require 'org)
2020-01-11 16:59:51 +01:00
Nicolas Goaziou
ffb3f9e568
Merge branch 'maint'
2020-01-09 17:49:56 +01:00
Nicolas Goaziou
5f47639ec3
ol-man: Silence byte-compiler
2020-01-09 17:48:12 +01:00
Kyle Meyer
93c11da002
Merge branch 'maint'
2020-01-01 13:39:26 -05:00
Kyle Meyer
ff5fc050d3
Update copyright year to 2020
2020-01-01 13:38:46 -05:00
Kyle Meyer
a95f49c1f0
Merge branch 'maint'
2019-12-16 23:01:45 -05:00
Gregor Zattler
86c7a22ce4
org-screen.el: Replace obsolete function
...
* contrib/lisp/org-screen.el (org-screen): Replace obsolete function
`insert-string' with `insert'.
TINYCHANGE
2019-12-16 23:01:37 -05:00
Kyle Meyer
a4fa04bbd4
Merge branch 'master' into next
2019-11-16 17:19:11 -05:00
Jonas Bernoulli
5117d8a159
Fix typos
2019-11-16 17:17:36 -05:00
Gustav Wikström
1bdff9f73d
Org document property-drawers
...
Add functionality to define property-blocks on document level, in
addition to at headline level.
* doc/org-manual.org:
* etc/ORG-NEWS: Document new functionality.
* lisp/org.el (org-keyword-regexp): Define constant instead of
hardcoding.
(org-file-properties): Renamed, see next line.
(org-keyword-properties): Renamed from above. Due to the fact that
properties can be defined for the whole document using property
drawers this local variable needs a rename to make its name less
ambigous.
(org-refresh-properties, org-refresh-property, org-entry-properties)
(org-refresh-category-properties, org-get-property-block)
(org-entry-get-with-inheritance, org-entry-put)
(org-insert-property-drawer, org-end-of-subtree): Made to work before
first headline.
(org-at-property-block-p): New function to validate if point is at the
start of a property block.
(org-property-global-value): Renamed, see next line.
(org-property-global-or-keyword-value): Renamed from above to match
its functionality better.
(org-back-to-heading-or-point-min): New function to make a document
work as a level 0 node in the outline.
(org-at-keyword-p): Predicate function to answer to if we're currently
at a keyword line or not.
(org-up-heading-or-point-min): New function to make a document work as
a level 0 node in the outline.
* lisp/org-element.el (org-element--current-element): Can now detect
property-blocks before first headline according to it's positional
rules.
* lisp/org-attach.el (org-attach): Make it possible to call the
attachment dispatcher also before the first headline, since document
property drawers make attachments possible for the whole document
now.
* lisp/org-capture.el: Modified only due to rename of function in
org.el.
* lisp/org-compat.el (org-file-properties)
(org-property-global-value): Renamed functions declared obsolete.
* testing/lisp/test-org.el (org/insert-property-drawer)
(org/set-property, org/delete-property, org/delete-property-globally):
Additions of tests to check if they work before first headline.
(org/at-property-p, org/at-property-block-p, org/get-property-block)
(org/entry-get, org/refresh-properties): New tests
* testing/examples/property-inheritance.org: Switch from
property-keywords to a property-drawer in the testfile.
Functionality should be the same, but now using a document drawer
instead of property-keywords.
Reason for switching is that I'd like us to slowly depricate
property-keywords.
* testing/lisp/test-org-element.el:
* contrib/lisp/ox-taskjuggler.el: A comment is modified only due to
rename of function in org.el.
2019-10-19 14:07:58 +02:00
Nicolas Goaziou
a18edf4524
Merge branch 'maint'
2019-07-16 15:24:50 +02:00
Tim Landscheidt
1c3eae8f37
ox-rss: Fix typos
2019-07-16 15:24:18 +02:00
Nicolas Goaziou
2c8e8b4a18
contrib: Remove Org Drill
...
* contrib/README:
* lisp/org.el (org-modules): Remove reference to Org Drill.
contrib/lisp/org-drill.el: Remove file.
Org Drill is now developed externally, and available through an
ELPA (MELPA at this point).
2019-07-11 22:55:02 +02:00
Marco Wahl
4e6222f188
contrib/org-attach-embedded-images: switch to attachment type links
2019-07-09 19:52:19 +02:00
Kyle Meyer
b0add090cd
Update stale link-related library names
...
* contrib/lisp/org-bibtex-extras.el: Update for rename of org-bibtex
to ol-bibtex.
* lisp/ox-icalendar.el: Update for rename of org-bbdb to ol-bbdb.
Reported-by: Jonas Bernoulli <jonas@bernoul.li>
<https://lists.gnu.org/archive/html/emacs-orgmode/2019-04/msg00143.html >
2019-04-20 15:02:54 -04:00
Pierre Neidhardt
ea4876869c
ol-notmuch: Make distinct link types for search view and tree view
...
* contrib/lisp/ol-notmuch.el (org-notmuch-search-open-function): Deprecate.
(org-notmuch-tree-store-link): New function.
(org-notmuch-tree-open): New function.
"notmuch-tree": Set new "notmuch-tree" parameters with the above functions.
2019-04-10 15:16:56 +02:00
Nicolas Goaziou
285486c23b
org-eldoc: Fix error on shell source blocks
...
* contrib/lisp/org-eldoc.el (org-eldoc-get-mode-local-documentation-function):
Handle `org-src-lang-modes' correctly.
2019-04-07 09:16:54 +02:00
Nicolas Goaziou
7cd850a3ef
Merge branch 'maint'
2019-04-07 08:58:43 +02:00
Nicolas Goaziou
4ba6de43d4
org-drill: Fix void function error
...
* contrib/lisp/org-drill.el (org-drill--compute-cloze-keywords):
(org-drill-get-item-data): Tiny refactoring to not use `copy-list'.
lignes
2019-04-07 08:57:12 +02:00
Nicolas Goaziou
50c5c2ac4d
ol-notmuch: Allow capturing from tree view
...
* contrib/lisp/ol-notmuch.el (org-notmuch-store-link): Allow capturing
from tree view.
Reported-by: Pierre Neidhardt <mail@ambrevar.xyz>
<http://lists.gnu.org/r/emacs-orgmode/2019-03/msg00235.html >
2019-04-03 12:54:53 +02:00
Nicolas Goaziou
2b00d62816
Change bracket link escape syntax
...
* contrib/lisp/org-link-edit.el (org-link-edit--link-data):
* lisp/ob-tangle.el (org-babel-tangle-comment-links): Update match-group.
(org-babel-detangle): Remove unnecessary `org-link-escape' call.
(org-babel-tangle-jump-to-org): Update match group.
(org-link-url-hexify):
(org-link-escape-chars): Remove variables.
* lisp/ol.el (org-link--decode-compound): Renamed from
`org-link--unescape-compound'.
(org-link--decode-single-byte-sequence): Renamed from
`org-link--unescape-single-byte-sequence'.
(org-link-make-regexps): Update `org-link-bracket-re' syntax.
(org-link-encode): New function, renamed from `org-link-escape'.
(org-link-decode): New function, renamed from `org-link-unescape'.
(org-link-escape):
(org-link-unescape): Use new escape syntax.
(org-link-make-string): Apply new escaping rules.
(org-link-display-format):
(org-insert-link): Update match group.
* lisp/org-agenda.el (org-diary):
(org-agenda-format-item):
(org-agenda-to-appt): Update match group.
* lisp/org-clock.el (org-clocktable-write-default): Update match group.
* lisp/org-element.el (org-element-link-parser): Update match group.
* lisp/org-mobile.el (org-mobile-escape-olp):
(org-mobile-locate-entry): Apply function renaming.
* lisp/org-protocol.el (org-protocol-split-data):
(org-protocol-parse-parameters): Apply function renaming.
* lisp/org.el (org-refile): Update match group.
* testing/README (Interactive testing from within Emacs): Fix
examples.
* testing/lisp/test-ol.el (test-ol/encode): Merge old escape tests.
(test-ol/decode): Merge old unescape tests.
(test-ol/escape):
(test-ol/unescape):
(test-ol/make-string): New tests.
* testing/lisp/test-org-clock.el (test-org-clock/clocktable/link):
* testing/lisp/test-org.el (test-org/custom-id):
(test-org/fuzzy-links):
* testing/lisp/test-ox.el (test-org-export/resolve-fuzzy-link): Update
tests.
2019-03-10 18:00:36 +01:00
Nicolas Goaziou
6c9d0e86b1
Fix function declarations
2019-03-10 18:00:36 +01:00
Nicolas Goaziou
499c0a50cc
Prefix link-related libraries filenames with "ol"
...
* lisp/org.el (org-modules): Update provided symbols.
2019-03-10 18:00:36 +01:00
Nicolas Goaziou
a486d9cbd7
Move link-related core functions out of "org.el"
...
* contrib/lisp/org-wl.el (org-wl-store-link-message):
* lisp/Makefile (clean-install):
* lisp/ob-core.el (org-link-bracket-re):
(org-babel-open-src-block-result):
(org-babel-read-element):
(org-babel-read-link):
(org-babel-result-end):
* lisp/ob-tangle.el (org-link-bracket-re):
(org-babel-tangle-single-block):
(org-link-analytic-bracket-re):
(org-babel-detangle):
(org-babel-tangle-jump-to-org):
* lisp/ol.el:
* lisp/org-agenda.el (org-agenda-get-some-entry-text):
(org-diary):
(org-agenda-format-item):
(org-agenda-open-link):
(org-agenda-switch-to):
(org-agenda-to-appt):
* lisp/org-bbdb.el (org-bbdb-store-link):
* lisp/org-bibtex.el (org-bibtex-store-link):
* lisp/org-capture.el (org-capture-fill-template):
* lisp/org-clock.el (org-clocktable-write-default):
(org-clock-get-table-data):
* lisp/org-compat.el (org-doi-server-url):
(org-email-link-description-format):
(org-make-link-description-function):
(org-from-is-user-regexp):
(org-descriptive-links):
(org-url-hexify-p):
(org-context-in-file-links):
(org-keep-stored-link-after-insertion):
(org-display-internal-link-with-indirect-buffer):
(org-confirm-shell-link-function):
(org-confirm-shell-link-not-regexp):
(org-confirm-elisp-link-function):
(org-confirm-elisp-link-not-regexp):
(org-file-complete-link):
(org-email-link-description):
(org-make-link-string):
(org-store-link-props):
(org-add-link-props):
(org-make-link-regexps):
(org-angle-link-re):
(org-plain-link-re):
(org-bracket-link-regexp):
(org-bracket-link-analytic-regexp):
(org-any-link-re):
* lisp/org-docview.el (org-docview-store-link):
(org-docview-complete-link):
* lisp/org-element.el (org-element-link-parser):
* lisp/org-eshell.el (org-eshell-store-link):
* lisp/org-eww.el (org-eww-store-link):
(org-eww-copy-for-org-mode):
* lisp/org-footnote.el (org-footnote-next-reference-or-definition):
* lisp/org-gnus.el (org-gnus-article-link):
(org-gnus-store-link):
* lisp/org-id.el (org-id-store-link):
* lisp/org-info.el (org-info-store-link):
* lisp/org-irc.el (org-irc-erc-store-link):
* lisp/org-mhe.el (org-mhe-store-link):
* lisp/org-pcomplete.el (pcomplete/org-mode/searchhead):
* lisp/org-protocol.el (org-protocol-do-capture):
* lisp/org-rmail.el (org-rmail-store-link):
* lisp/org-w3m.el (org-w3m-store-link):
(org-w3m-copy-for-org-mode):
2019-03-10 18:00:27 +01:00
Nicolas Goaziou
819864aebb
Merge branch 'maint'
2019-02-27 21:56:36 +01:00
Nicolas Goaziou
cc7c4a6732
Rationalize `org-link-(un)escape'
...
* contrib/lisp/org-contacts.el (org-contacts-vcard-format):
* contrib/lisp/org-link-edit.el (org-link-edit--link-data):
* contrib/lisp/org-notmuch.el (org-notmuch-search-store-link):
(org-notmuch-search-follow-link):
(org-notmuch-tree-follow-link):
* lisp/org-docview.el (org-docview-export):
* lisp/org-element.el (org-element-link-parser):
* lisp/org-lint.el (org-lint-link-to-local-file):
* lisp/org-protocol.el (org-protocol-split-data):
(org-protocol-parse-parameters):
* lisp/org.el (org-open-at-point):
(org-display-inline-images):
* lisp/ox-ascii.el (org-ascii-link):
* lisp/ox-html.el (org-html-link):
* lisp/ox-latex.el (org-latex--inline-image):
(org-latex-link):
* lisp/ox-publish.el (org-publish-resolve-external-link):
* lisp/ox.el (org-export-custom-protocol-maybe):
(org-export-resolve-fuzzy-link): Do not call `org-link-unescape' when
the link is obtained through the parser or as a user input.
* doc/org-manual.org (Link Format): Document escape syntax.
See <http://lists.gnu.org/r/emacs-orgmode/2019-02/msg00320.html >
2019-02-27 20:22:51 +01:00
Nicolas Goaziou
6d9022df22
Make LaTeX preview toggle more useful and predictable
...
* lisp/org.el (org-remove-highlights-with-change):
(org-mode): Update.
(org--format-latex-make-overlay):
(org--list-latex-overlays): Remove functions.
(org--make-preview-overlay):
(org-clear-latex-preview):
(org--latex-preview-region):
(org-latex-preview): New functions.
(org-format-latex): Use new function
* lisp/org-compat.el (org-toggle-latex-fragment):
(org-remove-latex-fragment-image-overlays): Deprecate.
* doc/org-manual.org (Previewing LaTeX fragments): Update
documentation about `org-latex-preview'.
See <http://lists.gnu.org/archive/html/emacs-orgmode/2019-02/msg00138.html >.
2019-02-14 00:14:25 +01:00
Nicolas Goaziou
8cdafd13f5
Merge branch 'maint'
2019-02-03 14:51:35 +01:00
stardiviner
d6130e5129
org-drill: Add auto pronounce feature
...
* contrib/lisp/org-drill.el (org-drill-entry,
org-drill-entry-before-hook, org-drill-entry-after-hook): Add two
hooks around `org-drill-entry'.
(org-drill-auto-pronounce):
(org-drill-pronounce-command,org-drill-pronounce-command-args): New
functions.
(org-drill-pronounce-word): New function.
(org-drill-hide-subheadings-if): Fix issue in Org 9.2 version.
2019-02-03 14:51:05 +01:00
Nicolas Goaziou
fb5e3e8ab4
Merge branch 'master' into next
2018-11-25 10:08:03 +01:00
Aaron Jensen
f33fa994b9
org-mac-link: Add support for Brave
...
* contrib/lisp/org-mac-link.el (org-mac-grab-Brave-app-p)
(org-mac-grab-link, org-as-mac-brave-get-frontmost-url)
(org-mac-brave-get-frontmost-url)
(org-mac-brave-insert-frontmost-url): Add support for Brave
2018-11-25 10:07:06 +01:00
stardiviner
4456dc8809
ob-clojure: Support `org-babel-initiate-session'
...
* ob-clojure.el (org-babel-clojure-initiate-session): Initialize session
for source block.
(org-babel-prep-session:clojure): Prepare Clojure session.
(org-babel-clojure-var-to-clojure): Convert header argument :var into
clojure variables definitions.
(org-babel-variable-assignments:clojure): Support assigning variables
when initializing a session.
2018-10-25 10:28:41 +02:00
Marco Wahl
f79545f960
contrib/org-attach-embedded-images.el: Attach embedded images
...
This module provides command `org-attach-embedded-images-in-subtree'
to save such images as attachments and insert org links to them. Each
image is named with its sha1 sum.
2018-07-19 17:53:41 +02:00
Marco Wahl
76e38e8c54
ox-koma-letter: Fix: Respect The "closing" Tag
...
* contrib/lisp/ox-koma-letter.el (org-koma-letter-template): Compare
special-tag to string instead of symbol. BTW indented and
rearranged a few lines code.
2018-07-14 12:38:08 +02:00
Marco Wahl
8aed6ba3ed
ox-koma-letter: Fix variable name
2018-07-13 17:54:45 +02:00
Nicolas Goaziou
7d9e4da447
Prevent spurious newline character in fixed-width area value
...
* lisp/org-element.el (org-element-fixed-width-parser): Prevent
spurious newline character at the end of the value.
* lisp/ox-latex.el (org-latex-fixed-width):
* lisp/ox-man.el (org-man-fixed-width):
* lisp/ox-texinfo.el (org-texinfo-fixed-width):
* contrib/lisp/ox-groff.el (org-groff-fixed-width): Adapt to change.
* testing/lisp/test-org-element.el (test-org-element/fixed-width-parser):
Update tests.
Reported-by: 孙振祥 <sunznx@icloud.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2018-07/msg00003.html >
2018-07-02 00:24:38 +02:00
Grant Rettke
27381411ca
ox-koma-letter: Add FROM_LOGO examples
...
FROM_LOGO uses LaTeX markup probably unfamiliar to the user.
This example provides detailed documentation and examples of its use.
2018-06-27 16:20:44 +02:00
Nicolas Goaziou
f5d5a95018
ox-koma-letter: Tiny refactoring and cosmetics
2018-06-23 23:33:37 +02:00
Nicolas Goaziou
a8677adb49
ox-koma-letter: Fix closing part
...
* contrib/lisp/ox-koma-letter.el (org-koma-letter--build-settings): Do
not translate closing part twice.
Reported-by: Tobias Zawada <i_inbox@tn-home.de>
<http://lists.gnu.org/r/emacs-orgmode/2018-06/msg00315.html >
2018-06-23 23:22:03 +02:00
stardiviner
4bd7df57d0
ob-clojure-literate: Don't enable ob-clojure-literate-mode by default.
...
* contrib/lisp/ob-clojure-literate.el (ob-clojure-literate-auto-jackin):
Handle the case that detect cider-jack-in is executed but not connected,
and ob-clojure-literate-mode is enabled already.
* contrib/lisp/ob-clojure-literate.el (ob-clojure-literate-mode): Don't
enable ob-clojure-literate-mode by default.
2018-05-03 21:54:18 +02:00
Grant Rettke
bc37b32580
ox-koma-letter.el Adds from-logo variable
...
* ox-koma-letter.el (org-export-define-derived-backend, org-koma-letter--build-settings): Adds
from-logo handling and supporting variables
`org-koma-letter-from-logo' and `org-koma-letter-use-from-logo'.
TINYCHANGE
2018-04-28 08:31:14 +02:00
Bastien
8fd176ee76
Merge branch 'maint' into wip
2018-04-27 01:09:51 +02:00
Martin Kampas
fd4ade40ed
org-collector.el: Inhibit lisp evaluation of headlines
...
* contrib/lisp/org-collector.el (org-propview-collect): Inhibit lisp
evaluation of headlines
This fixes org-collector usage for items starting with a hyperlink,
which would be incorrectly treated as lisp code.
2018-04-26 14:07:58 +02:00
Nicolas Goaziou
edc159c2f2
Remove `org-get-tags-string'
...
* lisp/org.el (org-get-tags-string): Move to "org-compat".
(org-make-tag-string): New function
(org-set-tags-to):
(org-set-tags):
(org-set-current-tags-overlay):
(org-entry-properties):
(org-agenda-prepare-buffers):
* lisp/org-mouse.el (org-mouse-set-tags):
* lisp/ox-ascii.el (org-ascii--build-title):
* lisp/ox-beamer.el (org-beamer-select-environment):
* lisp/ox-latex.el (org-latex-format-inlinetask-default-function):
* lisp/ox-md.el (org-md-headline):
(org-md--build-toc):
* lisp/ox-texinfo.el (org-texinfo-format-headline-default-function):
(org-texinfo-format-inlinetask-default-function):
* contrib/lisp/ox-groff.el (org-groff-headline):
(org-groff-inlinetask): Use new function.
* lisp/org-compat.el (org-get-tags-string): New function.
2018-04-19 11:52:07 +02:00
Nicolas Goaziou
7d2ebc3ffa
Deprecate org-get-local-tags' and
org-get-local-tags-at'
...
* contrib/lisp/org-drill.el (org-drill-entry-p):
(org-drill-entry-leech-p):
* lisp/org-bibtex.el (org-bibtex-headline):
(org-get-local-tags-at): Use `org-get-tags'.
* lisp/org.el (org-get-local-tags-at):
(org-get-local-tags): Move to...
* lisp/org-compat.el: ... here.
2018-04-19 11:51:54 +02:00
Nicolas Goaziou
f05493504a
Replace org-get-tags-at' with
org-get-tags'
...
* contrib/lisp/org-drill.el (org-part-of-drill-entry-p):
* lisp/org-agenda.el (org-agenda-finalize):
(org-search-view):
(org-agenda-get-todos):
(org-agenda-get-timestamps):
(org-agenda-get-sexps):
(org-agenda-get-progress):
(org-agenda-get-deadlines):
(org-agenda-get-scheduled):
(org-agenda-get-blocks):
(org-agenda-change-all-lines):
* lisp/org-bibtex.el (org-bibtex-headline):
* lisp/org-clock.el (org-clock-get-table-data):
* lisp/org-pcomplete.el (org-get-tags):
* lisp/org.el (org-trust-scanner-tags):
(org-get-local-tags-at):
(org-get-local-tags):
(org-set-tags):
(org-map-entries):
(org-entry-properties): Use `org-get-tags' instead of
`org-get-tags-at'.
2018-04-19 11:51:54 +02:00
stardiviner
280e3c9b53
ob-clojure-literate: Remove dependency on Dash
...
* contrib/lisp/ob-clojure-literate.el (ob-clojure-literate-get-session-list):
(ob-clojure-literate-set-session):
(ob-clojure-literate-auto-jackin):
(ob-clojure-literate-set-local-cider-connections): Remove dependency
on Dash library.
2018-04-16 12:09:12 +02:00
stardiviner
2a315ab59d
ob-clojure-literate: Handle no :file specified file is nil case
...
* ob-clojure-literate.el (ob-clojure-literate-inject-code): Handle
no :file specified file is nil case.
2018-04-14 18:21:59 +02:00
stardiviner
46d841d064
* ob-clojure-literate: Get session from global connections list
...
* contrib/lisp/ob-clojure-literate.el (ob-clojure-literate-get-session-list):
(org-babel-map): Get session from global connections list.
(ob-clojure-literate-specify-session): Renamed from
`ob-clojure-literate-specify-session-header-argument'.
2018-04-14 18:21:59 +02:00
stardiviner
8835ee750e
* ob-clojure-literate: Support vars initialization when prepare session
...
* contrib/lisp/ob-clojure-literate.el (org-babel-clojure-var-to-clojure):
(org-babel-variable-assignments:clojure): Support vars initialization
when prepare session.
2018-04-14 17:54:02 +02:00
stardiviner
0104bea3ad
* ob-clojure-literate: Support use :ns header argument
...
* contrib/lisp/ob-clojure-literate.el (ob-clojure-literate-set-ns):
Renamed from `ob-clojure-literate-cider-do-not-find-ns'
(ob-clojure-literate-enable):
(ob-clojure-literate-disable): Support use :ns header argument.
2018-04-14 17:52:58 +02:00
stardiviner
5a1a1f3d9a
* ob-clojure-literate: CIDER jack-in outside of project by default
...
* contrib/lisp/ob-clojure-literate.el (ob-clojure-literate-project-location):
(ob-clojure-literate-default-session):
(ob-clojure-literate-auto-jackin): CIDER jack-in outside of project by
default.
2018-04-14 17:51:15 +02:00
Nicolas Goaziou
36170429c3
Merge branch 'maint'
2018-04-10 20:10:47 +02:00
Jay Kamat
1553aae994
org-notify: Fix an error in `org-notify-process' when unconfigured
...
* contrib/lisp/org-notify.el (org-notify-todo-list): Return nil if
`org-agenda-files' is nil.
2018-04-10 20:10:24 +02:00
Nicolas Goaziou
18082bcdc9
Merge branch 'maint'
2018-03-25 23:29:02 +02:00
Maxim Cournoyer
5b6e099a6b
contrib: ob-sclang: Fix compilation issue.
...
* contrib/lisp/ob-sclang.el: Require sclang instead of sclang-interp.
2018-03-25 23:28:42 +02:00
stardiviner
6cf5fc0fc1
ob-clojure-litterate: Fix trigger functions.
...
* ob-clojure-literate.el (ob-clojure-literate-enable,
ob-clojure-literate-disable): Put advice into
ob-clojure-literate-mode trigger functions.
2018-03-14 17:03:33 +01:00
Marc Ihm
bb5e79e2e8
removed org-index.el in favor of melpa
2018-03-11 08:24:39 +01:00
stardiviner
6f976f1947
* ob-clojure-literate.el support graphics inline image link result.
...
(ob-clojure-literate-inject-code): save Clojure image variable to :file.
(ob-clojure-literate-support-graphics-result): fix src block does handle
graphics file result issue.
Use it like this:
,#+begin_src clojure :cache no :dir "data/images" :results graphics :file "ob-clojure-literate.png"
(use '(incanter core stats datasets charts io pdf))
(def ob-clojure-literate (histogram (sample-normal 1000)))
,#+end_src
2018-03-02 14:22:44 +08:00
stardiviner
2e6922191e
* ob-lua.el: remove it.
...
original ob-lua exists already.
2018-02-14 18:22:45 +08:00
stardiviner
90dfba15a6
* ob-clojure-literate.el (Clojure Literate Programming in Org-mode): Add.
...
Stable version.
2018-02-10 08:31:06 +08:00
stardiviner
1c60511672
* ob-spice.el (supporting spice in Org-mode Babel): Add.
...
Copied version.
2018-02-10 08:28:40 +08:00
stardiviner
8b50e6cf5a
* ob-smiles.el (supporting SMILES in Org-mode Babel): Add.
...
Copied version.
2018-02-10 08:25:53 +08:00
stardiviner
f643a75bd1
* ob-redis.el (supporting Redis in Org-mode Babel): Add.
...
First version.
2018-02-10 08:17:36 +08:00
stardiviner
8a58a9fd46
* ob-php.el (supporting PHP in Org-mode Babel): Add.
...
First version.
2018-02-10 08:16:29 +08:00
stardiviner
43c0354811
* ob-lua.el (supporting Lua in Org-mode Babel): Add.
...
First version.
2018-02-10 08:13:53 +08:00
bzg
6c5f5acf86
Merge branch 'ob-arduino' of stardiviner/org-mode into master
2018-02-07 10:18:02 +00:00
stardiviner
2f2d7552b9
* ob-arduino.el (supporting Arduino in Org-mode Babel): Add.
...
First version.
2018-02-07 17:37:30 +08:00
Marc Ihm
7276466c4e
patchlevel for org-index.el
2018-02-06 20:52:23 +01:00
Nicolas Goaziou
0155441358
Merge branch 'maint'
2018-01-19 18:22:00 +01:00
Tim Landscheidt
b289a65be7
Use https for links to orgmode.org
...
TINYCHANGE
2018-01-19 18:14:58 +01:00
Nicolas Goaziou
b6787009b0
Merge branch 'maint'
2018-01-15 23:02:55 +01:00
Peter Münster
1fd92b6637
Replace calls to obsolete macros
...
* contrib/lisp/org-notify.el: Replace flet with cl-letf and macrolet
with cl-macrolet.
2018-01-15 23:02:23 +01:00
Jay Kamat
57a1ece335
Respect :urgency tags for org-notify windows
...
* contrib/lisp/org-notify.el (org-notify-action-notify): pass :urgency
to notifications-notify.
2018-01-15 16:23:15 +01:00
Marc Ihm
8f3156c945
Version 5.7.4 or org-index.el
2018-01-09 21:07:21 +01:00
Kyle Meyer
d94f7024bc
Merge branch 'maint'
2018-01-07 00:28:35 -05:00
Kyle Meyer
3e1641ef0a
Update copyright years
2018-01-07 00:27:54 -05:00
Marc Ihm
8f3077d14a
v5.7.2 of org-index
2017-11-07 20:49:58 +01:00
U-IHM-NOTEBOOK\Olli
e440c51b5f
Version 5.7.1 of org-index
2017-10-29 15:31:45 +01:00
Nicolas Goaziou
7df5d21f79
Merge branch 'maint'
2017-10-14 12:30:59 +02:00
Nicolas Goaziou
025dbd7f31
ox-koma-letter: Fix typo.
...
* contrib/lisp/ox-koma-letter.el (org-koma-letter-template): Fix typo.
Reported-by: Alan Schmitt <alan.schmitt@polytechnique.org>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-10/msg00238.html >
2017-10-14 11:03:41 +02:00
U-IHM-NOTEBOOK\Olli
4d828ba4c6
org-index.el version 5.6.2
2017-10-10 20:28:03 +02:00
Kyle Meyer
a343655bb3
Merge branch 'maint'
2017-10-08 10:40:39 -04:00
Kyle Meyer
027cfc3d15
ox-s5: Don't use org-html-end-plain-list
...
* contrib/lisp/ox-s5.el (org-s5-plain-list): Adjust for the removal of
org-html-end-plain-list.
The function org-html-end-plain-list was deleted in
8855c23c6
(ox-html: Plain list supports arbitrary attributes,
2017-02-13).
Reported-by: <dchechin92@gmail.com>
<https://lists.gnu.org/archive/html/emacs-orgmode/2017-10/msg00123.html >
2017-10-08 10:39:47 -04:00
U-IHM-NOTEBOOK\Olli
731e1ca938
Version 5.6.1 of org-index
2017-09-27 22:10:04 +02:00
Kaushal Modi
7a29c82e11
Make ob-sclang.el work on emacs 24.3
...
* contrib/lisp/ob-sclang.el: Use eval-after-load instead of
with-eval-after-load.
2017-09-07 14:13:38 -04:00