[O] src blocks: code is /always/ exported

2016-12-29 Thread Martin Gürtler
Dear list, I am exporting the following org mode file: 8< * doc #+BEGIN_SRC shell :exports none ls |wc #+END_SRC #+RESULTS: : 20  20 199 8< I'd expect org mode to honour the :exports none header argument and create a document that

Re: [O] [PATCH] Tag visibility fixup after setting them

2016-12-29 Thread Nicolas Goaziou
Hello, Alexey Lebedeff writes: > I'm attaching updated patch. Applied. Thank you. > But I'm not sure it's a good idea to add another 6 lines of code to > the function which is already big enough. The function is not massive either, and half the inserted lines are comments

[O] mark as done on a previous date?

2016-12-29 Thread Stig Brautaset
I'm trying to use org-habit to track my habits and sometimes I don't get around to mark stuff as done on the day I do them. I've found two different functions for marking stuff as done in the past, but I can't get either of them to work. Here are the two different approaches I found. The first

Re: [O] [PATCH] Tag visibility fixup after setting them

2016-12-29 Thread Alexey Lebedeff
Hi Nicolas, I'm attaching updated patch. But I'm not sure it's a good idea to add another 6 lines of code to the function which is already big enough. Best, Alexey On Thu, Dec 29, 2016 at 3:39 AM, Nicolas Goaziou wrote: > Hello, > > Alexey Lebedeff

Re: [O] Referring to an Org Babel variable in the invocation arguments to another Org Babel code block

2016-12-29 Thread Nicolas Goaziou
Hello, Zack Piper writes: > When I use your example, and adjust it slightly: > > #+NAME: block-1 > #+BEGIN_SRC shell :var x="X" > > echo ">>>" $x "<<<" #+END_SRC > > #+BEGIN_SRC shell :var c="test" y=block-1(c) > echo $y > #+END_SRC > > #+RESULTS:

[O] Bug: org-publish-get-project-from-filename raises (wrong-type-argument sequencep any)

2016-12-29 Thread Arun Isaac
On list elements of `org-publish-project-alist' with :base-extension any `org-publish-get-project-from-filename' fails with error (wrong-type-argument sequencep any). This is due to the `concat' call in `org-publish-get-project-from-filename' where it attempts to construct a regex by

Re: [O] src blocks: code is /always/ exported

2016-12-29 Thread Lars E. Pettersson
On 12/29/16 19:45, Martin Gürtler wrote: I do not really need src block evaluation during export. I only need to evaluate (manually) when I changed the graphics src, what I am doing anyway to check the changed image. But how would I control the (not-)inclusion of the src code during export in

Re: [O] src blocks: code is /always/ exported

2016-12-29 Thread Charles C. Berry
On Thu, 29 Dec 2016, Martin Gürtler wrote: Am Donnerstag, 29. Dezember 2016, 09:07:40 CET schrieb Charles C. Berry: On Thu, 29 Dec 2016, "Martin Gürtler" wrote: Dear list, I am exporting the following org mode file: [deleted] But how would I control the (not-)inclusion of the src code

Re: [O] src blocks: code is /always/ exported

2016-12-29 Thread Charles C. Berry
On Thu, 29 Dec 2016, "Martin Gürtler" wrote: Dear list, I am exporting the following org mode file: 8< * doc #+BEGIN_SRC shell :exports none ls |wc #+END_SRC #+RESULTS: : 20  20 199 8< I'd expect org mode to honour the :exports none header

Re: [O] src blocks: code is /always/ exported

2016-12-29 Thread Martin Gürtler
Am Donnerstag, 29. Dezember 2016, 09:07:40 CET schrieb Charles C. Berry: > On Thu, 29 Dec 2016, "Martin Gürtler" wrote: > > Dear list, > > I am exporting the following org mode file: > > 8< > > * doc > > #+BEGIN_SRC shell :exports none > > ls |wc > > #+END_SRC > > > >

[O] Getting "Chapter" before a heading number

2016-12-29 Thread Peter Davis
I'm preparing a proposed table of contents for a book, and I'd like the HTML output to appear like: Chapter 1 Blah 1.1 blah 1.2 blah blah 1.3 blah blah blah Chapter 2 Blah Blah 2.1 blah 2.2 blah blah etc. Is there a way to get HTML output to do this? I'd like the "*" at the start

Re: [O] speeding up Babel Gnuplot

2016-12-29 Thread Nicolas Goaziou
Hello, Thierry Banel writes: > Babel Gnuplot is quite slow on large tables. > Example: 45 seconds for a 1500 rows table. > > Why? Because orgtbl-to-generic is too slow (or too generic). Its > behavior seems to be quadratic O(size^2). Should we bypass it? I don't think so.

Re: [O] Getting "Chapter" before a heading number

2016-12-29 Thread Richard Lawrence
Hi Peter, Peter Davis writes: > I'm preparing a proposed table of contents for a book, and I'd like the HTML > output to appear like: > > Chapter 1 Blah > 1.1 blah > 1.2 blah blah > 1.3 blah blah blah > > Chapter 2 Blah Blah > 2.1 blah > 2.2 blah blah > > etc. > >

Re: [O] speeding up Babel Gnuplot

2016-12-29 Thread Thierry Banel
Le 29/12/2016 21:04, Nicolas Goaziou a écrit : > I did some optimizations in master branch. I go below 1 sec for the 1500 > rows table. Confirmed! Your latest commit givesa huge boost. >> Here is a fix to speed up the rendering to a mere fraction of a second. >> >> #+BEGIN_SRC elisp >> (defun

Re: [O] Bug: org-publish-get-project-from-filename raises (wrong-type-argument sequencep any)

2016-12-29 Thread Nicolas Goaziou
Hello, Arun Isaac writes: > On list elements of `org-publish-project-alist' with :base-extension any > `org-publish-get-project-from-filename' fails with error > (wrong-type-argument sequencep any). This is due to the `concat' call in >

Re: [O] Bug: org-publish-get-project-from-filename raises (wrong-type-argument sequencep any)

2016-12-29 Thread Arun Isaac
Nicolas Goaziou writes: > Hello, > > Arun Isaac writes: > >> On list elements of `org-publish-project-alist' with :base-extension any >> `org-publish-get-project-from-filename' fails with error >> (wrong-type-argument sequencep any). This is due to the `concat' call