[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: [babel] Painless integration of source blocks with languag
From: |
Sébastien Vauban |
Subject: |
[Orgmode] Re: [babel] Painless integration of source blocks with language |
Date: |
Mon, 17 Jan 2011 23:44:14 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (windows-nt) |
Hi Seth,
Seth Burleigh wrote:
> On Sun, Jan 16, 2011 at 9:31 AM, Eric Schulte <span
> dir="ltr"><mailto:address@hidden></span> wrote:
Please try using a decent sender, or at least no HTML. I know this cannot be
obvious, though, but look at the results:
> #+source: wrappable<br>
> #+begin_src emacs-lisp<br>
> .(setq x (+ 4 x))
> #+end_src
>
> #+begin_src emacs-lisp :comments noweb :noweb yes :tangle yes<br>
> .(let ((x 1))<br>
> . .(message "x=%s" x)<br>
> . .<<wrappable>><br>
> . .(message "x=%s" x))<br>
> #+end_src<br>
>
> which tangles out the following emacs-lisp
> #+begin_src emacs-lisp<br>
> .;;
> [[file:~/src/babel-dev/scraps.org::*wrap%20noweb%20references%20in%20comments][wrap-noweb-references-in-comments:2]]<br>
> .(let ((x 1))<br>
> . .(message "x=%s" x)<br>
> . .;;
> [[file:~/src/babel-dev/scraps.org::*wrap%20noweb%20references%20in%20comments][wrappable]]<br>
> . .(setq x (+ 4 x))<br>
> . .;; wrappable ends here<br>
> . .(message "x=%s" x))<br>
> .;; wrap-noweb-references-in-comments:2 ends here<br>
> #+end_src<br>
>
> Cheers -- Eric
> </blockquote>Cool! Does it yet support detangling? I tried it out and it said
> i wasnt in a tangle code.
Your cursor must be on a code line, not on a special "comments" line. I've had
the same behavior once. Just move down your cursor one or two lines away...
Best regards,
Seb
--
Sébastien Vauban
- [Orgmode] [babel] Painless integration of source blocks with language, (continued)
- Re: [Orgmode] [babel] Painless integration of source blocks with language, Eric S Fraga, 2011/01/13
- Re: [Orgmode] [babel] Painless integration of source blocks with language, Seth Burleigh, 2011/01/13
- Re: [Orgmode] [babel] Painless integration of source blocks with language, Eric Schulte, 2011/01/13
- Re: [Orgmode] [babel] Painless integration of source blocks with language, Seth Burleigh, 2011/01/13
- Re: [Orgmode] [babel] Painless integration of source blocks with language, Eric Schulte, 2011/01/16
- [Orgmode] Re: [babel] Painless integration of source blocks with language, Sébastien Vauban, 2011/01/17
- Re: [Orgmode] Re: [babel] Painless integration of source blocks with language, Eric Schulte, 2011/01/17
- [Orgmode] Re: [babel] Painless integration of source blocks with language, Sébastien Vauban, 2011/01/17
- Re: [Orgmode] [babel] Painless integration of source blocks with language, Seth Burleigh, 2011/01/17
- [Orgmode] Re: [babel] Painless integration of source blocks with language,
Sébastien Vauban <=
- Re: [Orgmode] Re: [babel] Painless integration of source blocks with language, Seth Burleigh, 2011/01/18
- Re: [Orgmode] Re: [babel] Painless integration of source blocks with language, Seth Burleigh, 2011/01/18
- Re: [Orgmode] Re: [babel] Painless integration of source blocks with language, Seth Burleigh, 2011/01/18
- Re: [Orgmode] Re: [babel] Painless integration of source blocks with language, Eric Schulte, 2011/01/19
- Re: [Orgmode] Re: [babel] Painless integration of source blocks with language, Seth Burleigh, 2011/01/24
- Re: [Orgmode] Re: [babel] Painless integration of source blocks with language, Bastien, 2011/01/18
- [Orgmode] Re: [babel] Painless integration of source blocks with language, Dan Davison, 2011/01/24
- Re: [Orgmode] Re: [babel] Painless integration of source blocks with language, Eric S Fraga, 2011/01/24
- [Orgmode] Re: [babel] Painless integration of source blocks with language, Sébastien Vauban, 2011/01/26