[PATCH] prevent mangled output in ob-J by allowing sit-time duration to be customized

2020-09-02 Thread Joseph Novakovich
Hello! The problem is that we read the contents of the output after 0.1 seconds, which, for expensive computations, results in the mangling of output. Output from expensive computations gets propagated down to subsequent code-blocks' outputs, producing a horrible mess. Joseph From

Re: latex fragments compilation error when exporting to html

2020-09-02 Thread Thibault Marin
Hi, I can't comment on the rest of the discussion but I think I added this org-html--unlabel-latex-environment line. It was part of a change allowing links to equations in HTML export (https://lists.gnu.org/archive/html/emacs-orgmode/2018-01/msg00120.html). When removing the call to

Re: Headline generation as in diary?

2020-09-02 Thread Robert Pluim
> On Tue, 01 Sep 2020 23:56:55 +0200, Michael Heerdegen > said: Michael> Robert Pluim writes: >> Itʼs triggered by the %%(, I believe, but not in headlines. Michael> Yes, I see that in the code. Michael> But actually I seem to have the opposite problem: I can't make

Re: latex fragments compilation error when exporting to html

2020-09-02 Thread Jeremie Juste
Hello, I have found the culprit in the end. It was the function org-html--unlabel-latex-environment, int he ox-html.el file. I'm not sure this function is useful as I think it is better to give the user control on his environment (labelled or unlabelled) directly in his org file. I'm I missing

Re: babel default header args as functions

2020-09-02 Thread Matt Huszagh
Matt Huszagh writes: > I've generated a patch for this. Please let me know your thoughts. I > believe this adds valuable flexibility to default header > arguments. I've added an additional fix that makes this work during export too. >From aec4e905d5d72f9a124adfde877835a783bd637b Mon Sep 17

Re: [PATCH] babel latex headers and image generation commands

2020-09-02 Thread Matt Huszagh
Matt Huszagh writes: > Ok, I've finally gotten around to taking a crack at this. The patch is > attached. Basically, it allows a lot more control when converting a > latex source block into an svg image file. I've added a few changes to the patch that additionally allow custom the begin and end

Re: [PATCH] babel latex headers and image generation commands

2020-09-02 Thread Matt Huszagh
Matt Huszagh writes: > I've added a few changes to the patch that additionally allow custom the > begin and end document environments. The purpose here is to allow latex > code within the document environment that is ignored by the body > export. For instance, I can set the page color with >

Re: Headline generation as in diary?

2020-09-02 Thread Robert Pluim
> On Wed, 02 Sep 2020 15:45:36 +0200, Michael Heerdegen > said: Michael> Robert Pluim writes: >> How about: >> >> diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el >> index 78fe13303..9049b3a42 100644 >> --- a/lisp/org-agenda.el >> +++

ob-java and ob-haxe

2020-09-02 Thread ian martins
I posted patches for ob-java and ob-haxe a couple months ago but there was no interest. I have been given access to push to contrib. If there's no objection I'll put them there. I'll rename my version ob-java-alt so it doesn't conflict with the official one. The contrib directory doesn't have a

Re: Headline generation as in diary?

2020-09-02 Thread Michael Heerdegen
Robert Pluim writes: > How about: > > diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el > index 78fe13303..9049b3a42 100644 > --- a/lisp/org-agenda.el > +++ b/lisp/org-agenda.el > @@ -5772,7 +5772,7 @@ displayed in agenda view." > r (replace-match "" nil nil r))) >

Re: Headline generation as in diary?

2020-09-02 Thread Michael Heerdegen
Robert Pluim writes: > OK. Thatʼs as far as my org-hacking knowledge goes, so perhaps someone > else here has an idea of the right way to invoke "tell me what heading > Iʼm in, as a string". The situation is actually like this: the empty string issue doesn't happen with time stamps <%%(...)>,

Re: ob-java and ob-haxe

2020-09-02 Thread Kyle Meyer
ian martins writes: > I posted patches for ob-java and ob-haxe a couple months ago but there was > no interest. I have been given access to push to contrib. If there's no > objection I'll put them there. > > I'll rename my version ob-java-alt so it doesn't conflict with the official > one. The

Bug: No colors in first file opened [9.3.7 (9.3.7-dist @ c:/w/.emacs.d/org-9.3.7/lisp/)]

2020-09-02 Thread Dominick Samperi
No colors appear in first file opened. Must use (org-mode-restart) to enable colors after opening first file.