[O] Bug: Babel Tramp python [8.2.10 (release_8.2.10 @ /usr/share/emacs/25.3/lisp/org/)]

2017-09-19 Thread emacswatcher
Given emacs -Q with this file: +++ test.org #+TITLE: Babel remote processing test #+AUTHOR: jjh #+EMAIL: emacswatc...@gmail.com * python #+BEGIN_SRC python :dir /ssh:root@[some remote host]: import socket return ("Hostname is %s" % socket.gethostname()) #+END_SRC --- test.org and with py

Re: [O] running tests on macOS: 4 unexpected results

2017-09-19 Thread Skip Collins
On Tue, Sep 19, 2017 at 6:53 PM, Stig Brautaset wrote: > |FAILED ob-shell/bash-uses-assoc-arrays Using homebrew to install a newer bash should help fix this one.

[O] running tests on macOS: 4 unexpected results

2017-09-19 Thread Stig Brautaset
Running tests using the following script: , | #!/bin/sh | emacs -Q --batch \ | -L lisp/ -L testing/ -L testing/lisp -l lisp/org.el \ | -l lisp/org-id.el -l testing/org-test.el \ | --eval "(progn (org-reload) (setq org-confirm-babel-evaluate nil) \ | (org-babel-

Re: [O] (gnus-icalendar-org-setup) not evaluated in .emacs?

2017-09-19 Thread Tim Cross
Management of an emacs init file is a challenge for anyone who has been using Emacs for a long time. I did this after being a user for over 20 years and like you, was a little daunted by the task. However, I now realise it was the single best thing I ever did to improve my emacs. I also had let my

Re: [O] Add ability to force-enable TOC

2017-09-19 Thread Kaushal Modi
On Tue, Sep 19, 2017 at 3:57 PM Nicolas Goaziou wrote: > What is exactly the feature you are missing? Your example is a special > case where _no_ heading is numbered. I would not consider this as a special case. It is very common for HTML exports to not always number the headings. Blog posts a

Re: [O] [PATCH] ox-html.el: Fix display of language indicators for source blocks

2017-09-19 Thread Nicolas Goaziou
Hello, "N. Raghavendra" writes: > Subject: [PATCH] ox-html.el: Partially revert d5bbf36553 Applied. Thank you. Regards, -- Nicolas Goaziou

Re: [O] Add ability to force-enable TOC

2017-09-19 Thread Nicolas Goaziou
Kaushal Modi writes: > On Tue, Sep 19, 2017 at 3:27 PM Nicolas Goaziou > wrote: > >> The change was intended. The idea was discussed on the ML. You may want >> to check the thread. >> >> This is on par with, e.g., what LaTeX does. >> > > What would be a good way, though, to bring back that funct

Re: [O] Add ability to force-enable TOC

2017-09-19 Thread Kaushal Modi
On Tue, Sep 19, 2017 at 3:27 PM Nicolas Goaziou wrote: > The change was intended. The idea was discussed on the ML. You may want > to check the thread. > > This is on par with, e.g., what LaTeX does. > What would be a good way, though, to bring back that functionality? I don't mind if I need to

Re: [O] Add ability to force-enable TOC

2017-09-19 Thread Nicolas Goaziou
Hello, Carsten Dominik writes: > On Tue, Sep 19, 2017 at 4:49 PM, Kaushal Modi > wrote: > >> Hello, >> >> I have use-cases where I don't like to see the headings numbered but still >> want the TOC to be generated. >> >> I have this in many of my Org files: >> >> #+OPTIONS: num:nil H:4 >> >> But

Re: [O] Bug: org-emphasis-alist not fully applied [9.1.1 (9.1.1-1-g80cbf9-elpa @ x:/folder/user/.emacs.d/elpa/org-20170918/)]

2017-09-19 Thread Nicolas Goaziou
Jens Lange writes: > Hmm, but that worked until recently. Without any hook. > > Or was your answer like: Good for you that it worked in the past but since > it ain't supported we won't make it work again? That's more like it, sorry. The fact that it worked doesn't mean it was supported. As I s

[O] Org-babel-lilypond midi output in basic mode

2017-09-19 Thread Fred Gruber
Hi Is there a way to get org-babel-lilypond to generate midi of music fragments in basic mode. Ideally when we export the html the images of the music fragments should have a link to the corresponding midi of that fragment. So far it seems that you can only get midi from the arrange mode. thanks

Re: [O] [PATCH] ox-html.el: Fix display of language indicators for source blocks

2017-09-19 Thread N. Raghavendra
At 2017-09-19T06:24:37+05:30, N. Raghavendra wrote: > Attached is a patch that implements these changes. Attached is a simplified patch with an unnecessary conditional removed. Raghu. -- N. Raghavendra , http://www.retrotexts.net/ Harish-Chandra Research Institute, http://www.hri.res.in/ >Fro

Re: [O] Org-babel Java imports

2017-09-19 Thread Eric S Fraga
On Tuesday, 19 Sep 2017 at 09:51, Tim Jones wrote: > I then tried preceding it with a package statement, which did not work > either. No, a package statement should not be required. The classname matches the java code. What worked for me, accessing a class in another package, was to put ".:PATH2

