From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Subject: Re: [babel] Painless integration of source blocks with language Date: Mon, 17 Jan 2011 23:44:14 +0100 Message-ID: <80pqrv40ch.fsf@missioncriticalit.com> References: <87lj2ukfia.fsf@gmail.com> <87k4icegwl.fsf@ucl.ac.uk> <87wrmbwdsm.fsf@gmail.com> <87aaj5tbgl.fsf@ucl.ac.uk> <87bp3ka458.fsf@gmail.com> <87hbd8kgqw.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Seth, Seth Burleigh wrote: > On Sun, Jan 16, 2011 at 9:31 AM, Eric Schulte 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
> #+begin_src emacs-lisp
> .(setq x (+ 4 x)) > #+end_src > > #+begin_src emacs-lisp :comments noweb :noweb yes :tangle yes
> .(let ((x 1))
> . .(message "x=3D%s" x)
> . .<<wrappable>>
> . .(message "x=3D%s" x))
> #+end_src
> > which tangles out the following emacs-lisp > #+begin_src emacs-lisp
> .;; [[file:~/src/babel-dev/scraps.org::*wrap%20noweb%20references%20in%2= 0comments][wrap-noweb-references-in-comments:2]]
> .(let ((x 1))
> . .(message "x=3D%s" x)
> . .;; [[file:~/src/babel-dev/scraps.org::*wrap%20noweb%20references%20in= %20comments][wrappable]]
> . .(setq x (+ 4 x))
> . .;; wrappable ends here
> . .(message "x=3D%s" x))
> .;; wrap-noweb-references-in-comments:2 ends here
> #+end_src
> > Cheers -- Eric > 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 --=20 S=C3=A9bastien Vauban _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode-mXXj517/zsQ@public.gmane.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode