Re: [O] how to speed up an org-mode file?

2016-07-11 Thread Grant Rettke
Try approaching this the same way that you would prepare an ECM: http://orgmode.org/worg/org-faq.html Start Emacs with a stable version of Org-Mode, without any additional configuration. Is the performance what you expect? FWIW: two things that sped up my rather small in comparison Org-Mode

Re: [O] org-mode habit consistency graph not displaying

2016-07-11 Thread Brenda J. Butler
On Thu, Jul 07, 2016 at 08:29:44PM -0700, Josiah Schwab wrote: > Hello Brenda, > > > When I started using org-mode from elpa, the habit consistency graph > > stopped showing. I was using a version of org-mode that comes with > > debian before, with emacs 23 and the graph showed. > > When I

[O] ob-sed-test failure introduced by f38f83b4

2016-07-11 Thread Achim Gratz
Two of the three ob-sed tests are failing after commit f38f83b4, but only in batch mode. It seems the final newline gets eaten somewhere, leading to the string= howling in protest. When I run the code in question interactively, it works as expected (result shown in minibuffer is a string _with_

[O] Customizing todo state for habits

2016-07-11 Thread Clarissa Littler
Hi y'all, So maybe I've missed the obvious, but the default behavior of habits seems to be to, when completed, to revert the state to the first todo keyword in your listing but I want to have different todo states for different habits depending on the /kind/ of task it is. How would I do that?

Re: [O] workflow, matlab+latex in org file

2016-07-11 Thread Eric S Fraga
On Monday, 11 Jul 2016 at 12:32, Uwe Brauer wrote: > Hello > > I want in a org file, to include matlab code and run it (that I know how > to do) > > Then I want certain results, which are symbolic variables, expressed in > latex, we I achieve using matlab's latex command. > > Like > > #+begin_src

Re: [O] workflow, matlab+latex in org file

2016-07-11 Thread Uwe Brauer
>>> "John" == John Kitchin writes: > You might consider the alternative, no-frills approach below. I defined > a new execute function that strips the header and >> out of the output. > It won't support any kind of session or header variables, but if you >

Re: [O] make specific orgmode code blocks read only?

2016-07-11 Thread John Kitchin
I did something like this for sections once. http://kitchingroup.cheme.cmu.edu/blog/2014/09/13/Make-some-org-sections-read-only/ You could probably put a :read-only in some src headers and map over src blocks instead of sections using org-element-map. Xebar Saram writes: > Hi! > I was

Re: [O] workflow, matlab+latex in org file

2016-07-11 Thread John Kitchin
You might consider the alternative, no-frills approach below. I defined a new execute function that strips the header and >> out of the output. It won't support any kind of session or header variables, but if you don't use those it might work for you. #+BEGIN_SRC emacs-lisp (defun

[O] make specific orgmode code blocks read only?

2016-07-11 Thread Xebar Saram
Hi! I was wondering if possible at all and anyone knew of a way to make specific orgmode code blocks read only? the rest of the org buffer would be normal just specific code blocks best Z

Re: [O] workflow, matlab+latex in org file

2016-07-11 Thread Uwe Brauer
>>> "John" == John Kitchin writes: > Here is an example using sympy. I think you will have to wrap the matlab > output in $$ yourself if that is what you want. Right. Using your example I obtain: , | | | < M A T L A B (R) > |

Re: [O] workflow, matlab+latex in org file

2016-07-11 Thread John Kitchin
Here is an example using sympy. I think you will have to wrap the matlab output in $$ yourself if that is what you want. Otherwise, the :exports header below specifies to only export the results, and the :results header wraps the output in a latex environment. #+BEGIN_SRC python :results output

Re: [O] workflow, matlab+latex in org file

2016-07-11 Thread Uwe Brauer
>>> "Ken" == Ken Mankoff writes: > I can't execute your code, Why not > but what does ":results output latex" show? > And what if you add the ";" to each line so it is not printed, except > the last, which is perhaps explicitly printed? You are right! Thanks.

[O] workflow, matlab+latex in org file

2016-07-11 Thread Uwe Brauer
Hello I want in a org file, to include matlab code and run it (that I know how to do) Then I want certain results, which are symbolic variables, expressed in latex, we I achieve using matlab's latex command. Like #+begin_src matlab :results output clear all syms e p R g w K K2 phi=[(e +

Re: [O] Dynamic links

2016-07-11 Thread Sriram Thaiyar
That is exactly what I want!! Thank you! Added bonus: it seems I can use this with any other mode. I've updated the code: https://github.com/sri/dotfiles/commit/3b2e42f488393dfc0f7fa91887877af5b195a20c And I'm invoking it like so: (add-hook 'org-mode-hook (lambda ()