[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Re: [babel] Painless integration of source blocks with lan
From: |
Eric Schulte |
Subject: |
Re: [Orgmode] Re: [babel] Painless integration of source blocks with language |
Date: |
Mon, 17 Jan 2011 09:18:56 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Sébastien Vauban <address@hidden> writes:
> Hi Eric,
>
> "Eric Schulte" wrote:
>> I've just pushed up a new header argument combination ":comments noweb"
>> which will wrap all embedded noweb sections in link comments, as
>> demonstrated in the following example. Hopefully this should be
>> sufficient for a complete mapping from a pure code file back to the
>> original org-mode file.
>
> If I understand correctly, this is some sort of enhancement to the ":comments
> yes" option.
>
> If yes, is there a reason to have both values, with subtle differences?
> Shouldn't we port the behavior of ":comments noweb" to the ":comments yes"
> value?
>
Yes, the reason to retain both variants is that in the case of short
noweb references embedded in a single line, e.g.
#+source: first
#+begin_src ruby
5
#+end_src
#+begin_src ruby :noweb yes
<<first>> + 6
#+end_src
the yes option would be preferable, as the insertion of comments around
the noweb reference would result in adding line breaks around the
reference and possibly breaking new-line sensitive code.
Cheers -- Eric
>
> Best regards,
> Seb
- Re: [Orgmode] Re: [babel] Painless integration of source blocks with language, (continued)
- Re: [Orgmode] [babel] Painless integration of source blocks with language, Eric S Fraga, 2011/01/10
- 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 <=
- [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, 2011/01/17
- 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