Re: [O] Feature request for noweb mode that strips references on export

2012-04-01 Thread Sean O'Halpin
On Sat, Mar 31, 2012 at 4:32 PM, Eric Schulte eric.schu...@gmx.com wrote: Thanks for bringing this problem to light.  I've just pushed up a fix. Cheers, -- Eric Schulte http://cs.unm.edu/~eschulte/ Thanks! This is really useful. Regards, Sean

Re: [O] Feature request for noweb mode that strips references on export

2012-03-31 Thread Sean O'Halpin
On Fri, Mar 30, 2012 at 5:37 PM, Nick Dokos nicholas.do...@hp.com wrote: This may have nothing to do with anything (it may even be an artifact of mailer misbehavior) but is this supposed to be boilerplate? These are supposed to be ASCII chars, so if you are using some sort of extended charset,

Re: [O] Feature request for noweb mode that strips references on export

2012-03-31 Thread Sean O'Halpin
On Fri, Mar 30, 2012 at 5:39 PM, Daimrod daim...@gmail.com wrote: If you don't want to export boilerplate you've to use :exports none in it. #+name: boilerplate #+begin_src ruby :exports none def hello  Hello World end #+end_src Use it #+name: example #+begin_src ruby :exports both

Re: [O] Feature request for noweb mode that strips references on export

2012-03-31 Thread Daimrod
Sean O'Halpin sean.ohal...@gmail.com writes: On Fri, Mar 30, 2012 at 5:39 PM, Daimrod daim...@gmail.com wrote: If you don't want to export boilerplate you've to use :exports none in it. #+name: boilerplate #+begin_src ruby :exports none def hello  Hello World end #+end_src Use it

Re: [O] Feature request for noweb mode that strips references on export

2012-03-31 Thread Nick Dokos
Sean O'Halpin sean.ohal...@gmail.com wrote: On Fri, Mar 30, 2012 at 5:39 PM, Daimrod daim...@gmail.com wrote: If you don't want to export boilerplate you've to use :exports none in it. #+name: boilerplate #+begin_src ruby :exports none def hello  Hello World end #+end_src

Re: [O] Feature request for noweb mode that strips references on export

2012-03-31 Thread Eric Schulte
Nick Dokos nicholas.do...@hp.com writes: Sean O'Halpin sean.ohal...@gmail.com wrote: On Fri, Mar 30, 2012 at 5:39 PM, Daimrod daim...@gmail.com wrote: If you don't want to export boilerplate you've to use :exports none in it. #+name: boilerplate #+begin_src ruby :exports none def

Re: [O] Feature request for noweb mode that strips references on export

2012-03-30 Thread Sean O'Halpin
Hi, I've tried to use the new :noweb strip-export feature but I can't work out the magic combination of headers (working with git head, i.e. commit 67694297fa0f9b32cf4bfe812ba8a5c5cf4a0859). Here is a stripped down example: START OF EXAMPLE * Example Define method #+name: boilerplate

Re: [O] Feature request for noweb mode that strips references on export

2012-03-30 Thread Nick Dokos
Sean O'Halpin sean.ohal...@gmail.com wrote: #+name: example #+begin_src ruby :exports both :noweb strip-export =ABboilerplate=BB hello #+end_src This may have nothing to do with anything (it may even be an artifact of mailer misbehavior) but is this supposed to be boilerplate? These

Re: [O] Feature request for noweb mode that strips references on export

2012-03-30 Thread Daimrod
Sean O'Halpin sean.ohal...@gmail.com writes: Hi, I've tried to use the new :noweb strip-export feature but I can't work out the magic combination of headers (working with git head, i.e. commit 67694297fa0f9b32cf4bfe812ba8a5c5cf4a0859). Here is a stripped down example: START OF EXAMPLE

Re: [O] Feature request for noweb mode that strips references on export

2012-03-15 Thread Avdi Grimm
On Wed, Feb 1, 2012 at 10:21 AM, Eric Schulte eric.schu...@gmx.com wrote: I've just added tested and documented such a strip-export argument to :noweb.  Please let me know if it doesn't work as you expected. I just wanted to let you know I finally tried this out and it works beautifully. Thank

Re: [O] Feature request for noweb mode that strips references on export

2012-02-01 Thread Eric Schulte
Avdi Grimm gro...@inbox.avdi.org writes: P.S. It's been a while since I've been on this ML, so if there's a right way to do a feature request please let me know and I'll do it :-) You initial post in this thread was perfect, succinct and complete. Cheers, On Tue, Jan 31, 2012 at 12:38

Re: [O] Feature request for noweb mode that strips references on export

2012-02-01 Thread Eric Schulte
Avdi Grimm gro...@inbox.avdi.org writes: Presently there are three noweb modes: yes, no, and tangle. I would like a fourth, which would behave as follows: On tangle: normal noweb expansion is performed. On evaluation: normal noweb expansion is performed. On export: noweb references are

Re: [O] Feature request for noweb mode that strips references on export

2012-01-31 Thread Avdi Grimm
On Tue, Jan 31, 2012 at 2:56 AM, Sebastien Vauban wxhgmqzgw...@spammotel.com wrote: Just for the sake of completeness, there is already a fourth option: Ah! Looks like I had an older version. Thanks for prompting me to update! I guess what I'm looking for would be called :noweb export-strip or

Re: [O] Feature request for noweb mode that strips references on export

2012-01-31 Thread Avdi Grimm
P.S. It's been a while since I've been on this ML, so if there's a right way to do a feature request please let me know and I'll do it :-) On Tue, Jan 31, 2012 at 12:38 PM, Avdi Grimm gro...@inbox.avdi.org wrote: On Tue, Jan 31, 2012 at 2:56 AM, Sebastien Vauban wxhgmqzgw...@spammotel.com

Re: [O] Feature request for noweb mode that strips references on export

2012-01-30 Thread Sebastien Vauban
Hi Avdi, Avdi Grimm wrote: Presently there are three noweb modes: yes, no, and tangle. I would like a fourth, which would behave as follows: Just for the sake of completeness, there is already a fourth option: no-export which expands noweb references during tangling and execution, but not