Re: [O] Fwd: request regarding code chunk options in org-babel.

2013-03-14 Thread Eric Schulte
from a core which is as composed of a small number of orthogonal working pieces. This maximizes flexibility and utility with a minimum of maintenance and implementation overhead. Cheers, Regards, Shripad. Shripad Tucson, AZ On Wed, Mar 13, 2013 at 8:08 AM, Eric Schulte schulte.e

Re: [O] [PATCH] * lisp/ob-core.el (org-babel-execute-src-block): insert hash for silent results

2013-03-14 Thread Eric Schulte
Achim Gratz strom...@nexgo.de writes: Eric Schulte writes: From re-looking at Achim's previous noweb example, it seems that we currently do *not* include the values of noweb expansions in code block hash calculations, I think this is a bug which should be fixed. It could very well have been

Re: [O] [PATCH] * lisp/ob-core.el (org-babel-execute-src-block): insert hash for silent results

2013-03-13 Thread Eric Schulte
Aaron Ecay aarone...@gmail.com writes: Hi Eric, 2013ko martxoak 9an, Eric Schulte-ek idatzi zuen: Could something like the following work? Removing :results none and adding something small as the returned result which may easily be parsed and placed in the buffer w/o problem

Re: [O] [PATCH] * lisp/ob-core.el (org-babel-execute-src-block): insert hash for silent results

2013-03-13 Thread Eric Schulte
be missing? Thanks, -- Eric Schulte http://cs.unm.edu/~eschulte

Re: [O] Fwd: request regarding code chunk options in org-babel.

2013-03-13 Thread Eric Schulte
-- Eric Schulte http://cs.unm.edu/~eschulte

Re: [O] minor bug in babel with silent output and remote R session

2013-03-13 Thread Eric Schulte
system to hand results back and forth, and when the R session refers to a remote file system, this communication fails. One possible solution would be to use the :dir header argument to specify to the code block the machine on which the execution is taking place. Best, best, Thomas -- Eric

Re: [O] [bug] [new exporter] [markdown] Underline exports as HTML

2013-03-13 Thread Eric Schulte
/README.html#pipe-tables Just throwing out ideas, I don't personally use the markdown export. Best, -- Eric Schulte http://cs.unm.edu/~eschulte

Re: [O] org-babel: remote execution ?

2013-03-12 Thread Eric Schulte
execution. #+begin_src sh :dir /ssh:tortilla:/tmp/ hostname #+end_src #+RESULTS: : tortilla -- Eric Schulte http://cs.unm.edu/~eschulte

Re: [O] org-babel: remote execution ?

2013-03-12 Thread Eric Schulte
Xavier Maillard xav...@maillard.im writes: Eric Schulte schulte.e...@gmail.com writes: Xavier Maillard xav...@maillard.im writes: [ SNIP ] Today, I tried to use org-babel for the first time with thing like that: #+begin_src sh echo $ORACLE_SID #+end_src My goal is to execute

Re: [O] #+BEGIN_SRC problem when exporting

2013-03-11 Thread Eric Schulte
that are within the block. Is there a trick I can use here? I'm using the org mode into Emacs 24.2.1. Thanks, Luca Hi Luca, Your example exports without problem with the latest version of Org-mode. Best, -- Eric Schulte http://cs.unm.edu/~eschulte

Re: [O] ox-html.el removal

2013-03-11 Thread Eric Schulte
claims will prove a fruitful means to that end. Cheers, Footnotes: [1] http://en.wikipedia.org/wiki/Fear,_uncertainty_and_doubt -- Eric Schulte http://cs.unm.edu/~eschulte

Re: [O] inline Babel calls in math environments and table cells

2013-03-11 Thread Eric Schulte
before all variables | as shown in the example below. | | | 1 | 2 | :file nothing.png | nothing.png | | #+TBLFM: @1$4='(sbe test-sbe $3 (x $1) (y $2)) | | [back] ` -- Eric Schulte http://cs.unm.edu/~eschulte

Re: [O] Help with babel results

2013-03-10 Thread Eric Schulte
2196096cdecde82c9af8695422ae3f6c5fa42ff1 Mon Sep 17 00:00:00 2001 From: Eric Schulte schulte.e...@gmail.com Date: Sun, 10 Mar 2013 15:34:56 -0600 Subject: [PATCH] don't read sqlite output as lisp Thanks to Michael Gauland for pointing out this bug. * lisp/ob-sqlite.el (org-babel-sqlite-table-or-scalar

