From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: Literate Programming - Continue a Source Block? Date: Wed, 15 Jun 2011 19:26:35 -0700 Message-ID: <87hb7qcr3z.fsf@gmail.com> References: <87pqmokh6d.fsf@fester.com> <80k4cw22uf.fsf@somewhere.org> <87fwnkjqoh.fsf@fester.com> <87mxhsnmcf.fsf@gmail.com> <877h8wj9za.fsf@fester.com> <877h8tv6yh.fsf@gmail.com> <87fwnhgps2.fsf@fester.com> <871uz0m8q9.fsf@gmail.com> <87oc238vby.fsf@fester.com> <87zkllie03.fsf@gmail.com> <871uyv7jxm.fsf@fester.com> <871uyvuhqy.fsf@gmail.com> <87wrgm6g3a.fsf@fester.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:59588) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QX4cC-00035j-Kf for emacs-orgmode@gnu.org; Thu, 16 Jun 2011 00:55:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QX4cA-0000kZ-OM for emacs-orgmode@gnu.org; Thu, 16 Jun 2011 00:55:36 -0400 Received: from mail-pz0-f41.google.com ([209.85.210.41]:56332) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QX4cA-0000kP-AP for emacs-orgmode@gnu.org; Thu, 16 Jun 2011 00:55:34 -0400 Received: by pzk4 with SMTP id 4so1044133pzk.0 for ; Wed, 15 Jun 2011 21:55:33 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Neeum Zawan Cc: emacs-orgmode@gnu.org Neeum Zawan writes: > Eric Schulte writes: >> It would be possible to also implement the concatenation behavior during >> noweb expansion, however I'd prefer to first wait for a response to my >> recent other email to this thread asking for a more clear explication of >> existing noweb behavior. >> >> The only remaining times when such concatenation behavior could be >> implemented would be during block reference expansion, and during block >> evaluation, but I think expanding at those times would be unnecessary >> and confusing. > > I'm having trouble understanding the difference between what you discuss > in the first paragraph and in the second. What's the difference between > noweb expansion and block reference expansion? > By block reference I meant when variables are assigned to the values of blocks through reference. So in the following example the "number" block has its body returned through "reference expansion". #+source: number #+begin_src emacs-lisp 4 #+end_src #+begin_src emacs-lisp :var num=number (* num 2) #+end_src Best -- Eric -- Eric Schulte http://cs.unm.edu/~eschulte/