Re: [O] what settings would make original export to pdf as good as pandoc conversion?

2018-03-13 Thread Eric S Fraga
On Monday, 12 Mar 2018 at 16:42, Samuel Wales wrote: > seems to work. the only thing is that the first page is blank with > "[DEFAULT-PACKAGES] on it. i tried commenting that part out and got a > blank page. i presume this is because i am using maint and not > master. again thanks. Could you

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

2018-03-13 Thread Nicolas Goaziou
Sebastian Reuße writes: > * 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

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

2018-03-13 Thread Nicolas Goaziou
Sebastian Reuße writes: > * org-compat.el (org-string-collate-lessp): When shimming > string-collate-lessp, accept the same arguments as in the unshimmed > case. Applied. Thank you.

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

2018-03-13 Thread Nicolas Goaziou
Hello, pierre.techouey...@free.fr (Pierre Téchoueyres) writes: > 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

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

2018-03-13 Thread Nicolas Goaziou
Sebastian Reuße writes: > * 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

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

2018-03-13 Thread Nicolas Goaziou
Hello, Sebastian Reuße writes: > * org-table.el (org-table-sort-lines): Use collated sorting. > * org-list.el (org-sort-list): Use collated sorting. > > Cf. commit 551d2f1fe. Applied. Thank you. Regards, -- Nicolas Goaziou

Re: [O] [PATCH] Fix alphabetic string matching operators

2018-03-13 Thread Nicolas Goaziou
Sebastian Reuße writes: > * org.el (org-string<): Add. > (org-op-to-function): Use it. > (org-string> etc.): Use collated comparison. > > Cf. commit 551d2f1fe. Applied. Thank you.

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

2018-03-13 Thread Nicolas Goaziou
Sebastian Reuße writes: > * test-org-list.el (test-org-list/sort): Take case-sensitive > vs. insensitive sorting into account. Applied. Thank you.

Re: [O] Link abbreviations: include abbreviation table and linkwords with spaces

2018-03-13 Thread ST
> > after reading "4.6 Link abbreviations" of the manual I have two > > questions: > > > > 1. is it possible to define linkwords with spaces, like this: [[Harry > > Potter:Chapter1]], it looks much more nice than > > [[Harry_Potter:Chapter1]]? > > I think so. If yes, then it's really worth

Re: [O] upgrade from 8.2 to 9.2 breaks agenda timestamp font?

