[O] ("Cannot open load file" "org-fstree") vs (babel, windows, shell)

2013-12-13 Thread Brady Trainor
* ("Cannot open load file" "org-fstree") vs (babel, windows, shell) long story short, fstree strategy leads to "cannot open load path", babel route is only explained for I believe Linux version. Ad-hoc solution with Windows command prompt, cut and paste directory structure. ** org tree iss

Re: [O] [BUG] inline source breaks paragraphs

2013-12-13 Thread Eric Schulte
Nicolas Goaziou writes: > Hello, > > Andreas Leha writes: > >> inline source -- when on its own line -- breaks the paragraph, which is >> unexpected. >> >> Here is a test file: >> >> * Test >> >> This is a broken >> src_R[:exports results :results raw]{10} >> paragraph. >> >> >> Here is (the rel

Re: [O] [babel] how to pass data to gnuplot from another block

2013-12-13 Thread Eric Schulte
It sounds as though most people don't particularly care which shell is used. However, I believe Greg is correct and the *right* thing to do is to have specific names (bash, sh, etc...) denote specific shells. I'd also like "#+begin_src shell" to specify the "don't care" option. That is what thes

Re: [O] [PATCH] make vanilla: run Emacs -Q with this Org loaded

2013-12-13 Thread Eric Schulte
Achim Gratz writes: > schulte.e...@gmail.com writes: >> I think this change could make it easier to reproduce problems with >> Org-mode loaded and without the user's personal config loaded. > > So you want $(BATCH) with "-batch" filtered out? Essentially. > You can do that without the code du

Re: [O] [babel] Bug when updating the hash: meta-lines get deleted

2013-12-13 Thread Eric Schulte
"Sebastien Vauban" writes: > Hello Eric, > > Eric Schulte wrote: >>> When results caching is enabled, and when the hash must be updated, the >>> "meta-lines" in front of the results block are _deleted_. >> >> You should use a named code block if you want to decorate the results. > > No, as long a

Re: [O] Org mode and "shunt" exporters?

2013-12-13 Thread Brett Viren
Hi Eric, Eric Schulte writes: > This should work in a recent Emacs. > > (require 'json) > (defun org-as-json-to-file (&optional path) > "Export the current Org-mode buffer as JSON to the supplied PATH." > (interactive "Fwrite to file: ") > (let ((tree (org-element-parse

Re: [O] [PATCH] make vanilla: run Emacs -Q with this Org loaded

2013-12-13 Thread Achim Gratz
schulte.e...@gmail.com writes: > I think this change could make it easier to reproduce problems with > Org-mode loaded and without the user's personal config loaded. So you want $(BATCH) with "-batch" filtered out? You can do that without the code duplication. > + --eval '(setq org-babel-l

Re: [O] [babel] how to pass data to gnuplot from another block

2013-12-13 Thread Achim Gratz
Eric Schulte writes: >> How about the following resolution? We rename ob-sh.el to ob-shell.el. >> New "shell" code blocks could use the value of the >> `org-babel-sh-command' environment variable. Then sh, bash, zsh, csh, >> ash, dash (am I missing any other common ones) use the specific shell >>

Re: [O] Unable to push to org-mobile

2013-12-13 Thread Nick Dokos
Dror Atariah writes: > Managed to get [backtrace] output... > > You can find it here: https://gist.github.com/drorata/7950857 > > I could not find my way in this output... :( > If you look at the top of the backtrace it shows this: , | Debugger entered--Lisp error: (wrong-type-argument seq

Re: [O] [BUG] inline source breaks paragraphs

2013-12-13 Thread Nicolas Goaziou
Hello, Andreas Leha writes: > inline source -- when on its own line -- breaks the paragraph, which is > unexpected. > > Here is a test file: > > * Test > > This is a broken > src_R[:exports results :results raw]{10} > paragraph. > > > Here is (the relevant part of) the output of the LaTeX export

Re: [O] Unable to push to org-mobile

2013-12-13 Thread Dror Atariah
On Dec 13, 2013, at 20:51 PM, Nick Dokos wrote: > Dror Atariah writes: > >> On Dec 13, 2013, at 16:08 PM, Nick Dokos wrote: >> >>> Dror Atariah writes: >>> Today I realized that I cannot execute successfully 'org-mobile-push'. In particular here is the output from '*Messages*': >>

Re: [O] getting gnus contcats into org-contacts

2013-12-13 Thread Nick Dokos
"Sebastien Vauban" writes: > Eric S Fraga wrote: >> Andreas Davour writes: >>> >>> I've just started using gnus again, and since it seems like bbdb is in a >>> messy state someone suggested I try org-contacts as an address book >>> solution. It looks quite usable, but I have a few questions. >>

Re: [O] [babel] Bug when updating the hash: meta-lines get deleted

2013-12-13 Thread Sebastien Vauban
Hello Eric, Eric Schulte wrote: >> When results caching is enabled, and when the hash must be updated, the >> "meta-lines" in front of the results block are _deleted_. > > You should use a named code block if you want to decorate the results. No, as long as the lines which I do insert between the

Re: [O] Unable to push to org-mobile

2013-12-13 Thread Nick Dokos
Dror Atariah writes: > On Dec 13, 2013, at 16:08 PM, Nick Dokos wrote: > >> Dror Atariah writes: >> >>> Today I realized that I cannot execute successfully 'org-mobile-push'. In >>> particular here is the output from '*Messages*': >>> >>> Creating agendas... >>> Agenda written to Org file /Us

Re: [O] first step of newbe: *TODO

2013-12-13 Thread Nick Dokos
Renato writes: > Hi, > as I already told, I'm a really newbe (to org-mode, as well as emacs) > I'm starting from the very beginning: > following the Doc (here: > http://orgmode.org/worg/org-tutorials/orgtutorial_dto.html) > I wrote my firs TODO list. > But when I press C-c C-t over a TODO element

Re: [O] [babel] Bug when updating the hash: meta-lines get deleted

2013-12-13 Thread Eric Schulte
You should use a named code block if you want to decorate the results. Best, "Sebastien Vauban" writes: > Hello, > > When results caching is enabled, and when the hash must be updated, the > "meta-lines" in front of the results block are _deleted_. > > Such meta-lines include: > - ATTR_LaTeX li

Re: [O] Unable to push to org-mobile

2013-12-13 Thread Dror Atariah
On Dec 13, 2013, at 16:08 PM, Nick Dokos wrote: > Dror Atariah writes: > >> Today I realized that I cannot execute successfully 'org-mobile-push'. In >> particular here is the output from '*Messages*': >> >> Creating agendas... >> Agenda written to Org file /Users/drorata/Dropbox/MobileOrg/ag

Re: [O] [babel] how to pass data to gnuplot from another block

2013-12-13 Thread Nick Dokos
Eric Schulte writes: >> >> How about the following resolution? We rename ob-sh.el to ob-shell.el. >> New "shell" code blocks could use the value of the >> `org-babel-sh-command' environment variable. Then sh, bash, zsh, csh, >> ash, dash (am I missing any other common ones) use the specific she

Re: [O] Org mode and "shunt" exporters?

2013-12-13 Thread Eric Schulte
This should work in a recent Emacs. (require 'json) (defun org-as-json-to-file (&optional path) "Export the current Org-mode buffer as JSON to the supplied PATH." (interactive "Fwrite to file: ") (let ((tree (org-element-parse-buffer))) (org-element-map tree

Re: [O] Exporting to HTML, LaTeX header is not recovered in the Org buffer

2013-12-13 Thread Mosè Giordano
Hi Nicolas, I'm sorry for the late reply. 2013/12/3 Nicolas Goaziou : > This should be fixed. Thank you for the detailed report. Yes, I confirm that it's fixed now, thanks a lot! Though, I have another problem: the `ltxpng/' directory isn't copied when publishing the whole project. Do I need t

Re: [O] first step of newbe: *TODO

2013-12-13 Thread John Kitchin
you need to put this in your init.el (or other configuration file) I think: (setq org-log-done 'time) or add this to the top of the org-file #+STARTUP: logdone John --- John Kitchin Associate Professor Doherty Hall A207F Department of Chemical Engineering Carne

Re: [O] [babel] how to pass data to gnuplot from another block

2013-12-13 Thread Sebastien Vauban
Greg Troxel wrote: > Eric Schulte writes: > >> Although purely semantically, in my opinion the "sh" in "#+begin_src sh" >> indicates generic "shell-script", not the POSIX sh. E.g., there is no >> ob-bash.el or ob-csh.el. > > I see your point. But stepping back, I have always felt that > "#+begin

Re: [O] Org mode and "shunt" exporters?

2013-12-13 Thread Nicolas Goaziou
Hello, Brett Viren writes: > However this method only works for a very simple org document. I'm > successfully filtering out the :parent properties of (most of) the > elements but as soon as my document produces a plain text element like: > > #("Text" 0 4 (:parent #1)) > > then two problems o

Re: [O] Org mode and "shunt" exporters?

2013-12-13 Thread Brett Viren
Matt Price writes: > I am pretty ignorant and may have missed a referene o this in the > thread, but this (very outdated) code is on the emacswiki: > > http://www.emacswiki.org/emacs/org-json.el Thanks. My searches didn't find this. It looks like this is parsing the org buffer directly and onl

Re: [O] Splitting up inline LaTeX

2013-12-13 Thread Nicolas Goaziou
Hello, Laurens Van Houtven <_...@lvh.io> writes: > I'm using org-mode with the LaTeX export to write a book. I'm having issues > with inline LaTeX citations (\cite{some label}) and glossary references > (\gls{some label}). When the label (the thing in between the curly braces) > is split across l

Re: [O] [babel] how to pass data to gnuplot from another block

2013-12-13 Thread Greg Troxel
Eric Schulte writes: > Although purely semantically, in my opinion the "sh" in "#+begin_src sh" > indicates generic "shell-script", not the POSIX sh. E.g., there is no > ob-bash.el or ob-csh.el. I see your point. But stepping back, I have always felt that "#+begin_src foo" referred to a langu

Re: [O] Org mode and "shunt" exporters?

2013-12-13 Thread Brett Viren
Hi, Nicolas Goaziou writes: > You can walk the tree, e.g. with `org-element-map', and remove > all :parent references if you don't need them. I figured out how to follow this advice. I can even make valid JSON From the filtered parse tree by handing it to Edward O'Conner's json.el (link in exa

Re: [O] [babel] how to pass data to gnuplot from another block

2013-12-13 Thread Eric Schulte
> > How about the following resolution? We rename ob-sh.el to ob-shell.el. > New "shell" code blocks could use the value of the > `org-babel-sh-command' environment variable. Then sh, bash, zsh, csh, > ash, dash (am I missing any other common ones) use the specific shell > specified. > The attac

[O] first step of newbe: *TODO

2013-12-13 Thread Renato
Hi, as I already told, I'm a really newbe (to org-mode, as well as emacs) I'm starting from the very beginning: following the Doc (here: http://orgmode.org/worg/org-tutorials/orgtutorial_dto.html) I wrote my firs TODO list. But when I press C-c C-t over a TODO element, it appear DONE, write near

[O] [PATCH] make vanilla: run Emacs -Q with this Org loaded

2013-12-13 Thread schulte.eric
I think this change could make it easier to reproduce problems with Org-mode loaded and without the user's personal config loaded. Thoughts? --- Makefile | 1 + mk/default.mk | 13 + 2 files changed, 14 insertions(+) diff --git a/Makefile b/Makefile index f95bcb2..ce06116 1006

Re: [O] [babel] how to pass data to gnuplot from another block

2013-12-13 Thread Achim Gratz
Eric Schulte writes: > I understand your point, but in reality I doubt there are many systems > on which people use Org-mode with code blocks and on which sh is > available but no bash is installed. You might want to widen your horizon on the "many systems" front a bit. The typical BSD system has

Re: [O] [babel] how to pass data to gnuplot from another block

2013-12-13 Thread Eric Schulte
>> >> I understand your point, but in reality I doubt there are many systems >> on which people use Org-mode with code blocks and on which sh is >> available but no bash is installed. > > That may be true on some flavors of Linux, but on BSDs: > > bash is not the normal shell (and is not part of

Re: [O] [babel] how to pass data to gnuplot from another block

2013-12-13 Thread Greg Troxel
Eric Schulte writes: > Greg Troxel writes: > >> Eric Schulte writes: >> Just an fyi: I had to set org-babel-sh-command to "bash" for this to work. Why is "sh" the default value of this variable? >>> >>> I think sh is more portable, but I guess almost any system should have >>> bash a

Re: [O] [babel] how to pass data to gnuplot from another block

2013-12-13 Thread Eric Schulte
Greg Troxel writes: > Eric Schulte writes: > >>> Just an fyi: I had to set org-babel-sh-command to "bash" for this to >>> work. Why is "sh" the default value of this variable? >>> >> >> I think sh is more portable, but I guess almost any system should have >> bash as well, I've just changed this

Re: [O] [babel] how to pass data to gnuplot from another block

2013-12-13 Thread Greg Troxel
Eric Schulte writes: >> Just an fyi: I had to set org-babel-sh-command to "bash" for this to >> work. Why is "sh" the default value of this variable? >> > > I think sh is more portable, but I guess almost any system should have > bash as well, I've just changed this default to bash. (Assuming y

Re: [O] Unable to push to org-mobile

2013-12-13 Thread Nick Dokos
Dror Atariah writes: > Today I realized that I cannot execute successfully 'org-mobile-push'. In > particular here is the output from '*Messages*': > > Creating agendas... > Agenda written to Org file /Users/drorata/Dropbox/MobileOrg/agendas.org > Creating agendas...done > Saving all Org-mode bu

Re: [O] Splitting up inline LaTeX

2013-12-13 Thread John Kitchin
I would use links for this purpose, which org-mode would get right across lines. For instance, here is a cite link: https://github.com/jkitchin/jmax/blob/prelude/jorg-bib.el#L332 so you use cite:bibkey1,bibkey2 or [[cite:bibkey1, bibkey2]] instead of \cite{bibkey1,bibkey2}. At export time, the lin

[O] Splitting up inline LaTeX

2013-12-13 Thread Laurens Van Houtven
Hi! I'm using org-mode with the LaTeX export to write a book. I'm having issues with inline LaTeX citations (\cite{some label}) and glossary references (\gls{some label}). When the label (the thing in between the curly braces) is split across lines, the org-mode LaTeX exporter escapes the curly br

[O] [babel] Bug when updating the hash: meta-lines get deleted

2013-12-13 Thread Sebastien Vauban
Hello, When results caching is enabled, and when the hash must be updated, the "meta-lines" in front of the results block are _deleted_. Such meta-lines include: - ATTR_LaTeX lines - BEGIN/END_CENTER environments ECM: --8<---cut here---start->8--- #+PROPERTY:

Re: [O] Old style backquotes in ox-texinfo.el

2013-12-13 Thread Achim Gratz
James Harkins writes: > $ git status > # On branch hjh8.2 You are on your own branch, with unknown modifications. > In toplevel form: > ox-texinfo.el:1683:1:Warning: !! The file uses old-style backquotes !! > This functionality has been obsolete for more than 10 years already > and will be remov

[O] Unable to push to org-mobile

2013-12-13 Thread Dror Atariah
Today I realized that I cannot execute successfully 'org-mobile-push'. In particular here is the output from '*Messages*': Creating agendas... Agenda written to Org file /Users/drorata/Dropbox/MobileOrg/agendas.org Creating agendas...done Saving all Org-mode buffers... (No files need saving) Savi

Re: [O] Bash script to update - only make when update there?

2013-12-13 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/13/13, 01:26 , Suvayu Ali wrote: > On Thu, Dec 12, 2013 at 10:00:22AM +0100, Rainer M Krug wrote: >> >> On 12/10/13, 21:50 , Samuel Wales wrote: >>> gitpullv () { #echo \=== maybe need to grab tags head=`git >>> rev-parse --verify HEAD` echo