Re: [O] Problem with babel and R + lattice

2012-03-09 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/03/12 21:52, John Hendy wrote: > Drat. I meant to add that when I run the code exactly as I have it from R > directly, it works. I > literally copy and paste my org-mode babel block code line by line into a > terminal and obtain > the proper ou

Re: [O] Org-mode workshop: has anyone done this already?

2012-03-09 Thread Bernard H .
Eric Schulte gmx.com> writes: > Later this month I will be giving a talk on the use of code blocks in > Org-mode. I haven't yet begun preparing the slides, but when I do they > will live at https://github.com/eschulte/babel-presentation. > > Cheers, > Great ! Where will it take place ? Is it

Re: [O] Bug: 3 bugs and 2 proposals on ascii/html export [7.8.03]

2012-03-09 Thread Sebastien Vauban
Hi Bastien and Mathias, Bastien wrote: >> As default, all level 1 headlines are underlined by - characters and level >> 2 headlines with =. Wouldn't it be more logical the other way round: the >> lower the level, the more important the headline and hence the "bigger" its >> underlining? (Of course

Re: [O] worg latex example "11 Styling the Frontmatter"

2012-03-09 Thread Myles English
>> On Thu, 08 Mar 2012 18:20:10 -1000, Thomas S Dye said: > Hi Myles, Thanks for making me look more closely at this. There are > two things: > 1) #+BEGIN_abstract ... #+END_abstract requires org-special-blocks. > So, > 2) The abstract text ends up in the title because there is no exp

Re: [O] Problem loading a symlink'ed file in Emacs batch

2012-03-09 Thread Sebastien Vauban
Hi Achim, Achim Gratz wrote: > If you are using NTemacs rather than the one supplied by Cygwin it simply > doesn't know about symlinks. I was using an official GNU Emacs binary for Windows (found on http://alpha.gnu.org/gnu/emacs/windows/). Anyway, switching to Cygwin Emacs does resolve the syml

Re: [O] Bug: 3 bugs and 2 proposals on ascii/html export [7.8.03]

