all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* noweb problem
@ 2011-11-28 20:08 Torsten Anders
  2011-11-28 20:14 ` Eric Schulte
  0 siblings, 1 reply; 3+ messages in thread
From: Torsten Anders @ 2011-11-28 20:08 UTC (permalink / raw)
  To: Org-mode

Dear Org babel developers,

In the simple test below I would expect that the second cope block expands to "ls ~", but seemingly it instead expands to "ls" only. What am I missing?

#+srcname: sh-test-noweb
#+begin_src sh
~
#+end_src      

#+begin_src sh :noweb yes 
ls <<sh-test-noweb>>
#+end_src    

Did anything perhaps change in the literate programming interface? Apologies if I missed something obvious or if I am victim of some stupid typo. 

Thanks a lot! 

Best wishes,
Torsten

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: noweb problem
  2011-11-28 20:08 noweb problem Torsten Anders
@ 2011-11-28 20:14 ` Eric Schulte
  2011-11-28 22:07   ` Torsten Anders
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Schulte @ 2011-11-28 20:14 UTC (permalink / raw)
  To: Torsten Anders; +Cc: Org-mode

Hi Torsten,

The change here is in the naming conventions, "srcname" is no longer a
valid method of naming a code block, try "name" instead. e.g.,

#+name: sh-test-noweb
#+begin_src sh
~
#+end_src      

#+begin_src sh :noweb yes 
ls <<sh-test-noweb>>
#+end_src    

Best,

Torsten Anders <torsten.anders@beds.ac.uk> writes:

> Dear Org babel developers,
>
> In the simple test below I would expect that the second cope block
> expands to "ls ~", but seemingly it instead expands to "ls" only. What
> am I missing?
>
> #+srcname: sh-test-noweb
> #+begin_src sh
> ~
> #+end_src      
>
> #+begin_src sh :noweb yes 
> ls <<sh-test-noweb>>
> #+end_src    
>
> Did anything perhaps change in the literate programming interface?
> Apologies if I missed something obvious or if I am victim of some
> stupid typo.
>
> Thanks a lot! 
>
> Best wishes,
> Torsten
>
>

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: noweb problem
  2011-11-28 20:14 ` Eric Schulte
@ 2011-11-28 22:07   ` Torsten Anders
  0 siblings, 0 replies; 3+ messages in thread
From: Torsten Anders @ 2011-11-28 22:07 UTC (permalink / raw)
  To: Eric Schulte; +Cc: Org-mode

Ah, thanks a lot! 

I should develop the habit of reading the documentation of the development version when using that version...

Best wishes,
Torsten


On 28 Nov 2011, at 20:14, Eric Schulte wrote:

> Hi Torsten,
> 
> The change here is in the naming conventions, "srcname" is no longer a
> valid method of naming a code block, try "name" instead. e.g.,
> 
> #+name: sh-test-noweb
> #+begin_src sh
> ~
> #+end_src      
> 
> #+begin_src sh :noweb yes 
> ls <<sh-test-noweb>>
> #+end_src    
> 
> Best,
> 
> Torsten Anders <torsten.anders@beds.ac.uk> writes:
> 
>> Dear Org babel developers,
>> 
>> In the simple test below I would expect that the second cope block
>> expands to "ls ~", but seemingly it instead expands to "ls" only. What
>> am I missing?
>> 
>> #+srcname: sh-test-noweb
>> #+begin_src sh
>> ~
>> #+end_src      
>> 
>> #+begin_src sh :noweb yes 
>> ls <<sh-test-noweb>>
>> #+end_src    
>> 
>> Did anything perhaps change in the literate programming interface?
>> Apologies if I missed something obvious or if I am victim of some
>> stupid typo.
>> 
>> Thanks a lot! 
>> 
>> Best wishes,
>> Torsten
>> 
>> 
> 
> -- 
> Eric Schulte
> http://cs.unm.edu/~eschulte/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-11-28 22:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-28 20:08 noweb problem Torsten Anders
2011-11-28 20:14 ` Eric Schulte
2011-11-28 22:07   ` Torsten Anders

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.