Re: [O] buffer-file-name in [* Org src *] buffers

2018-03-11 Thread numbch...@gmail.com
I agree, should compatible with situations like `flycheck` need to use buffer-file-name. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiv

[O] buffer-file-name in [* Org src *] buffers

2018-03-11 Thread Clément Pit-Claudel
Hi all, TL;DR: why does org-src-mode-configure-edit-buffer set buffer-file-name to a non-nil value? https://code.orgmode.org/bzg/org-mode/commit/4b6988bf36cb458c9d113ee4332e016990c1eb04#diff-ea848b037ba2c0bf95915700bb6f4e539d80d8cR486 Background information: I'm reviewing a patch (https://git

Re: [O] Agenda bug

2018-03-11 Thread Nicolas Goaziou
Hello, Robert Horn writes: > I discovered that the lines ( the body of a headline): > *** real headline >* example >:SCHEDULED: > > cause agenda processing to fail. Could you provide an ECM? I tried to set `org-agenda-files' to a file containing the three lines above, and launc

Re: [O] Bug: exclude symlinked directory from publishing [9.1.6 (9.1.6-57-gec8590-elpa @ /home/michel/.emacs.d/elpa/org-20180219/)]

2018-03-11 Thread Nicolas Goaziou
Hello, Michel Damiens writes: > When publishing (with org-publish) I'd like to exclude a subdirectory : > in fact it is a symlink (named lib) to a directory outside of the tree to be > published > > For example with this tree : > /media/DATA/ > lib --> other directory > other pdf files >

[O] [PATCH] ob-sql.el: Improve Oracle connection and usage for ob-sql.

2018-03-11 Thread Pierre Téchoueyres
Hello all Org's developpers, I would like to provide a small improvement to ob-sql : the possibility to connect to an oracle database by using the alias defined in TNSNAMES file. The patch joined here try to achive this. It also improve (slightly) the data fetching by removing unwanted trailing wh

Re: [O] Bug: org-capture inserts empty line before title

2018-03-11 Thread Nicolas Goaziou
Hello, Luke writes: > I've set up a minimal-org.el file with the following contents: > >     ;; Minimal setup to load latest 'org-mode' > >     ;; activate debugging >     (setq debug-on-error t >           debug-on-signal nil >      debug-on-quit t) > >     ;; add latest org-mode to load p

Re: [O] [PATCH 2/6] Fix alphabetic string matching operators

2018-03-11 Thread Sebastian Reuße
Sorry, I committed this one without using the compat-shimmed version of ‘string-collate-lessp’. Amended. Kind regards, SR -- Insane cobra split the wood Trader of the lowland breed Call a jittney, drive away In the slipstream we will stay

[O] [PATCH] Fix alphabetic string matching operators

2018-03-11 Thread Sebastian Reuße
* org.el (org-string<): Add. (org-op-to-function): Use it. (org-string> etc.): Use collated comparison. Cf. commit 551d2f1fe. --- lisp/org.el | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index ac1ad3c75..24923ad4f 100644 --- a/lisp/org.el

[O] [PATCH 6/6] Improve ‘org-sort-list’ test

2018-03-11 Thread Sebastian Reuße
* test-org-list.el (test-org-list/sort): Take case-sensitive vs. insensitive sorting into account. --- testing/lisp/test-org-list.el | 36 ++-- 1 file changed, 26 insertions(+), 10 deletions(-) diff --git a/testing/lisp/test-org-list.el b/testing/lisp/test-org-list

[O] [PATCH 3/6] Fix org-table-sort-lines test

2018-03-11 Thread Sebastian Reuße
* 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. --- testing/lisp/test-org-

[O] [PATCH 5/6] org-table-sort-lines: Fix case-sensitive sorting

2018-03-11 Thread Sebastian Reuße
* 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 b

[O] [PATCH 2/6] Fix alphabetic string matching operators

2018-03-11 Thread Sebastian Reuße
* org.el (org-string<): Add. (org-op-to-function): Use it. (org-string> etc.): Use collated comparison. Cf. commit 551d2f1fe. --- lisp/org.el | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index ac1ad3c75..edae502a8 100644 --- a/lisp/org.el

[O] [PATCH 4/6] Fix string-collate-lessp shim

2018-03-11 Thread Sebastian Reuße
* org-compat.el (org-string-collate-lessp): When shimming string-collate-lessp, accept the same arguments as in the unshimmed case. --- lisp/org-compat.el | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/lisp/org-compat.el b/lisp/org-compat.el index 975752224..a2

[O] [PATCH 1/6] Fix alphabetic sorting for tables, plain lists

2018-03-11 Thread Sebastian Reuße
* org-table.el (org-table-sort-lines): Use collated sorting. * org-list.el (org-sort-list): Use collated sorting. Cf. commit 551d2f1fe. --- etc/ORG-NEWS | 6 ++ lisp/org-list.el | 5 +++-- lisp/org-table.el | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/etc/ORG-