2018-03-13 Thread Nicolas Goaziou
Hello, David Belohrad writes: > yesterday evening i found by chance what it was. Problem of changed > definition of org-agenda-time-grid? Following definition is valid for org8, > but not org9: > > (setq org-agenda-time-grid '((daily require-timed) >

Re: [O] [PATCH] add :session support for ob-js.el

2018-03-13 Thread Nicolas Goaziou
Hello, stardiviner writes: > I added org-mode babel ob-js.el header argument :session. > > Following packages :session are supported: > > - skewer-mode > > - js-comint > > - Indium I don't know any of these, but here come some comments about the code. > then create.

Re: [O] upgrade from 8.2 to 9.2 breaks agenda timestamp font?

2018-03-13 Thread David Belohrad
hello both, yesterday evening i found by chance what it was. Problem of changed definition of org-agenda-time-grid? Following definition is valid for org8, but not org9: (setq org-agenda-time-grid '((daily require-timed) ""

Re: [O] Link abbreviations: include abbreviation table and linkwords with spaces

2018-03-13 Thread Nicolas Goaziou
Hello, ST writes: >> > after reading "4.6 Link abbreviations" of the manual I have two >> > questions: >> > >> > 1. is it possible to define linkwords with spaces, like this: [[Harry >> > Potter:Chapter1]], it looks much more nice than >> > [[Harry_Potter:Chapter1]]? >> >> I

Re: [O] Link abbreviations: include abbreviation table and linkwords with spaces

2018-03-13 Thread ST
> >> > after reading "4.6 Link abbreviations" of the manual I have two > >> > questions: > >> > > >> > 1. is it possible to define linkwords with spaces, like this: [[Harry > >> > Potter:Chapter1]], it looks much more nice than > >> > [[Harry_Potter:Chapter1]]? > >> > >> I think so. > > > > If

Re: [O] [PATCH] org-src-edit support open edit buffer bellow current window

2018-03-13 Thread stardiviner
I regenerated the path file. - mentioned `org-src-window-setup' in commit message - added `TINYCHANGE` in commit message - added change in `ORG-NEWS' >From 762f6c06621e12c98031363fe3e70345e342ffeb Mon Sep 17 00:00:00 2001 From: stardiviner Date: Tue, 13 Mar 2018 01:23:52

Re: [O] [PATCH] add :session support for ob-js.el

2018-03-13 Thread stardiviner
updated my code. I followed your suggestions. But modify code one by one messed code up. So I merge all related commits into one commit. Sorry for this. >From 23ef274fd418c876be85871f8da34738ae15ffd5 Mon Sep 17 00:00:00 2001 From: stardiviner Date: Thu, 8 Mar 2018

Re: [O] [PATCH] org-src-edit support open edit buffer bellow current window

2018-03-13 Thread Nicolas Goaziou
Hello, stardiviner writes: > Add a more better way to open src block. Thank you. > From d0db82e0b3f7e6ff0102b4b08ba18de883da32e2 Mon Sep 17 00:00:00 2001 > From: stardiviner > Date: Tue, 13 Mar 2018 01:23:52 +0800 > Subject: [PATCH] org-src.el:

Re: [O] org mode error "pdf wasn't produced"

2018-03-13 Thread Eric S Fraga
On Monday, 12 Mar 2018 at 15:40, Dereje Tefera wrote: > I can export to HTML or tet latex but not to pdf. > Any help would be highly appreciated. Switch to the buffer "*Org PDF LaTeX Output*" and scroll through it to see what errors LaTeX generated in trying to generate the PDF. You could also

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

2018-03-13 Thread pierre . techoueyres
Hello, Hello Nicolas, pierre.techouey...@free.fr (Pierre Téchoueyres) writes: 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

[O] Capture template expansion: feature or bug?

2018-03-13 Thread François Allisson
Hello everyone, When one uses the following template expansion, > %^{prop}p Prompt the user for a value for property ‘prop’. it supposes one to supply a non-empty string of characters. If one simply hits RETURN on a given prompt for property, the capture process ends with an > org-capture:

[O] org mode error "pdf wasn't produced"

2018-03-13 Thread Dereje Tefera
Dear good team of Org-mode, I am using org-mode in the Emacs, but I have a problem exporting to Latex, PDF. "I always have this message that says, PDF was not produced, when i try to export to latex pdf. I can export to HTML or tet latex but not to pdf. Any help would be highly appreciated.

Re: [O] org mode error "pdf wasn't produced"

2018-03-13 Thread R Jain
Hi Dereje,Have you already looked at (8) from https://orgmode.org/worg/org-tutorials/org-latex-export.html?--Rishabh On Mar 12 2018, at 5:40 pm, Dereje Tefera wrote: Dear good team of Org-mode,I am

[O] org export to PDF src block syntax highlighting not working

2018-03-13 Thread stardiviner
I use the following settings to toggle src block syntax highlighting: #+begin_src emacs-lisp ;;; export to PDF with src blocks syntax highlighting. (setq org-latex-listings 'minted) (add-to-list 'org-latex-packages-alist '("newfloat" "minted" "color")) (add-to-list 'org-latex-pdf-process    

Re: [O] Export to LaTeX buffer

2018-03-13 Thread Hoffmann, Jobst
Am Montag, den 12.03.2018, 20:53 +0100 schrieb Nicolas Goaziou: > "Hoffmann, Jobst" writes: > > > I'm using Fedora with a packaged emacs and an .rpm package emacs- > > commons, which contains beside other packages that I use the org > > files > > in a directory org. > >

[O] [BUG] org-sort-entries errors out when headline is empty

2018-03-13 Thread Sebastian Reuße
So, I’ve noticed that when sorting a subtree (alphabetically or numerically), ‘org-sort-entries’ will raise an error arising from the call to ‘org-sort-remove-invisible’ (lines 8761 and 8766 in bc7b24d0d). I’m following up with a test. The error is triggered by the capture group in

[O] [PATCH 1/2] Extend org-sort-entries test

2018-03-13 Thread Sebastian Reuße
* test-org.el (test-org/sort-entries): Test with empty headings. --- testing/lisp/test-org.el | 10 ++ 1 file changed, 10 insertions(+) diff --git a/testing/lisp/test-org.el b/testing/lisp/test-org.el index 33769aafa..8c98fce4d 100644 --- a/testing/lisp/test-org.el +++

Re: [O] org alters output of bash code blocks when run with :session

2018-03-13 Thread Tyler Smith
On Mon, Feb 26, 2018, at 6:27 AM, Nicolas Goaziou wrote: > Tyler Smith writes: > > > > How do I force the babel session to leave the output alone, and print > > it verbatim into the org file? > > It may be related to other problems related to prompt in shell sessions. > See

[O] [PATCH 2/2] Guard against empty headings when sorting

2018-03-13 Thread Sebastian Reuße
* org.el (org-sort-entries): Guard against empty headings when sorting alphabetically, numerically. Due to how ‘org-complex-heading-regexp’ is defined, the title capture group currently returns nil in empty headings, which we don’t want to pass on to ‘org-sort-remove-invisible’. --- lisp/org.el

Re: [O] Structured links to headings with endless depth

2018-03-13 Thread John Kitchin
This is a tricky problem to generally solve. I think this does it approximately well enough. It is lightly tested and works by exactly matching headlines at subsequent levels. It will be problematic if you have headlines with : in them, and it assumes there is a level 1 headline to start in.

Re: [O] org mode error "pdf wasn't produced"

2018-03-13 Thread John Hendy
Dejere, Org-mode is not able to find your latex installation. That's the problem, just as it says: it's trying to run the compilation command, `pdflatex` and it can find no such thing. Either it's not installed, or it's not in your path. The more details you can provide, the better. For

Re: [O] org mode error "pdf wasn't produced"

2018-03-13 Thread John Hendy
Oops. Sincere apologies for misspelling your name, Dereje! I misread in my hasty skim. John On Tue, Mar 13, 2018 at 8:28 PM, John Hendy wrote: > Dejere, > > > Org-mode is not able to find your latex installation. That's the > problem, just as it says: it's trying to run the

Re: [O] [PATCH 1/3] ob-table: Fix org-sbe's handling of quotes in arguments

2018-03-13 Thread Vladimir Panteleev
Hi, On 2018-03-12 23:15, Nicolas Goaziou wrote: The dollar character looks strange. What syntax is that? I agree that it is strange. I mentioned it (and its strangeness) in the cover-letter. The documentation of org-sbe describes it as well. +#+name: identity +#+begin_src emacs-lisp :eval

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

2018-03-13 Thread Pierre Téchoueyres
Nicolas Goaziou writes: > ... > Otherwise, it looks good. Would you mind adding an entry in ORG-NEWS > about it? Hello Nicolas, What dou you think about the attached patch ? >From 0103a07b10915ce7c919b8a6858beff3dbd7e45f Mon Sep 17 00:00:00 2001 From:

Re: [O] org mode error "pdf wasn't produced"

2018-03-13 Thread Dereje Tefera
Hi Everyone, thank you very much for the response. Rishabh, yes i have check the link you mentioned. the error says "'pdflatex"' is not recognized as an internal or external command, operable program or batch file." but i have that in my init.el file configured. Regards Dereje On

Re: [O] org mode error "pdf wasn't produced"

2018-03-13 Thread John Kitchin
That means emacs is not finding pdflatex on your path. A little more information might help. 1. In a terminal, if you type: > which pdflatex to you get anything? 2. How do you launch emacs? If you are launching it from some icon, you might not be getting the same path environment as from a

Re: [O] org mode error "pdf wasn't produced"

2018-03-13 Thread Dereje Tefera
Hi Prof. Kitchin and others, I am using Emacs-org-mode on a windows machine and launch the program from the desktop shortcut. Regards Dereje On Tue, Mar 13, 2018 at 6:05 PM, John Kitchin wrote: > That means emacs is not finding pdflatex on your path. > > A