stardiviner
4030b7b907
ob-sclang.el: add ob-sclang for sclang Org-mode babel support
...
* ob-sclang.el (org-babel-execute:sclang): support evaluating sclang
code in Org-mode Babel.
Support sclang evaluation in Org-mode Babel.
2017-06-17 12:50:26 +02:00
Nicolas Goaziou
4295d1b949
Merge branch 'maint'
2017-06-17 12:07:09 +02:00
Nicolas Goaziou
39351d0d14
ox-texinfo: Add missing entities
...
* lisp/ox-texinfo.el (org-texinfo-entity): Add "@textdegree{}" and
"@registeredsymbol".
2017-06-17 12:04:36 +02:00
Nicolas Goaziou
080dc4b445
Merge branch 'maint'
2017-06-16 07:59:18 +02:00
Nicolas Goaziou
673fe87b05
Fix compilation warning
...
* lisp/org.el (org-parse-time-string): Fix compilation warning.
2017-06-16 07:58:18 +02:00
Bastien
32676822de
Merge branch 'maint'
2017-06-15 16:50:16 +02:00
Tsuyoshi Kitamoto
01ba5cafa5
doc/org.texi: Fix typos
...
* doc/org.texi (Include files)
(Special blocks in Texinfo export, Translator functions): Fix typos.
TINYCHANGE
2017-06-15 16:48:21 +02:00
Kaushal Modi
62ce814130
Merge branch 'maint'
2017-06-15 09:03:35 -04:00
Kaushal Modi
3bcfed071d
Fix breakage due to outline-invisible-p defn change in emacs 26+
...
* lisp/org.el (org-invisible-p): New function. Restore the behavior
of outline-invisible-p prior to the following commint on emacs master
<http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=9cc59ffbbb2f20fbbf1c72d2e0c9dc47c7906a99 >.
* lisp/org.el (org-cycle-internal-local)
(org-clean-visibility-after-subtree-move, org-goto)
(org-get-location, org-move-subtree-down, org-copy-subtree)
(org-paste-subtree, org-next-link, org-mark-ring-goto)
(org-todo, org-deadline, org-schedule, org-set-tags)
(org-truely-invisible-p, org-invisible-p2)
(org-forward-heading-same-level, org-forward-paragraph)
(org-backward-paragraph, org-down-element)
(org-bookmark-jump-unhide, org-mark-jump-unhide):
* lisp/org-list.el (org-insert-item):
* lisp/org-crypt.el (org-encrypt-entry, org-decrypt-entry):
* lisp/org-clock.el (org-clock-load):
* lisp/org-archive.el (org-archive-subtree)
(org-archive-to-archive-sibling, org-toggle-archive-tag)
(org-archive-set-tag):
* contrib/lisp/org-drill.el (org-drill-hide-subheadings-if): Use
org-invisible-p instead of outline-invisible-p.
Reference:
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-06/msg00230.html >
2017-06-15 08:10:47 -04:00
Nicolas Goaziou
ad0312cde2
Merge branch 'maint'
2017-06-14 23:07:44 +02:00
Nicolas Goaziou
17382722db
ox-texinfo: Fix last commit
...
* lisp/ox-texinfo.el (org-texinfo-keyword): Fix last commit.
Do not escape raw #+TEXINFO value.
2017-06-14 23:07:04 +02:00
Nicolas Goaziou
c7be9d9ad5
org.texi: Add missing documentation about "n" macro
...
* doc/org.texi (Macro replacement): Add missing documentation.
2017-06-14 21:42:27 +02:00
Nicolas Goaziou
e5396c189a
Merge branch 'maint'
2017-06-14 21:27:37 +02:00
Nicolas Goaziou
a621289953
ox-texinfo: Escape @ { } in index
...
* lisp/ox-texinfo.el (org-texinfo-keyword): Escape @ { } in index.
2017-06-14 21:27:02 +02:00
Nicolas Goaziou
70b3c35710
Update ORG-NEWS
2017-06-14 19:16:07 +02:00
Nicolas Goaziou
1a31a43578
Update ORG-NEWS
2017-06-14 19:13:38 +02:00
Nicolas Goaziou
be30c8b126
ox-texinfo: Change default table markup
...
* lisp/ox-texinfo.el (org-texinfo-table-default-markup): Rename from
`org-texinfo-def-table-markup'. Set default value to the neutral
"@asis".
(org-texinfo-plain-list): Use new name.
* lisp/org-compat.el (org-texinfo-def-table-markup): Mark as obsolete.
* doc/org.texi (Publishing options): Document change.
2017-06-14 19:11:33 +02:00
Nicolas Goaziou
3e35a78287
Update ORG-NEWS
2017-06-14 11:07:20 +02:00
Nicolas Goaziou
1c7cf61bd7
Merge branch 'maint'
2017-06-14 11:03:40 +02:00
Nicolas Goaziou
b47920ed20
org-colview: Fix failing test
...
* lisp/org.el (org-parse-time-string): Allow to specify zone as an
optional argument.
* lisp/org-colview.el (org-columns--age-to-seconds): Apply change
above.
* testing/lisp/test-org-colview.el (test-org-colview/columns-summary):
Update tests.
2017-06-14 11:00:01 +02:00
Nicolas Goaziou
d8eaa8396d
Fix failing test
...
* testing/lisp/test-org.el (test-org/file-contents): New test. Merge
from `test-org/org-file-contents-file' and
`test-org/org-file-contents-url'.
2017-06-14 10:10:21 +02:00
Nicolas Goaziou
dac9ae16ea
org-macro: Silence byte-compiler
2017-06-14 10:01:26 +02:00
Nicolas Goaziou
2371548c2a
org-duration: Limit rounding errors when computing a duration
...
* lisp/org-duration.el (org-duration-from-minutes): Limit rounding
errors.
2017-06-14 09:59:14 +02:00
Nicolas Goaziou
ce21e0a8db
org-table: Add missing keywords to a defcustom
...
* lisp/org-table.el (org-table-duration-hour-zero-padding):
Add :package-version and :safe. Fix :version and docstring.
2017-06-14 09:48:13 +02:00
Carsten Dominik
feed16e1ed
Merge branch 'master' of orgmode.org:org-mode
2017-06-14 05:46:17 +02:00
Carsten Dominik
daff9c93f2
Implement new `U' mode switch for table formulas to omit seconds in durations
...
* lisp/org-table.el (org-table-duration-custom-format): Add new
HH:MM format.
(org-table-duration-hour-zero-padding): New option.
(org-table-eval-formula): Select second-less format if
requested.
(org-table-time-seconds-to-string): Implement formats without
seconds and without zero-padding for hours.
* testing/lisp/test-org-table.el (test-org-table/duration):
New test for second-less durations.
* doc/org.texi (Formula syntax for Calc)
(Durations and time values): Document the U mode switch.
2017-06-14 05:43:12 +02:00
Kaushal Modi
1e92f5ed39
Allow org-file-contents to fetch file contents from a URL
...
* lisp/org.el (org--file-cache): New variable.
(org-reset-file-cache):
(org-file-url-p): New function.
(org-mode-restart): Use new function.
* lisp/org.el (org-file-contents): Allow the FILE argument to be a
URL. If the URL contents are already cached, return the cache
contents, else download the file and return contents of that. The
file is automatically cached each time it is downloaded. Add a new
optional argument NOCACHE. If this is non-nil, the URL is always
downloaded afresh. Use `org--file-cache' and `org-file-url-p'.
* lisp/org.el (org-edit-special): Do not allow editing the "file" if a
URL is specified for the "#+SETUPFILE".
* lisp/ox.el (org-export--list-bound-variables)
(org-export--prepare-file-contents):
* lisp/org-macro.el (org-macro--collect-macros) : Adapt to the
possibility that the input to `org-file-contents' can be a URL too.
* doc/org.texi (Export settings, In-buffer settings)
(The very busy C-c C-c key): Mention that #+SETUPFILE keyword can now
take a URL as a value, and that C-c C-c on the #+SETUPFILE line will
clear the org file cache.
* testing/lisp/test-org.el (test-org/org-file-contents-url)
(test-org/org-file-contents-file): Add tests for org-file-contents.
* testing/lisp/test-ox.el (test-org-export/get-inbuffer-options): Add
test for reading setupfile specified via a URL.
2017-06-13 11:41:58 -04:00
Nicolas Goaziou
49dc91c55e
Merge branch 'maint'
2017-06-13 10:41:41 +02:00
Nicolas Goaziou
2040b61391
org-element: Remove outdated comments
2017-06-13 10:41:13 +02:00
Nicolas Goaziou
5e35bc1807
Merge branch 'maint'
2017-06-11 11:39:37 +02:00
Nicolas Goaziou
62dc27dc75
ox-texinfo: Fix spurious "nil" in "special block export
...
* lisp/ox-texinfo.el (org-texinfo-special-block): Remove spurious
"nil" when no option is defined.
2017-06-11 11:38:45 +02:00
Nicolas Goaziou
8ebfbc1d2a
Merge branch 'maint'
2017-06-10 00:14:30 +02:00
Nicolas Goaziou
b8df40eccc
ob-shell: Fix handling list variables
...
* lisp/ob-shell.el (org-babel--variable-assignments:bash): Do not
error when value is a list.
* testing/lisp/test-ob-shell.el (ob-shell/simple-list): New test.
Reported-by: Keith Amidon <camalot@picnicpark.org>
<http://permalink.gmane.org/gmane.emacs.orgmode/113920 >
2017-06-10 00:06:24 +02:00
Kaushal Modi
a933b34992
Merge branch 'maint'
2017-06-09 16:18:24 -04:00
Kaushal Modi
7cd7b90dcb
Update remote file syntax for Tramp
...
* testing/lisp/test-ox.el (test-org-export/file-uri):
* doc/org.texi (External links): The method part of remote file names
is mandatory now in the emacs master (26+). A valid remote file name
starts with "/method:host:" or "/method:user@host:". ssh is used as
an example method here.
This change in the examples is backward compatible with emacs 25, 24, ..
Suggested by: Michael Albinus <michael.albinus@gmx.de>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-06/msg00151.html >
Relevant commit in emacs master causing this change:
<http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=ed33337c3e0d0b1a8b140e23168421ea43d79324 >
2017-06-09 16:15:15 -04:00
Nicolas Goaziou
cf505d2ebb
ox-texinfo: Export example blocks as @example
...
* lisp/ox-texinfo.el (org-texinfo-example-block): Export as @example.
Escape @, {, }, however, so as to get proper verbatim contents.
2017-06-09 22:03:08 +02:00
Nicolas Goaziou
28bb7777b4
Merge branch 'maint'
2017-06-09 21:23:17 +02:00
Nicolas Goaziou
4bdf11a967
org-macro: Silence byte-compiler
2017-06-09 21:22:53 +02:00
Nicolas Goaziou
657ed58eac
org-macro: Fix incomplete docstring
...
* lisp/org-macro.el (org-macro--counter-increment): Fix incomplete
docstring. Small refactoring.
2017-06-09 10:22:51 +02:00
Nicolas Goaziou
54344574c6
Merge branch 'maint'
2017-06-09 09:45:08 +02:00
Nicolas Goaziou
9a8506b7af
org-footnote: Fix footnote deletion
...
* lisp/org-footnote.el (org-footnote-delete-definitions): Preserve
blank lines after the definition.
* testing/lisp/test-org-footnote.el (test-org-footnote/delete): Add
test.
2017-06-09 09:43:49 +02:00
Nicolas Goaziou
c24c07c810
Merge branch 'maint'
2017-06-08 23:28:03 +02:00
Nicolas Goaziou
9fdc77a3cd
ox-texinfo: Improve entities handling
...
* lisp/ox-texinfo.el (org-texinfo-entity): Use Texinfo specific
commands whenever possible.
2017-06-08 23:26:26 +02:00
Nicolas Goaziou
feb34a1fbf
Merge branch 'maint'
2017-06-08 21:17:09 +02:00
Nicolas Goaziou
a138fedfd2
ox-texinfo: Use UTF-8 instead of LaTeX for entities
...
* lisp/ox-texinfo.el (org-texinfo-entity): Use UTF-8 instead of LaTeX
for entities.
2017-06-08 21:16:43 +02:00
Nicolas Goaziou
52e0a83f32
Merge branch 'maint'
2017-06-08 21:00:51 +02:00
Nicolas Goaziou
6921d84198
ox: Fix search cell error on footnote sections
...
* lisp/ox.el (org-export--install-footnote-definitions):
Provide :raw-value property when building a virtual footnote
section, as `org-export-search-cells' expects it.
2017-06-08 20:59:29 +02:00
Nicolas Goaziou
ddc80b628a
Merge branch 'maint'
2017-06-08 15:16:20 +02:00
Nicolas Goaziou
f03387ef90
ox-texinfo: Fix special characters in plain text
...
* lisp/ox-texinfo.el (org-texinfo-plain-text): Add missing
discretionary hyphenation point. Tiny refactoring.
2017-06-08 15:14:48 +02:00
Nicolas Goaziou
8e8094b919
Merge branch 'maint'
2017-06-08 15:04:55 +02:00