From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martyn Jago Subject: Re: ob-lilypond Date: Sat, 2 Jul 2011 14:04:52 +0100 Message-ID: <4049C1C7-EA7C-44C7-87F7-80B9A512A7A1@btinternet.com> References: <87k4c79kdg.fsf@gmail.com> <87d3hyl15p.fsf@gnu.org> <874o3al0ib.fsf@gnu.org> <87zkl1bs7s.fsf@gmail.com> <87r56c5ogi.fsf@gmail.com> <87ei2b8a1z.fsf@gmail.com> <87vcvllpxh.fsf@gmail.com> Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: multipart/alternative; boundary=Apple-Mail-3-592211037 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:34810) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QczsX-0005tV-3U for emacs-orgmode@gnu.org; Sat, 02 Jul 2011 09:04:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QczsV-0003iT-Jv for emacs-orgmode@gnu.org; Sat, 02 Jul 2011 09:04:56 -0400 Received: from nm1.bt.bullet.mail.ird.yahoo.com ([212.82.108.232]:21800) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1QczsV-0003iM-2h for emacs-orgmode@gnu.org; Sat, 02 Jul 2011 09:04:55 -0400 In-Reply-To: <87vcvllpxh.fsf@gmail.com> 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: Eric Schulte Cc: emacs-orgmode@gnu.org --Apple-Mail-3-592211037 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Hi On 1 Jul 2011, at 20:27, Eric Schulte wrote: >>> > I can't reproduce this problem, for example the following works for me > on the latest version of Org-mode. I think perhaps you may not be on > the latest git HEAD. > > Thanks again for this great contribution -- Eric > > ** define a block with a name for noweb expansion > :PROPERTIES: > :tangle: yes > :noweb: yes > :END: > > #+source: simple(something="something") > #+begin_src emacs-lisp > something > #+end_src > > another block including the first block > #+begin_src emacs-lisp > <> > #+end_src > > -- > Eric Schulte > http://cs.unm.edu/~eschulte/ OK - It appears I was getting the differing results since I wasn't passing in default parameters to my ruby blocks being called by noweb... was... #+srcname: gen_arpeggio(key,root) now... #+srcname: gen_arpeggio(key="c",root="c") Regards Martyn --Apple-Mail-3-592211037 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii

I can't = reproduce this problem, for example the following works for me
on the = latest version of Org-mode.  I think perhaps you may not be = on
the latest git HEAD.

Thanks again for this great = contribution -- Eric

** define a block with a name for noweb = expansion
  :PROPERTIES:
  :tangle: =   yes
  :noweb:    yes
=   :END:

#+source: = simple(something=3D"something")
#+begin_src emacs-lisp
=  something
#+end_src

another block including the first = block
#+begin_src emacs-lisp
=  <<simple(something=3D"something = else")>>
#+end_src

--
Eric Schulte
http://cs.unm.edu/~eschulte/
=

OK - It appears I was getting = the differing results since I wasn't
passing in default = parameters to my ruby blocks being called = by
noweb...

was...

=
#+srcname: =  gen_arpeggio(key,root)

now...
#+srcname: =  gen_arpeggio(key=3D"c",root=3D"c")

Re= gards

Martyn

= --Apple-Mail-3-592211037--