Re: [O] Add ability to force-enable TOC

2017-09-19 Thread Carsten Dominik
On Tue, Sep 19, 2017 at 4:49 PM, Kaushal Modi wrote: > Hello, > > I have use-cases where I don't like to see the headings numbered but still > want the TOC to be generated. > > I have this in many of my Org files: > > #+OPTIONS: num:nil H:4 > > But after commit bd23781[1], that has stopped workin

Re: [O] Add ability to force-enable TOC

2017-09-19 Thread Kaushal Modi
On Tue, Sep 19, 2017 at 10:49 AM Kaushal Modi wrote: > Can we enforce the TOC generation using the "toc:" option. Below does not > work at the moment, but would like that to work. > > #+OPTIONS: num:nil H:4 toc:4 > Above works after the below patch: diff --git a/lisp/ox.el b/lisp/ox.el index 2b

[O] Add ability to force-enable TOC

2017-09-19 Thread Kaushal Modi
Hello, I have use-cases where I don't like to see the headings numbered but still want the TOC to be generated. I have this in many of my Org files: #+OPTIONS: num:nil H:4 But after commit bd23781[1], that has stopped working i.e. no TOC is created because of num:nil. Can we enforce the TOC ge

[O] test fails: resolve-external-link

2017-09-19 Thread Skip Collins
When compiling Org with make up2 a failed test prevents successful completion: FAILED 555/746 test-org-publish/resolve-external-link I am running GNU Emacs 25.3.1 (x86_64-apple-darwin16.7.0, Carbon Version 157 AppKit 1504.83) of 2017-09-12 with Org mode version 9.1.1 (release_9.1.1-54-gff6b38

Re: [O] Bug: org-emphasis-alist not fully applied [9.1.1 (9.1.1-1-g80cbf9-elpa @ x:/folder/user/.emacs.d/elpa/org-20170918/)]

2017-09-19 Thread Jens Lange
Hmm, but that worked until recently. Without any hook. Or was your answer like: Good for you that it worked in the past but since it ain't supported we won't make it work again? With kind regards, Jens Lange 2017-09-19 8:02 GMT+02:00 Nicolas Goaziou : > Hello, > > Jens Lange writes: > > > What

Re: [O] Org-babel Java imports

2017-09-19 Thread Tim Jones
Eric Thanks for your reply No - that's exactly what I did first, but it did not work. I then tried preceding it with a package statement, which did not work either. It got me thinking that I had now idea how it could resolve dependencies, whether for java packages, which you would expect to be

Re: [O] (gnus-icalendar-org-setup) not evaluated in .emacs?

2017-09-19 Thread Loris Bennett
Eric S Fraga writes: > On Thursday, 14 Sep 2017 at 16:02, Loris Bennett wrote: >> But should this kind of ordering dependency happen? Or should my >> Customize block just be at the beginning of my .emacs rather than at the >> end? > > I make sure my customizations are loaded before anything else

Re: [O] Org-babel Java imports

2017-09-19 Thread Eric S Fraga
On Friday, 15 Sep 2017 at 14:56, Tim Jones wrote: > Hi > Want to create org docs with embedded java blocks which will generate > testing data > > I have seen > http://ehneilsen.net/notebook/orgExamples/org-examples.html#sec-19 > but have not been able to find an example where there are any import >

Re: [O] (gnus-icalendar-org-setup) not evaluated in .emacs?

2017-09-19 Thread Eric S Fraga
On Thursday, 14 Sep 2017 at 16:02, Loris Bennett wrote: > But should this kind of ordering dependency happen? Or should my > Customize block just be at the beginning of my .emacs rather than at the > end? I make sure my customizations are loaded before anything else. I have my customizations in

Re: [O] speed up exporting to pdf

2017-09-19 Thread Eric S Fraga
On Friday, 15 Sep 2017 at 17:27, Amos Bird wrote: > Hi, > > When doing org to pdf exportation of my 2 pages demo org file, it > takes nearly 10 seconds. How can I > speed it up? What does your org file include? In any case, you may wish to look at org-latex-pdf-process to see if unnecessary comma

Re: [O] What is the best way to show inline math formulas in org mode?

2017-09-19 Thread Eric S Fraga
On Tuesday, 19 Sep 2017 at 13:25, Amos Bird wrote: > Hi, > > Hmm, seems org-mime is broken again… > > I have an fine working latex env. Though I don't know what a decent > inline formula looks like :) It looks pretty much as you have got. You can customise the actual image created using org-forma

[O] use %A to prompt for plain text when there is not file

2017-09-19 Thread Amos Bird
#+OPTIONS: latex:t toc:nil H:3 Hi, I'm currently using this template, #+BEGIN_EXAMPLE * %A [/] - [ ] %? #+END_EXAMPLE However when capturing in a non-file buffer, %A generates nothing. I'd like to have a plain text inserted instead. What can I do? regards, -- Amos Bird amosb...@gmail.com