Re: [O] How to do proper folding and semantic markup

2016-03-30 Thread Thomas S. Dye
Aloha Eduardo, You might find Aaron Ecay's ox-extra.el in contrib useful. It defines an :ignore: tag that instructs the exporter to ignore the headline it tags, but still export the text, etc. under the headline. So, , | * Abstract :ignore: |

[O] How to do proper folding and semantic markup

2016-03-30 Thread Eduardo Mercovich
Dear all. I'm using org-mode as a writer and it is simply fantastic. One of the things I enjoy more is the folding. A huge report like the one I'm working on seems sooo easy... ;) However, I don't know how to integrate that with some semantic markup and the latex exporter at the same time (BTW,

Re: [O] using info in a filter

2016-03-30 Thread John Kitchin
ok, thanks. Nicolas Goaziou writes: > Hello, > > John Kitchin writes: > >> How does one use the info in a filter? >> >> e.g. >> >> in (defun my-block-filter (data backend info)) >> >> data is the transcoded block string, and I want to add something to it >> based on say

Re: [O] ob-clojure: possible to display results as soon as something is written to STDOUT?

2016-03-30 Thread Frederick Giasson
Hi Jon, You can see a commented out version for shell blocks here: https://github.com/jkitchin/jmax/blob/master/jmax-org.el#L936 It looks like I just redefined the org-babel-execute:sh function after it was loaded. That may not be recommended good practice, but it works ;) I am not sure why

Re: [O] ob-clojure: possible to display results as soon as something is written to STDOUT?

2016-03-30 Thread John Kitchin
a Frederick Giasson writes: > Hi John, > >> you should rename it org-babel-async-execute:clojure, and adapt it to >> run clojure. > > Yes > >> I wrote the function in the org-file that is that post, and executed the >> code block (C-c C-c) which "registers" the function for that instance of >>

Re: [O] a patch to ob-lisp.el

2016-03-30 Thread Thomas S. Dye
Aloha stardiviner, For instructions about the FSF papers, see http://orgmode.org/worg/org-contribute.html. All the best, Tom numbch...@gmail.com writes: > I updated all comments which you point out. > I wandering how to sign the FSF papers? Sorry about this, this is my first > time > to

Re: [O] a patch to ob-lisp.el

2016-03-30 Thread numbch...@gmail.com
I updated all comments which you point out. I wandering how to sign the FSF papers? Sorry about this, this is my first time to contribute code in open source. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint

Re: [O] Bug: Active Timestamps in HTML Export [8.3.4 (8.3.4-28-gf9464d-elpa @ c:/Users/xxxx/AppData/Roaming/.emacs.d/elpa/org-20160328/)]

2016-03-30 Thread Nicolas Goaziou
Hello, Keith Sutton writes: > With HTML export and org-export-with-planning t, no translation is done in > org-html-planning to convert the angle brackets of an active timestamp to > and . This gets shown by some browsers anyway, but is swallowed > and ignored by others. > >

Re: [O] [PATCH 1/3] add id attribute to example-block on html export.

2016-03-30 Thread Nicolas Goaziou
Hello, John Kitchin writes: > This allows you to hyperlink to the block. Applied the 3 patches, with minor changes (you seem to be using an outdated Org so you were reverting changes made to master). Could you provide an ORG-NEWS entry for this? Thank you. Regards,

Re: [O] ob-clojure: possible to display results as soon as something is written to STDOUT?

2016-03-30 Thread Frederick Giasson
Hi John, you should rename it org-babel-async-execute:clojure, and adapt it to run clojure. Yes I wrote the function in the org-file that is that post, and executed the code block (C-c C-c) which "registers" the function for that instance of emacs. I am not sure I understand here. Once

Re: [O] ob-clojure: possible to display results as soon as something is written to STDOUT?

2016-03-30 Thread John Kitchin
you should rename it org-babel-async-execute:clojure, and adapt it to run clojure. I wrote the function in the org-file that is that post, and executed the code block (C-c C-c) which "registers" the function for that instance of emacs. Later you could put it in an init file that is loaded when

Re: [O] ob-clojure: possible to display results as soon as something is written to STDOUT?

2016-03-30 Thread Frederick Giasson
Hi John! Interesting approach :) I am really new with org-mode, but I will try to adapt for ob-clojure.el. One question: this function "org-babel-async-execute:python", where should I register it? I guess it should replace "org-babel-execute:python"? Thanks for this precision will work on

Re: [O] using info in a filter

2016-03-30 Thread Nicolas Goaziou
Hello, John Kitchin writes: > How does one use the info in a filter? > > e.g. > > in (defun my-block-filter (data backend info)) > > data is the transcoded block string, and I want to add something to it > based on say the type of block, name and header of the

Re: [O] patch for HTML links to GNU documents

2016-03-30 Thread Nicolas Goaziou
Hello, emac...@gmail.com (Richard Y. Kim) writes: > I made all the changes that you suggested in the attached patch. > Please let me know if further changes are needed. It looks good. I applied the patch. Thank you. > I mailed in my signed licensing paper for emacs to FSF today, so that it >

Re: [O] ob-clojure: possible to display results as soon as something is written to STDOUT?

2016-03-30 Thread Eric S Fraga
On Wednesday, 30 Mar 2016 at 08:30, John Kitchin wrote: > This might not be totally true. Which is why I said "minimal support" ;-) But you are correct: there are mechanisms for asynchronous threading in Emacs. -- : Eric S Fraga (0xFFFCF67D), Emacs 25.0.92.1, Org release_8.3.4-668-g809a83

Re: [O] ob-clojure: possible to display results as soon as something is written to STDOUT?

2016-03-30 Thread John Kitchin
This might not be totally true. In this post I use a few different asynchronous approaches to running Python that do something like what you want, perhaps especially the last bit of the post. http://kitchingroup.cheme.cmu.edu/blog/2015/11/20/Asynchronously-running-python-blocks-in-org-mode/

Re: [O] ob-clojure: possible to display results as soon as something is written to STDOUT?

2016-03-30 Thread Frederick Giasson
Hi Eric, Note: I am not sure if this is something related to Org-mode, or ob-clojure or Cider. None of these directly. It's Emacs, basically: it has very minimal support for threading so the whole process (Emacs) is waiting for the sub-process (Clojure) to finish before doing anything else.

Re: [O] ob-clojure: possible to display results as soon as something is written to STDOUT?

2016-03-30 Thread Eric S Fraga
On Tuesday, 29 Mar 2016 at 13:44, Frederick Giasson wrote: [...] > Note: I am not sure if this is something related to Org-mode, or > ob-clojure or Cider. None of these directly. It's Emacs, basically: it has very minimal support for threading so the whole process (Emacs) is waiting for the