Re: [O] Help with babel results

2013-03-10 Thread Eric Schulte
I've now committed this patch. -- Eric Schulte http://cs.unm.edu/~eschulte

Re: [O] [PATCH] * lisp/ob-core.el (org-babel-execute-src-block): insert hash for silent results

2013-03-09 Thread Eric Schulte
aarone...@gmail.com writes: 2013ko martxoak 8an, Eric Schulte-ek idatzi zuen: I would agree. I don't believe *any* changes should take place in the buffer when a code block is executed with :results none. A common use case for me is to use a babel block to load a large dataset into R. I

Re: [O] [PATCH] * lisp/ob-core.el (org-babel-execute-src-block): insert hash for silent results

2013-03-09 Thread Eric Schulte
Achim Gratz strom...@nexgo.de writes: Eric Schulte writes: I prefer leaving the hash with the results, as it is the results which are hashed. Also, same input does not always guarantee same output, e.g., #+begin_src sh date #+end_src That's not what I'm seeing, but I may be missing

Re: [O] [PATCH] * lisp/ob-core.el (org-babel-execute-src-block): insert hash for silent results

2013-03-09 Thread Eric Schulte
to perform side effect x - 'side effect' 'done' #+end_src #+RESULTS[da16f09882a6295815db51247592b77c80ed0056]: : done Best, -- Eric Schulte http://cs.unm.edu/~eschulte

Re: [O] [PATCH] Using org babel for generating ASCII art using PlantUML

2013-03-09 Thread Eric Schulte
-- Eric Schulte http://cs.unm.edu/~eschulte

Re: [O] [PATCH] * lisp/ob-core.el (org-babel-execute-src-block): insert hash for silent results

2013-03-08 Thread Eric Schulte
with the results, as it is the results which are hashed. Also, same input does not always guarantee same output, e.g., #+begin_src sh date #+end_src Regards, Achim. -- Eric Schulte http://cs.unm.edu/~eschulte

Re: [O] [PATCH] * lisp/ob-core.el (org-babel-execute-src-block): insert hash for silent results

