stardiviner
00938bc98b
org-src: New option for `org-src-window-setup'.
...
org-src.el: (org-src-window-setup) support open edit src window below.
TINYCHANGE
2018-03-17 08:11:24 +01:00
Pierre Téchoueyres
bd0b691716
ob-sql.el: Improve Oracle connection and usage for ob-sql.
...
* lisp/ob-sql.el (org-babel-sql-dbstring-oracle): Permit to omit host
and port to allow use of alias defined in Oracle's TNSNAMES files.
This now allow two way calling it :
<user>/<password>@<host>:<port>/<database ID>
or
<user>/<password>@<database alias>
2018-03-16 23:01:58 +01: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
Pierre Téchoueyres
0edf344e2a
ob-sql.el: Improve Oracle connection and usage for ob-sql.
...
* lisp/ob-sql.el (org-babel-sql-dbstring-oracle): Don't use empty
args. This allows use of alias defined in Oracle's TNSNAMES files.
(org-babel-execute:sql): Don't feed lines with trailing spaces. This
also improve speed for retrieving data.
2018-03-14 14:30:51 +01:00
Nicolas Goaziou
bc7b24d0d0
ob-core: Silence byte-compiler
2018-03-13 09:29:50 +01:00
Nicolas Goaziou
96ae324ed1
org-compat: Silence byte-compiler
...
* lisp/org-compat.el (fboundp): Silence byte-compiler.
2018-03-13 09:28:24 +01:00
Nicolas Goaziou
409a62e5c9
Move some string functions to "org-macs.el"
...
* lisp/org.el (org-string<):
(org-string<=):
(org-string>=):
(org-string>):
(org-string<>): Move to...
* lisp/org-macs.el: ... here.
2018-03-13 09:26:53 +01:00
Sebastian Reuße
4b19029a72
Improve ‘org-sort-list’ test
...
* test-org-list.el (test-org-list/sort): Take case-sensitive
vs. insensitive sorting into account.
2018-03-13 09:09:58 +01:00
Sebastian Reuße
88bf8aef28
org-table-sort-lines: Fix case-sensitive sorting
...
* org-table.el (org-table-sort-lines): Fix case sensitive sorting,
improve docstring.
* test-org-table.el (test-org-table/sort-lines): Enforce C locale when
testing alphabetic sorting.
‘sort-subr’ ignores ‘sort-fold-case’ when a predicate is provided. To
correctly handle case-sensitivity, we now bake it into the predicate.
Since we are now sorting according to the user’s locale, WITH-CASE
will not make a difference in most instances, since most locales
always sort case-insensitively (cf. how GNU sort ignores the ‘-f’
switch). We now mention this in the function docstring.
In order to meaningfully test case-sensitive sorting, we now enforce
the C locale in the respective unit test.
2018-03-13 09:09:54 +01:00
Sebastian Reuße
8e9518a3b0
Fix string-collate-lessp shim
...
* org-compat.el (org-string-collate-lessp): When shimming
string-collate-lessp, accept the same arguments as in the unshimmed
case.
2018-03-13 09:09:48 +01:00
Sebastian Reuße
89ec5e198b
Fix org-table-sort-lines test
...
* test-org-table.el (test-org-table/sort-lines): Fix and improve
testcase.
Sorting and reversing «a C b» should result in «C b a», not in «b a
C». This test did not fail previously only because
org-table-sort-lines had an issue whereby sorts were always
case-sensitive.
2018-03-13 09:09:41 +01:00
Sebastian Reuße
0d6ee386a1
Fix alphabetic string matching operators
...
* org.el (org-string<): Add.
(org-op-to-function): Use it.
(org-string> etc.): Use collated comparison.
Cf. commit 551d2f1fe
.
2018-03-13 09:09:32 +01:00
Sebastian Reuße
e64ff15f67
Fix alphabetic sorting for tables, plain lists
...
* org-table.el (org-table-sort-lines): Use collated sorting.
* org-list.el (org-sort-list): Use collated sorting.
Cf. commit 551d2f1fe
.
2018-03-13 09:09:07 +01:00
Nicolas Goaziou
258996a9a6
manual: Fix capitalization of keys
2018-03-12 22:49:18 +01:00
Nicolas Goaziou
0de818964d
Merge branch 'maint'
2018-03-11 19:22:25 +01:00
Nicolas Goaziou
2f587d496f
org-capture: Prevent spurious blank line during capture
...
* lisp/org-capture.el (org-capture-place-entry): Prevent spurious
blank line during capture.
Reported-by: Luke <mideniko1234-org@yahoo.co.uk>
<http://lists.gnu.org/r/emacs-orgmode/2018-03/msg00075.html >
2018-03-11 19:21:29 +01:00
Marc Ihm
bb5e79e2e8
removed org-index.el in favor of melpa
2018-03-11 08:24:39 +01:00
Bastien
51b339105a
Merge branch 'maint'
2018-03-10 22:38:59 +01:00
Bastien
c0f423d434
orgguide.texi: Fix more links and references
2018-03-10 22:38:39 +01:00
Bastien
e10b1f5de9
Merge branch 'master' of code.orgmode.org:bzg/org-mode
2018-03-10 22:29:54 +01:00
Bastien
69e674f518
Merge branch 'maint'
2018-03-10 22:29:38 +01:00
Bastien
50550c8405
orgguide.texi: Fix broken or obsolete links
2018-03-10 22:29:23 +01:00
Kyle Meyer
88e1e865a5
Merge branch 'maint'
2018-03-09 23:42:24 -05:00
Glenn Morris
04f06958ab
Backport commit 16faff6a4 from Emacs
...
; * lisp/org/org-table.el: Replace obsolete alias in comment.
16faff6a46f28b4db2e9b91e52b27404303f3197
Glenn Morris
Fri Mar 9 12:43:21 2018 -0500
2018-03-09 23:41:47 -05:00
Kyle Meyer
eeba7a5316
manual: Sync with org.texi
2018-03-07 22:08:47 -05:00
Kyle Meyer
f74f55cc75
Merge branch 'maint'
2018-03-07 22:07:42 -05:00
Paul Eggert
9ac80ede5e
Backport commit f2caf08ca from Emacs
...
; Spelling fixes
f2caf08ca625f64c7eeea8dfa8f65a5b1bac58e2
Paul Eggert
Sun Mar 4 17:10:34 2018 -0800
2018-03-07 22:07:25 -05:00
Bastien
824cc8e56a
Delete spurious file
2018-03-06 18:42:51 +01:00
Nicolas Goaziou
5ad085f34c
Merge branch 'maint'
2018-03-06 10:15:22 +01:00
Nicolas Goaziou
9449939ca0
org-clock: Fix face for clock overruns
...
* lisp/org-clock.el (org-clock-get-clock-string): Fix 6655429b8
.
Reported-by: Luke <mideniko1234-org@yahoo.co.uk>
<http://lists.gnu.org/r/emacs-orgmode/2018-03/msg00078.html >
2018-03-06 10:13:12 +01:00
Bastien Guerry
f7b120e566
Merge branch 'develop' of stardiviner/org-mode into master
2018-03-06 07:49:47 +00:00
stardiviner
49a8de4ffd
* ob-core.el (org-babel-result-to-file): relative file link result.
...
Respect option `org-link-file-path-type`.
2018-03-06 14:43:22 +08:00
Nicolas Goaziou
881da595dd
manual.org: Fix typo
...
* contrib/manual.org (Agenda Files): Fix typo.
"iswitchb" refers here to the library name, not to the command.
2018-03-05 19:28:00 +01:00
Nicolas Goaziou
aad62024c9
manual: Sync with org.texi
2018-03-05 19:26:43 +01:00
Kaushal Modi
b8e5c232e0
manual: Fix typo
2018-03-05 11:34:40 -05:00
Nicolas Goaziou
b420c8e290
ob-core: Fix last commit
...
* lisp/ob-core.el (org-babel-execute-src-block): Fix thinko in commit
122bf2997
.
2018-03-05 14:34:28 +01:00
Bastien
69c5b6c999
Remove headings' metadata when turning them into list items
...
* lisp/org-list.el (org-toggle-item): Delete headings'
metadata before turning them into list items.
* lisp/org.el (org-log-drawer-start-re): New variable.
(org-log-drawer-end-re, org-log-drawer-re): New constants.
(org-heading-delete-metadata): New function.
(org-setting-tags): Fix comment.
2018-03-05 10:57:43 +01:00
Bastien
dd99ed7443
doc/Documentation_Standards.org: Major update
...
Thanks to Thomas Dye for providing a patch to enhance this page.
2018-03-04 21:46:44 +01:00
Bastien
66d2474ccb
doc/Documentation_Standards.org: Clean indentation
2018-03-04 21:31:14 +01:00
Bastien
4d50d5c9a4
doc/Documentation_Standards.org: Don't set fill-column
...
It is already set in .dir-locals.el.
2018-03-04 21:29:47 +01:00
Bastien
902148a967
Merge branch 'maint'
2018-03-04 21:22:32 +01:00
Bastien
74f6ed1eb0
org-clock.el: Strip bracket links from the heading
...
* lisp/org-clock.el (org-clock--mode-line-heading): Strip
links from the heading.
This restores the previous behavior before commit 66554298.
Thanks to Matt Lundin for reporting this.
2018-03-04 21:21:00 +01:00
Bastien
a1dfd4ff20
org.texi: Fix typo
...
* doc/org.texi (Activation, Agenda files): Fix typo.
Thanks to Th. Rikl for reporting this.
2018-03-04 08:42:47 +01:00
Nicolas Goaziou
d97ae53059
Merge branch 'maint'
2018-03-03 23:33:59 +01:00
Nicolas Goaziou
cb0954d8de
org-gnus: Fix `org-gnus-store-link'
...
* lisp/org-gnus.el (org-gnus-store-link): Fix storing link from an
article when point in the summary buffer does not match the article.
Reported-by: Kevin Brubeck Unhammer <unhammer@fsfe.org>
<http://lists.gnu.org/r/emacs-orgmode/2018-03/msg00037.html >
2018-03-03 23:33:17 +01:00
Nicolas Goaziou
3ffc7d6903
Merge branch 'maint'
2018-03-03 13:42:35 +01:00
Nicolas Goaziou
f8d758966c
orgguide.texi: Fix typo
...
* doc/orgguide.texi (TODO Items): Fix typo.
Reported-by: siraben@disroot.org
<http://lists.gnu.org/r/emacs-orgmode/2018-03/msg00036.html >
2018-03-03 13:41:49 +01:00
Nicolas Goaziou
122bf29974
ob-core: Tiny refactoring
...
* lisp/ob-core.el (org-babel-execute-src-block): Tiny refactoring.
Keep lines under 80 columns.
2018-03-03 10:07:21 +01:00
Nicolas Goaziou
ca5206eed5
manual: Fix typo
2018-03-03 10:03:45 +01:00
Nicolas Goaziou
3fab011755
org-element: Better indentation for `org-element-adopt-elements'
...
* lisp/org-element.el (org-element-adopt-elements): Define a better
indentation rule.
2018-03-03 10:00:06 +01:00