bzg
269ccd9590
Merge branch 'develop' of stardiviner/org-mode into master
2018-02-14 10:33:43 +00:00
stardiviner
2e6922191e
* ob-lua.el: remove it.
...
original ob-lua exists already.
2018-02-14 18:22:45 +08:00
Nicolas Goaziou
90607d1d18
Merge branch 'maint'
2018-02-13 17:36:36 +01:00
Nicolas Goaziou
d5527699ab
org.texi: Remove `org-enable-table-editor' remnant
...
* doc/org.texi (Built-in table editor): Remove reference to suppressed
variable `org-enable-table-editor'.
2018-02-13 17:35:41 +01:00
Nicolas Goaziou
61c8903c87
Fix failing tests
...
* lisp/org-compat.el (org-string-collate-lessp): Reinstate function,
inadvertently removed in last merge with maint branch.
2018-02-13 14:17:00 +01:00
Nicolas Goaziou
2a7a4a65ad
Merge branch 'maint'
2018-02-13 14:10:28 +01:00
Nicolas Goaziou
7c21dfc771
ox-publish: Follow symlink directories
...
* lisp/org-compat.el (directory-files-recursively): Remove
compatibility function, no longer needed.
* lisp/ox-publish.el (org-publish--expand-file-name):
(org-publish-org-to):
(org-publish-collect-index):
(org-publish--store-crossrefs):
(org-publish-resolve-external-link): Preserve symlinks in file name.
(org-publish-get-base-files): Follow symlink directories.
(org-publish-get-project-from-filename): Preserve symlinks in file
name. Do not use `file-in-directory-p', which ignores symlinks.
Reported-by: Michel Damiens <michel.damiens@gmail.com>
<http://lists.gnu.org/r/emacs-orgmode/2018-02/msg00186.html >
2018-02-13 14:06:56 +01:00
Nicolas Goaziou
c29efc8f91
Remove non-functional test
...
* testing/lisp/test-org.el (test-org/sort-entries): Remove a test.
2018-02-12 17:56:46 +01:00
Sebastian Reuße
551d2f1fe7
Fix alphabetic sorting for headlines, tags
...
* org.el (org-sort-entries): Use collated sorting.
(org-tags-sort-function): Use collated sorting.
(org-string-collate-greaterp): Add helper-function to use as defcustom
option, since there is no ‘string-collate-greaterp’ in Emacs.
* org-compat.el (org-string-collate-lessp): Add proxy to fall-back on
string-lessp when string-collate-lessp is missing (Emacs ≤ 24).
* test-org.el (test-org/string-collate-lessp): Add test.
(test-org/sort-entries): Add regression test for non-ASCII inputs.
‘org-sort-entries’ and ‘org-tags-sort-function’ advertise alphabetic
sorting, but actually sort based only on character code. This
produces non-alphabetic orderings of strings in non-ASCII locales.
E. g., German Umlauts “Ä Ü Ö” are alphabetically sorted as if they
were “A U O”, whereas sorting based on character-code will place them
after “Z”, which is unexpected.
2018-02-12 14:57:54 +01:00
Kaushal Modi
b505a5b6ad
Merge branch 'maint'
2018-02-11 15:29:57 -05:00
Kaushal Modi
fe7619cd18
Do not auto-fill when point is in Org property drawer
...
* lisp/org.el (org-return): Set auto-fill-function to nil when point
is in an Org property drawer.
* testing/lisp/test-org.el (test-org/return): Add test.
<http://lists.gnu.org/r/emacs-orgmode/2018-02/msg00102.html >
2018-02-11 15:19:49 -05:00
Nicolas Goaziou
da78ccc690
org-tempo: Do not activate Org Tempo in export output buffers and agenda
...
* lisp/org-tempo.el (b): Do not activate Org Tempo in export output
buffers and agenda.
2018-02-11 12:06:42 +01:00
Nicolas Goaziou
6791fd29d3
org-tempo: Fix obnoxious `ding' when expanding templates
...
* lisp/org-tempo.el (org-tempo-complete-tag): New function.
Reported-by: Brent Goodrick <bgoodr@gmail.com>
<http://lists.gnu.org/r/emacs-orgmode/2018-02/msg00080.html >
2018-02-11 12:03:15 +01:00
Nicolas Goaziou
6cb6ddc671
org-macs.el: Tiny re-ordering
2018-02-11 11:45:07 +01:00
Nicolas Goaziou
f487fccbec
org-macs: Use define-key' instead of
org-defkey'
...
* lisp/org-macs.el (org-completing-read): Use `define-key' instead of
`org-defkey'.
For bootstrapping reasons, "org-macs.el" isn't expected to require
functions from "org.el". Besides, minibuffer isn't supposed to depend
of `org-disputed-keys' either.
2018-02-11 11:40:21 +01:00
Nicolas Goaziou
013941de86
`org-save-outline-visibility' preserve outline, blocks and drawers
...
* lisp/org-macs.el (org-save-outline-visibility): Also preserve blocks
and drawers visibility. Re-implement without helper functions.
(org-outline-overlay-data):
(org-set-outline-overlay-data): Remove functions.
2018-02-11 11:37:50 +01:00
Nicolas Goaziou
2956408f75
Move `org-flag-region' to "org-macs.el"
...
* lisp/org.el (org-flag-region): Move function...
* lisp/org-macs.el (org-flag-region): ... here.
2018-02-11 11:27:53 +01:00
bzg
8d7b6e5489
Merge branch 'develop' of stardiviner/org-mode into master
2018-02-10 16:23:49 +00:00
Nicolas Goaziou
b73f7c013d
ox-ascii: Use angle brackets for external links
...
* lisp/ox-ascii.el (org-ascii--describe-links):
(org-ascii-link): Use angle brackets for external links.
Reported-by: Samuel Wales <samologist@gmail.com>
<http://lists.gnu.org/r/emacs-orgmode/2018-02/msg00105.html >
2018-02-10 14:16:37 +01:00
Nicolas Goaziou
da26490208
org-colview: Fix typo in docstring
...
* lisp/org-colview.el (org-columns-summary-types): Fix typo.
2018-02-10 14:03:59 +01:00
Matt Lundin
c72304b95e
Fix S-<return> and M-S-<return> keybindings for GUI
...
This prevents these key combinations from being translated to M-RET in
window systems. These bindings already have extra keys defined for
TTY.
2018-02-10 13:53:11 +01: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
3558e6e835
Merge branch 'maint'
2018-02-05 15:37:15 +01:00
Tim Landscheidt
38bf7561d0
Remove obsolete mk/list-hooks.pl
...
* mk/list-hooks.pl: Remove.
The functionality of mk/list-hooks.pl has been implemented by mk/eldo.el.
2018-02-05 15:36:09 +01:00
Tim Landscheidt
db6da387ae
Remove obsolete mk/pw
...
* mk/pw: Remove.
2018-02-05 15:33:06 +01:00
Tim Landscheidt
61a885a399
Make manual and URL links in docstrings clickable
2018-02-05 15:27:12 +01:00
Marco Wahl
8554aa93a7
test-ob: Fix test case
...
* testing/lisp/test-ob.el (test-ob/org-babel-remove-result--results-list):
Removed the inner list. Expectation "- (quote (4 5))" did not match
the result "- '(4 5)". I think this difference is not worth testing
in this test.
2018-02-05 10:45:12 +01:00
Marco Wahl
33cbd80850
org-agenda: Remove superfluous messages at bulk marking
2018-02-05 10:41:49 +01:00
Nicolas Goaziou
cdacaa5e87
Merge branch 'maint'
2018-02-04 23:33:41 +01:00
Jose Robins
e6f891e7aa
org-clock.el: Add an autoload entry for the function org-clock-sum-today
...
* lisp/org-clock.el: When the org-mode is called for the very first time
any functionality that requires the org-clock-sum-today used to fail.
(e.g. a column that calculates CLOCKSUM_T)
TINYCHANGE
2018-02-04 23:32:59 +01:00
Nicolas Goaziou
f500d7c7f6
org-element: Fix example and src block interpreter.
...
* lisp/org-element.el (org-element-example-block-interpreter):
(org-element-src-block-interpreter): Correctly handle indentation.
* testing/lisp/test-org-element.el (test-org-element/example-block-interpreter):
Add tests.
Reported-by: Yasushi SHOJI <yasushi.shoji@gmail.com>
<http://lists.gnu.org/r/emacs-orgmode/2018-02/msg00006.html >
2018-02-04 10:04:17 +01:00
Nicolas Goaziou
878f2ae68b
org-tempo: Small refactoring
...
* lisp/org-tempo.el (org-tempo-add-templates): Small refactoring.
2018-02-04 08:56:15 +01:00
Nicolas Goaziou
a2471b1bb6
Silence byte-compiler
2018-02-04 00:51:00 +01:00
Nicolas Goaziou
85418667a6
Merge branch 'maint'
2018-02-04 00:31:47 +01:00
Nicolas Goaziou
248bc9631b
org-element: Revert regexp change for inline source blocks and babel calls
...
* lisp/org-element.el (org-element-inline-babel-call-parser):
(org-element-inline-src-block-parser): Revert commit
7efa0f2879
.
* testing/lisp/test-ob-exp.el (ob-exp/exports-inline-code):
* testing/lisp/test-org-element.el (test-org-element/inline-src-block-parser):
Update tests.
Reported-by: Greg Minshall <minshall@acm.org>
<http://lists.gnu.org/r/emacs-orgmode/2018-02/msg00002.html >
2018-02-04 00:30:00 +01:00
Nicolas Goaziou
222a65bdee
org-tempo: Silence byte-compiler
2018-02-04 00:24:01 +01:00
Nicolas Goaziou
892ae3c2e1
Merge branch 'maint'
2018-02-04 00:13:36 +01:00
Nicolas Goaziou
19dcbab6f0
ox: Fix select tags and exclude tags and tags hierarchy
...
* lisp/ox.el (org-export--selected-trees): Expand select tags groups.
(org-export--prune-tree): Expand exclude tags groups.
(org-export--skip-p): Change signature.
* testing/lisp/test-ox.el (test-org-export/handle-options): Add tests.
Reported-by: Pierre-Luc Gauthier <p.luc.gauthier@gmail.com>
<http://lists.gnu.org/r/emacs-orgmode/2018-02/msg00039.html >
2018-02-04 00:12:45 +01:00
Nicolas Goaziou
d89e35ee50
Merge branch 'maint'
2018-02-03 15:24:50 +01:00
Nicolas Goaziou
52c059a10d
org-feed: Do not stop feed update when a feed is unavailable
...
* lisp/org-feed.el (org-feed-update-all): Do not stop feed update when
a feed is unavailable.
Reported-by: Adrian Tritschler <ajft@ajft.org>
<http://lists.gnu.org/r/emacs-orgmode/2018-02/msg00043.html >
2018-02-03 15:23:47 +01:00
Nicolas Goaziou
005ff5f5c2
Merge branch 'maint'
2018-02-03 14:54:11 +01:00
Nicolas Goaziou
d0c4d9ba23
ox-latex: Allow negative tocdepth
...
* lisp/ox-latex.el (org-latex-template): Allow negative tocdepth.
Reported-by: Akater <nuclearspace@gmail.com>
<http://lists.gnu.org/r/emacs-orgmode/2018-01/msg00528.html >
2018-02-03 14:52:20 +01:00