2012-03-09 Thread Gustav Wikström
> > > > For me, it makes a lot of sense to invert both, as Mathias is suggesting > it. > > +1 It would conform more to a sort of "standard" that way, (see http://en.wikipedia.org/wiki/Lightweight_markup_language#Section_headers) > Best regards, > Seb > > -- > Sebastien Vauban > > > /Gustav

Re: [O] Org-mode workshop: has anyone done this already?

2012-03-09 Thread Eric Schulte
Bernard H. writes: > Eric Schulte gmx.com> writes: > >> Later this month I will be giving a talk on the use of code blocks in >> Org-mode. I haven't yet begun preparing the slides, but when I do they >> will live at https://github.com/eschulte/babel-presentation. >> >> Cheers, >> > > Great !

Re: [O] [Babel] : Bug in org-tangle with :comments, patch included

2012-03-09 Thread Eric Schulte
Applied. Thanks, aditya siram writes: > Hi all, > When I tangle a source block with ":comments yes" any spaces in the > sub-heading in which the block is found are replaced with "%2520" > instead of "%20". As a consequence when I "org-babel-detangle" the > correct heading is not found. > > As an

Re: [O] Problem with babel and R + lattice

2012-03-09 Thread John Hendy
On Fri, Mar 9, 2012 at 2:41 AM, Rainer M Krug wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 08/03/12 21:52, John Hendy wrote: >> Drat. I meant to add that when I run the code exactly as I have it from R >> directly, it works. I >> literally copy and paste my org-mode babel block

Re: [O] org tables

2012-03-09 Thread John Hendy
On Thu, Mar 8, 2012 at 8:20 PM, Peter Salazar wrote: > Hey everyone, > > Is there a way to get org to wrap text within a table cell? I want to be > able to enter long text entries into cells without expanding column width. > > Also, is there a way to merge cells—say, three cells vertically? I don

[O] Another gsoc idea -- ragel

2012-03-09 Thread Rustom Mody
Ragel http://www.complang.org/ragel/ is a tool that integrates regular expressions and state machines under one umbrella. It has backends currently for C, C++, Objective-C, D, Java and Ruby. I do not think having an elisp backend would be a very big task. After that (in my estimate) org-mode code

Re: [O] Another gsoc idea -- ragel

2012-03-09 Thread Thorsten
Rustom Mody writes: > Ragel http://www.complang.org/ragel/ is a tool that integrates regular > expressions and state machines under one umbrella. > It has backends currently for C, C++, Objective-C, D, Java and Ruby.  > I do not think having an elisp backend would be a very big task. > > After th

Re: [O] Bug: 3 bugs and 2 proposals on ascii/html export [7.8.03]

2012-03-09 Thread Gregor Zattler
Hi Gustav, * Gustav Wikström [09. Mar. 2012]: >> For me, it makes a lot of sense to invert both, as Mathias is suggesting >> it. >> > +1 +1 > It would conform more to a sort of "standard" that way, (see > http://en.wikipedia.org/wiki/Lightweight_markup_language#Section_headers) We did it this w

[O] Refile clear-cache after refiling to new headline?

2012-03-09 Thread Nathan Neff
I have org-refile-use-cache set. I refile a headline to foo.org/foo which doesn't exist yet. I'm prompted to create "foo" headline. I accept. Then, I refile another note to foo.org/foo foo.org/foo appears as the default refile location in the mini-buffer. So far so good. I press Enter. But n

Re: [O] Another gsoc idea -- ragel

2012-03-09 Thread Eric Schulte
Thorsten writes: > Rustom Mody writes: > >> Ragel http://www.complang.org/ragel/ is a tool that integrates regular >> expressions and state machines under one umbrella. >> It has backends currently for C, C++, Objective-C, D, Java and Ruby.  >> I do not think having an elisp backend would be a v

Re: [O] Participating in Google Summer of Code 2012

2012-03-09 Thread Nicolas Goaziou
Hello, Jambunathan K writes: > Can the org-export driver make listified headings transparent to the > backend? I am reluctant to fake data presented to transcoders. I am even more reluctant when some information is lost in the process. A back-end might need to tell the difference between an he

[O] Babel Python sessions severely broken

2012-03-09 Thread Jacek Generowicz
Hi, Picking up a few-month-old thread ... On Tue, 21 Jun 2011 10:26:17 -0700, Eric Schulte wrote: > You are suggesting that code to be run "interactively" should be written > to an external file then loaded into the interactive session. This > would certainly work around the syntax limitation o

[O] android mobileorg: next week in agenda

2012-03-09 Thread Renato
Hello, wasn't able to find an answer to this. Is it possible in the Android MobileOrg version, when viewing agenda, to go to next or previous week? I'm using version 0.8.3 best wishes, renato

[O] [OT] Pipe mouse-highlight to FestivalLite/flite

2012-03-09 Thread brian powell
* Does anyone know how to pipe "Link: http://orgmode.org"; highlighted text to "flite" ** Maybe a hook? (add-hook 'org-occur-highlights 'etc... ** I mean: I'm trying to get the mouse-highlight text that pops-up sent to "flite"--FestivalLite---then text-to-speech would be done---emacs could liter

[O] Pipe mouse-highlight to FestivalLite/flite

2012-03-09 Thread brian powell
* Does anyone know how to pipe "Link: http://orgmode.org"; highlighted text to "flite" ** Maybe a hook? (add-hook 'org-occur-highlights 'etc... ** Trying to get the mouse-highlight text that pops-up sent to "flite"--FestivalLite---then text-to-speech would be done---emacs could literally tell me

Re: [O] Babel Python sessions severely broken

2012-03-09 Thread Eric Schulte
Jacek Generowicz writes: > Hi, > > Picking up a few-month-old thread ... > > On Tue, 21 Jun 2011 10:26:17 -0700, Eric Schulte wrote: > >> You are suggesting that code to be run "interactively" should be written >> to an external file then loaded into the interactive session. This >> would certai

Re: [O] org babel execute shell in sh?

2012-03-09 Thread Panruo Wu
Thanks tom! This is exactly what I need. regards, robb On Wed, Mar 7, 2012 at 9:24 PM, Tom Regner wrote: > Hi, > > Panruo Wu writes: > > > Dear list, > > > > > > #+begin_src sh > > for np in {1..32} > > do > > echo $np > > done > > #+end_src > > > > when executing, the output only shows >

Re: [O] Date-tree navigation question

2012-03-09 Thread Martin Pohlack
Hi Robert, Not sure what you want to do after opening but I have some code that extracts a time range out of a date tree. Maybe you can reuse the searching parts ... Cheers, Martin -- (defun mp26/org-find-headline-prefix-in-buf

Re: [O] Babel Python sessions severely broken

2012-03-09 Thread Jacek Generowicz
At Fri, 9 Mar 2012 13:31:05 -0700, Eric Schulte wrote: > I look forward to upcoming patches. I've not dug around the implementation of babel before. Any pointers on where to start?

Re: [O] Babel Python sessions severely broken

2012-03-09 Thread Eric Schulte
Jacek Generowicz writes: > At Fri, 9 Mar 2012 13:31:05 -0700, > Eric Schulte wrote: > >> I look forward to upcoming patches. > > I've not dug around the implementation of babel before. Any pointers > on where to start? > Sure, The best place to look at is existing lisp/ob-*.el files both for Py

Re: [O] Bug: 3 bugs and 2 proposals on ascii/html export [7.8.03]

2012-03-09 Thread Ivy Foster
On 09 Mar 2012, at 3:09 am +0100, Bastien wrote: > Mathias Bauer writes: > > As default, all level 1 headlines are underlined by - > > characters and level 2 headlines with =. Wouldn't it be > > more logical the other way round > Unless many users think this is illogical, I won't change > the de

[O] add binding to org-babel-goto-named-src-block

2012-03-09 Thread Daimrod
Hi, many functions in org-babel are bound to a letter X and C-X, it would be nice if it was the case for org-babel-goto-named-src-block. Here is a trivial patch. diff --git a/lisp/ob-keys.el b/lisp/ob-keys.el index cc11343..759bef3 100644 --- a/lisp/ob-keys.el +++ b/lisp/ob-keys.el @@ -60,7 +60,

[O] Blank first line in a tangled file prevents src block execution

2012-03-09 Thread Leo Alekseyev
I have the following source block that I tangle to produce a short script: #+begin_src sh :tangle code/get_wavs.sh #!/bin/bash for fn_in in "$@"; do fn_out=$(sed -e 's|\.3gp$||g' -e 's|$|.wav|g' <<< $fn_in) ffmpeg -i $fn_in -vn -f wav -acodec pcm_u8 $fn_out done #+end_src Howeve

Re: [O] Blank first line in a tangled file prevents src block execution

2012-03-09 Thread Nick Dokos
Leo Alekseyev wrote: > I have the following source block that I tangle to produce a short script: > > #+begin_src sh :tangle code/get_wavs.sh > #!/bin/bash > for fn_in in "$@"; do > fn_out=$(sed -e 's|\.3gp$||g' -e 's|$|.wav|g' <<< $fn_in) > ffmpeg -i $fn_in -vn -f wav -acodec pc

Re: [O] Blank first line in a tangled file prevents src block execution

2012-03-09 Thread Eric Schulte
Nick Dokos writes: > Leo Alekseyev wrote: > >> I have the following source block that I tangle to produce a short script: >> >> #+begin_src sh :tangle code/get_wavs.sh >> #!/bin/bash >> for fn_in in "$@"; do >> fn_out=$(sed -e 's|\.3gp$||g' -e 's|$|.wav|g' <<< $fn_in) >> ffmpeg

Re: [O] Blank first line in a tangled file prevents src block execution

2012-03-09 Thread Nick Dokos
Eric Schulte wrote: > Or try > > #+begin_src sh :tangle code/get_wavs.sh :shebang #!/bin/bash > for fn_in in "$@"; do > fn_out=$(sed -e 's|\.3gp$||g' -e 's|$|.wav|g' <<< $fn_in) > ffmpeg -i $fn_in -vn -f wav -acodec pcm_u8 $fn_out > done > #+end_src > That reminds me: I believe

Re: [O] org babel execute shell in sh?

2012-03-09 Thread Nick Dokos
Tom Regner wrote: > Hi, > > Panruo Wu writes: > > > Dear list, > > > > > > #+begin_src sh=C2=A0 > > for np in {1..32} > > do > > =C2=A0 =C2=A0 echo $np > > done > > #+end_src > > > > when executing, the output only shows > > {1..32} > > which is clearly not I want.. > > > > After some investig

Re: [O] Bug: 3 bugs and 2 proposals on ascii/html export [7.8.03]

2012-03-09 Thread Carsten Dominik
On 9.3.2012, at 11:12, Sebastien Vauban wrote: > Hi Bastien and Mathias, > > Bastien wrote: >>> As default, all level 1 headlines are underlined by - characters and level >>> 2 headlines with =. Wouldn't it be more logical the other way round: the >>> lower the level, the more important the head

Re: [O] org babel execute shell in sh?

2012-03-09 Thread Tom Regner
Nick Dokos schrieb: >Tom Regner wrote: > >> Hi, >> >> Panruo Wu writes: >> >> > Dear list, >> > >> > >> > #+begin_src sh=C2=A0 >> > for np in {1..32} >> > do >> > =C2=A0 =C2=A0 echo $np >> > done >> > #+end_src >> > >> > when executing, the output only shows >> > {1..32} >> > which is clearly

[O] How to get header in second table generated by src block

2012-03-09 Thread Vladimir Lomov
--- 8< --- #+TITLE: One code two tables Hello, I'm adopting my workflow to org, and now I want to understand what I do wrong in following. Suppose I have two tables with headers and three columns. In export to html I want to get two tables with fi