2013-03-08 Thread Eric Schulte
))) (setq result ((lambda (result) (if (and (eq (cdr (assoc :result-type params)) 'value) -- 1.8.1.5 -- Eric Schulte http://cs.unm.edu/~eschulte

Re: [O] [BABEL] the julia language

2013-03-04 Thread Eric Schulte
Jay Kerns gjkerns...@gmail.com writes: Dear Eric, On Sun, Mar 3, 2013 at 2:05 PM, Eric Schulte schulte.e...@gmail.com wrote: Hi Jay, Having read through intro-julia.org and scanned ob-julia.el I have to say this looks great. Thanks for sharing! I should be saying Thanks to you! Org

Re: [O] [PATCH] fix bug: org-babel-tangle-file can't limit collected source code block by argument.

2013-03-04 Thread Eric Schulte
(cdr (assoc src-lang blocks))) (setq blocks (delq (assoc src-lang blocks) blocks)) -- Eric Schulte http://cs.unm.edu/~eschulte

Re: [O] [BABEL] the julia language

2013-03-03 Thread Eric Schulte
/languages.html -- Eric Schulte http://cs.unm.edu/~eschulte

Re: [O] Code blocks (partially) inherit buffer colors

2013-02-28 Thread Eric Schulte
odd... I can work around this problem by changing the color-theme in my Emacs buffer before exporting, but is there a better solution? Thanks. Richard Stanton See the documentation of the `org-export-htmlize-output-type' variable. -- Eric Schulte http://cs.unm.edu/~eschulte

Re: [O] evaluation of perl in babel

2013-02-25 Thread Eric Schulte
#+RESULTS: #+BEGIN_HTML table ba /b /table #+END_HTML thanks again for the explanation, -- Eric Schulte http://cs.unm.edu/~eschulte

Re: [O] bug in expansion of variables in babel Perl

2013-02-24 Thread Eric Schulte
of examples for Perl that could help people who want to use it. Also a few tests would be highly welcome. +1 Cheers, Regards, Achim. -- Eric Schulte http://cs.unm.edu/~eschulte

Re: [O] hlines in babel output

2013-02-23 Thread Eric Schulte
: | 1 | | 2 | || | 3 | | 4 | | 5 | | 6 | | 7 | | 8 | | 9 | | 10 | Hope this helps, Footnotes: [1] http://orgmode.org/manual/hlines.html -- Eric Schulte http://cs.unm.edu/~eschulte

[O] [bug] orgstruct has suddenly become overly opinionated about legal keystrokes

2013-02-22 Thread Eric Schulte
no function outside structure elements However, orgstruct should (and used to) just pass this key combo through to the underlying major mode. This is new behavior as of the last couple of weeks. Cheers, -- Eric Schulte http://cs.unm.edu/~eschulte

Re: [O] [bug] orgstruct has suddenly become overly opinionated about legal keystrokes

2013-02-22 Thread Eric Schulte
))) (setq binding (read-kbd-macro (replace-regexp-in-string This is new behavior as of the last couple of weeks. That's my fault. I am sorry. No problem, thanks for the quick fix! Christopher -- Eric Schulte http://cs.unm.edu/~eschulte

[O] two questions about the new exporter (#+Style: and org-export-html-postamble)

2013-02-19 Thread Eric Schulte
/csspre{background:#232323; color:#E6E1DC;}h1,h2{border-bottom-style: solid; border-bottom-color: gray;}/style Please let me know if I can provide any more information. Thanks, -- Eric Schulte http://cs.unm.edu/~eschulte

Re: [O] ocaml babel no longer works?

2013-02-14 Thread Eric Schulte
Alan Schmitt alan.schm...@polytechnique.org writes: Hi Eric, Eric Schulte writes: The suggestion: instead of appending 'org-babel-ocaml-eoe;;' to the code, how simply put ';;' (which will make sure everything is flushed) then detect the toplevel is done by seeing the string

Re: [O] [PATCH] org babel execution and new exporter

2013-02-14 Thread Eric Schulte
-update-radio-target-regexp) -- 1.7.10.4 -- Eric Schulte http://cs.unm.edu/~eschulte

Re: [O] ocaml babel no longer works?

2013-02-13 Thread Eric Schulte
Alan Schmitt alan.schm...@polytechnique.org writes: Hello, Eric Schulte writes: Thanks for looking into this. I've applied a patch to ob-ocaml.el which should handle the two different tuareg execution functions. Thanks a lot. About the thing getting stuck, I made some progress. My

Re: [O] latex code block evaluation

2013-02-11 Thread Eric Schulte
is not required your example could be converted to the (arguably preferable) example below. #+begin_src latex :file foo.pdf :results raw ...some text... #+end_src #+RESULTS: [[file:foo.pdf]] Cheers, -- Eric Schulte http://cs.unm.edu/~eschulte

Re: [O] How to pass a block of text to a code block as data?

2013-02-11 Thread Eric Schulte
. Not sure why? Is this just a function of the number of lines of the text? Yes, this is a function of the number of lines in the output text. You can control where this switch is made by changing the value of org-babel-min-lines-for-block-output. Best, -- Eric Schulte http://cs.unm.edu/~eschulte

Re: [O] ocaml babel no longer works?

2013-02-09 Thread Eric Schulte
by running `eval-defun' on these functions with a prefix argument, or equivalently doing M-: (eval-defun t). I would guess this is due to a change in tuareg mode. -- Eric Schulte http://cs.unm.edu/~eschulte

Re: [O] make update failures

2013-02-09 Thread Eric Schulte
:Error: Symbol's value as variable is void: org-ts-regexp Done (Total of 9 files compiled, 101 failed, 3 skipped) Scrolling through the many errors, all appear to complain about org-ts-regexp. Did I miss a step? All the best, Tom -- Eric Schulte http://cs.unm.edu/~eschulte

Re: [O] babel: setting :cmdline header arg for sql blocks

2013-02-03 Thread Eric Schulte
? Or some kind of macro I can use to tidy up my sql blocks? (I'm running recent git org-mode from a couple of weeks ago, Emacs 24.3.50.1, Windows) You could customize the `org-babel-default-header-args:sql' variable. Cheers, -- Eric Schulte http://cs.unm.edu/~eschulte

Re: [O] patch for ob-sql.el: improve MySQL header formatting, and add db spec header vars

2013-02-03 Thread Eric Schulte
for the database connection, and implements them for mysql * (minor) adds an edebug spec to org-babel-result-cond to allow edebugging through it -- Gary Footnotes: [1] http://orgmode.org/worg/org-contribute.html -- Eric Schulte http://cs.unm.edu/~eschulte

Re: [O] can babel results show time of evaluation?

2013-01-30 Thread Eric Schulte
)... but I'd say this is a very specific need, and it can be fulfilled by asking the code to insert a timestamp into the exported results, right? See for e.g.: #+BEGIN_SRC emacs-lisp :results raw (message ;; %s (format-time-string (cdr org-time-stamp-custom-formats))) #+END_SRC HTH, -- -- Eric

Re: [O] can babel results show time of evaluation?

2013-01-30 Thread Eric Schulte
Nicolas Goaziou n.goaz...@gmail.com writes: Hello, Eric Schulte schulte.e...@gmail.com writes: I've just pushed this functionality up to the main branch. To make use of it add the following to your Emacs config. (setq org-babel-hash-show-time t) It works for me in some simple tests

Re: [O] can babel results show time of evaluation?

2013-01-30 Thread Eric Schulte
Bastien b...@altern.org writes: Hi Eric, Eric Schulte schulte.e...@gmail.com writes: I've just pushed this functionality up to the main branch. To make use of it add the following to your Emacs config. (setq org-babel-hash-show-time t) Well, the patch breaks master, because

Re: [O] #+headers: :tangle doesn't work

2013-01-26 Thread Eric Schulte
: line only the second block is tangled, so it appears everything is working as expected. Best, -- Eric Schulte http://cs.unm.edu/~eschulte

Re: [O] BUG? table output despite #+begin_src sh :results verbatim

2013-01-26 Thread Eric Schulte
-529-0884 .http://www.tsdye.com -- Eric Schulte http://cs.unm.edu/~eschulte

Re: [O] [PATCH] Add `org-reverse-string'

2013-01-26 Thread Eric Schulte
) Remove duplicate elements from LIST. (let (res) -- 1.7.10.4 -- Eric Schulte http://cs.unm.edu/~eschulte

Re: [O] #+headers: :tangle doesn't work

2013-01-26 Thread Eric Schulte
so it appears everything is working as expected. Not so fast, if I try to tangle each block separately C-u C-c C-v t then the one with #+headers: doesn't tangle and there is the message: tangled 0 code blocks from x.org I just pushed up a fix. Thanks for finding this bug. -- Eric

Re: [O] [BUG] `org-load-noerror-mustsuffix´ is not defined, introduced by 5484a33b

2013-01-14 Thread Eric Schulte
. emacs --eval (add-to-list 'load-path \~/src/org-mode/lisp/\) This may be simplified with a command line alias like the following. alias emacs=emacs --eval '(add-to-list (quote load-path) \~/src/org-mode/lisp/\)' When I find time I plan to add this to the starter-kit documentation. -- Eric

Re: [O] [BUG] `org-load-noerror-mustsuffix´ is not defined, introduced by 5484a33b

2013-01-14 Thread Eric Schulte
Thorsten Jolitz tjol...@googlemail.com writes: Eric Schulte schulte.e...@gmail.com writes: If you are using the starter-kit, then Org-mode is required as the first step of your Emacs initialization. This is necessary so that the `org-babel-load-file' function can be used to load your

Re: [O] [BUG] `org-load-noerror-mustsuffix´ is not defined, introduced by 5484a33b

2013-01-11 Thread Eric Schulte
think the attached change to the home page would be helpful for those who want to get started quickly. From 783ea172b6a89ef5022f41f6cc3936dce522bab5 Mon Sep 17 00:00:00 2001 From: Eric Schulte schulte.e...@gmail.com Date: Fri, 11 Jan 2013 08:36:12 -0700 Subject: [PATCH] quick activation instructions

Re: [O] [BUG] `org-load-noerror-mustsuffix´ is not defined, introduced by 5484a33b

2013-01-11 Thread Eric Schulte
. At the least perhaps such load/require mechanisms should be extracted into a separate library with no Org-mode specific code. Then Org-mode could make use of these libraries, but so could other large systems distributed with Emacs but developed independently (e.g., gnus). Best, -- Eric Schulte http

[O] [BUG] `org-load-noerror-mustsuffix´ is not defined, introduced by 5484a33b

2013-01-10 Thread Eric Schulte
. If it doesn't complicate the compatibility macro too much this can be added later. -- Eric Schulte http://cs.unm.edu/~eschulte

Re: [O] [BUG] `org-load-noerror-mustsuffix´ is not defined, introduced by 5484a33b

2013-01-10 Thread Eric Schulte
Nope, Even with the addition of that autoload statement I get the same error let: Symbol's function definition is void: org-load-noerror-mustsuffix Best, Bastien b...@altern.org writes: Hi Eric, Eric Schulte schulte.e...@gmail.com writes: Recently my Emacs start up fails when I

Re: [O] [BUG] `org-load-noerror-mustsuffix´ is not defined, introduced by 5484a33b

2013-01-10 Thread Eric Schulte
Bastien b...@altern.org writes: Eric Schulte schulte.e...@gmail.com writes: Even with the addition of that autoload statement I get the same error let: Symbol's function definition is void: org-load-noerror-mustsuffix Do you have any Org function called before (require 'org)? `org

Re: [O] [BUG] `org-load-noerror-mustsuffix´ is not defined, introduced by 5484a33b

2013-01-10 Thread Eric Schulte
Nick Dokos nicholas.do...@hp.com writes: Eric Schulte schulte.e...@gmail.com wrote: Bastien b...@altern.org writes: Eric Schulte schulte.e...@gmail.com writes: Even with the addition of that autoload statement I get the same error let: Symbol's function definition is void

Re: [O] How to add content from a file to a table automatically

2013-01-10 Thread Eric Schulte
for automating this (while I investigate inotify suggested by Jambunathan). -- Darlan At Wed, 09 Jan 2013 22:10:37 -0700, Eric Schulte wrote: #+Title: Periodically Rerun a Code Block Here's the lisp code to define a function to continually re-run a code block. Evaluate the following

Re: [O] [BUG] `org-load-noerror-mustsuffix´ is not defined, introduced by 5484a33b

2013-01-10 Thread Eric Schulte
Bastien b...@altern.org writes: Hi Eric, Eric Schulte schulte.e...@gmail.com writes: If this problem is specific to my situation I'm happy to ignore it until I can update my elpa version of Org-mode to a newer one. Alternately I could just remove my ELPA install of Org-mode

Re: [O] [BUG] `org-load-noerror-mustsuffix´ is not defined, introduced by 5484a33b

2013-01-10 Thread Eric Schulte
, -- Eric Schulte http://cs.unm.edu/~eschulte

Re: [O] [BUG] `org-load-noerror-mustsuffix´ is not defined, introduced by 5484a33b

2013-01-10 Thread Eric Schulte
Eric Schulte schulte.e...@gmail.com writes: Bastien b...@altern.org writes: Does your emacs fail if you simply point to the correct load path? I.e. a one-line init.el with this: (add-to-list 'load-path ~/.emacs.d/src/org-mode/lisp/) ? Excellent, that does indeed work, I should have

Re: [O] [BUG] `org-load-noerror-mustsuffix´ is not defined, introduced by 5484a33b

2013-01-10 Thread Eric Schulte
Achim Gratz strom...@nexgo.de writes: Eric Schulte writes: This is done I now have no Org packages in my ELPA. However I *still* can't use any version of Org-mode post the 5484a33b commit. For the simplest possible reproduction instructions, try the following. 1. mv your init.el

Re: [O] [BUG] `org-load-noerror-mustsuffix´ is not defined, introduced by 5484a33b

2013-01-10 Thread Eric Schulte
Bastien b...@altern.org writes: Hi Eric, Eric Schulte schulte.e...@gmail.com writes: Retracted. This only works because, (add-to-list 'load-path ~/.emacs.d/src/org-mode/lisp/) (require 'org) Does not in fact load up the newest version of Org-mode. How did you check? You don't

Re: [O] simple script to convert txt tables to Org-mode tables on the command line

2013-01-09 Thread Eric Schulte
Achim Gratz strom...@nexgo.de writes: Eric Schulte writes: I added a note to the manual. Thanks for double-checking. Thanks. Did I understand correctly that the same also happens for the :rownames argument I just checked this and yes, elisp ignores :rownames as well. and should

Re: [O] How to add content from a file to a table automatically

2013-01-09 Thread Eric Schulte
-runners) #+end_src -- Eric Schulte http://cs.unm.edu/~eschulte

Re: [O] [BUG] remote execution in heterogeneous environment

2013-01-08 Thread Eric Schulte
for remote execution? -- Eric Schulte http://cs.unm.edu/~eschulte

Re: [O] Powerpoint like slideshow from default html export

2013-01-08 Thread Eric Schulte
(index){ -- Eric Schulte http://cs.unm.edu/~eschulte

[O] simple script to convert txt tables to Org-mode tables on the command line

2013-01-07 Thread Eric Schulte
I found the need to write this today, figured I'd share on the off chance anyone else has a need for this sort of script. txt2org --- convert tab-separated data to org-mode tables http://orgmode.org/worg/org-hacks.html#sec-3-4 Cheers, -- Eric Schulte http://cs.unm.edu/~eschulte

Re: [O] simple script to convert txt tables to Org-mode tables on the command line

2013-01-07 Thread Eric Schulte
Jambunathan K kjambunat...@gmail.com writes: Eric Schulte schulte.e...@gmail.com writes: I found the need to write this today, figured I'd share on the off chance anyone else has a need for this sort of script. txt2org --- convert tab-separated data to org-mode tables http

Re: [O] simple script to convert txt tables to Org-mode tables on the command line

2013-01-07 Thread Eric Schulte
in the documentation (if it isn't I agree that it should be). -- Eric Schulte http://cs.unm.edu/~eschulte

Re: [O] simple script to convert txt tables to Org-mode tables on the command line

2013-01-07 Thread Eric Schulte
Achim Gratz strom...@nexgo.de writes: Eric Schulte writes: This is a relic from the early days of Babel. I believe it is mentioned in the documentation (if it isn't I agree that it should be). Not that I can find, neither in the manual nor Worg (I've looked again). I added a note

Re: [O] Babel related bug in elpa version 20121231

2013-01-05 Thread Eric Schulte
): Always escape produced blocks, independently on the language of the block, if any. Use new functions. * doc/org.texi: Update documentation. * testing/lisp/test-ob.el: Update test. -- Eric Schulte http://cs.unm.edu/~eschulte

Re: [O] Babel related bug in elpa version 20121231

2013-01-05 Thread Eric Schulte
Achim Gratz strom...@nexgo.de writes: Eric Schulte writes: The starter kit does not run through the Org files each time, rather it tangles the .org files to .el files, and then on all subsequent loads it loads directly from the .el files (unless the .org file is newer). So why does it need

Re: [O] Fwd: Babel related bug in elpa version 20121231

2013-01-05 Thread Eric Schulte
Stelian Iancu li...@siancu.net writes: On Sat, Jan 5, 2013 at 7:51 PM, Eric Schulte schulte.e...@gmail.com wrote: That sounds like it should work, although I would go with the more complete but possibly overkill ;; emacs-lisp (package-initialize) (require 'org) (org

Re: [O] Babel related bug in elpa version 20121231

2013-01-05 Thread Eric Schulte
Achim Gratz strom...@nexgo.de writes: Eric Schulte writes: Because the above sequence of loading .el files and possibly falling back to .org files is all performed by the `org-babel-load-file' function, which is not defined until org has been required. Which confirms it runs through the Org

Re: [O] Babel related bug in elpa version 20121231

2013-01-05 Thread Eric Schulte
problems as possible now, please let me know if any issues persist. Cheers, -- Eric Schulte http://cs.unm.edu/~eschulte

Re: [O] org-mime-htmlize

2012-12-28 Thread Eric Schulte
it. Best, From cf2128fb320f714f78fa54b953405d01fa73bf33 Mon Sep 17 00:00:00 2001 From: Eric Schulte eric.schu...@gmx.com Date: Fri, 28 Dec 2012 08:20:56 -0700 Subject: [PATCH] Pass the dir option on through org-export-as-string * lisp/org-exp.el (org-export-string): Pass the dir option on through

Re: [O] Howto convert a complete bibtex file into an orgmode file?

2012-12-26 Thread Eric Schulte
-mode file. Be forewarned that it may create many top level bibtex entries. Hope this helps, -- Eric Schulte http://cs.unm.edu/~eschulte

Re: [O] errors setting sh arrays

2012-12-26 Thread Eric Schulte
arrays is being used on the remote systems. Have you tried setting either the `org-babel-sh-command' or adding a :shebang header argument to the code blocks to force the execution to use bash? Hope this helps, -- Eric Schulte http://cs.unm.edu/~eschulte

Re: [O] Rudel - Real-Time collaborative editing of Org-Mode files

2012-12-26 Thread Eric Schulte
) eval-expression((load-file rudel-loaddefs.el) nil) call-interactively(eval-expression nil nil) [2] (rudel-add-backend (rudel-backend-get-factory 'protocol) 'infinote 'rudel-infinote-backend) -- Eric Schulte http://cs.unm.edu/~eschulte

Re: [O] [babel] Using Property Drawers to Pass Values to a Variable

2012-12-23 Thread Eric Schulte
design the way I wanted it. Ian. Looks like you're the victim of two small typos. The following works for me. * Letter. :PROPERTIES: :first_name: Ian :last_name: Barton :END: #+begin_src latex :var last_name=(org-entry-get nil last_name) My last name is last_name. #+end_src -- Eric Schulte

Re: [O] Feature request: HTML export classes for real lists

2012-12-18 Thread Eric Schulte
in the code, but resulting in smaller and arguably more meaningfully classed/tagged HTML files. Just a thought, -- Eric Schulte http://cs.unm.edu/~eschulte

Re: [O] org-babel-tangle issue

2012-12-15 Thread Eric Schulte
for the report! -- Eric Schulte http://cs.unm.edu/~eschulte

Re: [O] babel perl issue

2012-12-14 Thread Eric Schulte
Bastien b...@altern.org writes: Eric Schulte schulte.e...@gmail.com writes: This patch doesn't apply for me with git am to the HEAD of the repo so I can't test it directly Please try this new one against current db51b8 commit in master. This patch is still broken org-mode$ git

Re: [O] babel perl issue

2012-12-14 Thread Eric Schulte
Bastien b...@altern.org writes: Eric Schulte schulte.e...@gmail.com writes: This patch is still broken (I don't know why ~$ git format-patch master did not produce an applicable patch.) These three ones are applicable against master/68d4de2. Bare in mind this is just meant as a proof

Re: [O] Include single values from a org-table into a code-block

2012-12-14 Thread Eric Schulte
. #+end_src -- Eric Schulte http://cs.unm.edu/~eschulte

Re: [O] babel perl issue

2012-12-13 Thread Eric Schulte
Bastien b...@altern.org writes: Hi Eric, Eric Schulte schulte.e...@gmail.com writes: If you can find a cleaner alternative I'll be happy to help you apply it. Here is a very crude patch for paving the way to a better solution. This patch doesn't apply for me with git am to the HEAD

Re: [O] babel perl issue

2012-12-12 Thread Eric Schulte
Bastien b...@altern.org writes: Hi Eric, Eric Schulte schulte.e...@gmail.com writes: Please let me know if I can explain anything, or if you'd like to see the patches before the hit the master branch. I've read the thread carefully and I cannot clearly see what problem we are trying

Re: [O] babel perl issue

2012-12-12 Thread Eric Schulte
Bastien b...@altern.org writes: Eric Schulte schulte.e...@gmail.com writes: Here's what the require structure of the core ob files will look like after this change. If i read the graph correctly, merging ob.el ob-eval.el and ob-core.el will not create circular requires -- am I right

Re: [O] babel perl issue

2012-12-12 Thread Eric Schulte
Lisp begins to provide support for proper modules. Cheers, -- Eric Schulte http://cs.unm.edu/~eschulte

Re: [O] Some Experiences with org-babel-load-file

2012-12-12 Thread Eric Schulte
Florian Beck f...@miszellen.de writes: On 12/11/2012 03:52 PM, Eric Schulte wrote: Please go ahead and update the information on worg. Note that Emacs24 users need only do (require 'org) (org-babel-load-file /path/to/your/org-init-file.org) while users of lesser Emacs

Re: [O] babel perl issue

2012-12-12 Thread Eric Schulte
Bastien b...@altern.org writes: Eric Schulte schulte.e...@gmail.com writes: In the absence of better ideas, I'm going to go ahead with this refactoring. Okay, go ahead. But be warned that ob-core.el is not my friend :) :) I'll see how we can get rid of it. If you can find a cleaner

Re: [O] babel perl issue

2012-12-11 Thread Eric Schulte
flav flav.justf...@gmail.com writes: Le 10/12/2012 18:24, Eric Schulte a écrit : 1. make sure you're using a recent version of Org-mode, either the latest release or from git, see http://orgmode.org/worg/org-faq.html#Keeping-current 2. start Emacs with the -Q flag (to ensure

Re: [O] Some Experiences with org-babel-load-file

2012-12-11 Thread Eric Schulte
this should be the default behavior for all tangled files (not just those written by org-babel-load-file). Thanks, Overall, very nice. Thank you. -- Eric Schulte http://cs.unm.edu/~eschulte

Re: [O] [PATCH] lisp/ob.el (org-babel-result-cond)

2012-12-11 Thread Eric Schulte
these things explicitly to the language functions to appease the compiler. I'd like to apply this patch, however the format is not detected by git am. Could you re-generate this patch using git format-patch and attach the resulting file? Thanks, -- Eric Schulte http://cs.unm.edu/~eschulte

Re: [O] [PATCH] ob-python: specify defcustom parameters

2012-12-11 Thread Eric Schulte
Achim Gratz strom...@nexgo.de writes: This avoids a byte-compiler warning and makes these customizations easier to find. Again, could you send a git format-patch version of this patch? Then I will apply it. Thanks. -- Eric Schulte http://cs.unm.edu/~eschulte

Re: [O] babel perl issue

2012-12-11 Thread Eric Schulte
Bastien b...@altern.org writes: Hi Eric, Eric Schulte schulte.e...@gmail.com writes: I'm attaching two patches which implement this new require structure. They move ob.el - ob-core.el. The new ob.el (which is now loaded by every file which requires 'ob) does two things. I'm slowly

Re: [O] [PATCH] lisp/ob.el (org-babel-result-cond)

2012-12-11 Thread Eric Schulte
Achim Gratz strom...@nexgo.de writes: Eric Schulte writes: I'd like to apply this patch, however the format is not detected by git am. Could you re-generate this patch using git format-patch and attach the resulting file? Here it is: Much Obliged, I'll push this up when next I push

Re: [O] babel perl issue

2012-12-10 Thread Eric Schulte
-load-languages '((perl . t))) -- Eric Schulte http://cs.unm.edu/~eschulte

Re: [O] including the result of a block in several places?

2012-12-10 Thread Eric Schulte
Alan Schmitt alan.schm...@polytechnique.org writes: Sebastien Vauban wxhgmqzgw...@spammotel.com writes: In a hurry, to repeat the code: - use named blocks - use Noweb expansion Another option would be, 1. use named blocks 2. use call lines -- Eric Schulte http://cs.unm.edu/~eschulte

Re: [O] babel perl issue

2012-12-10 Thread Eric Schulte
Achim Gratz strom...@nexgo.de writes: Eric Schulte writes: See http://orgmode.org/manual/Languages.html for the documentation on how to activate and disable org-babel languages. That actually produces the error: File mode specification error: (void-variable org-babel-tangle-lang-exts

Re: [O] babel perl issue

2012-12-10 Thread Eric Schulte
(~/.emacs t t) #[nil ^H\205\264^@ \306=\203^Q^@\307^H\310Q\2027^@ \311=\2033^@\312\307\31$ command-line() normal-top-level() 2012/12/10 Eric Schulte schulte.e...@gmail.com (org-babel-do-load-languages 'org-babel-load-languages '((perl . t))) -- Eric Schulte http

Re: [O] babel perl issue

2012-12-10 Thread Eric Schulte
writes: I am sorry for my misunderstood but I put (require 'org) in my .emacs and there is no change. 2012/12/10 Eric Schulte schulte.e...@gmail.com As I mentioned in my previous message you have to require Org-mode before executing the following snippet. Try (require 'org) (org

<    3   4   5   6   7   8   9   10   11   12   >