[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [PATCH] Noweb expansion doesn't duplicate prefix across lines
From: |
Eric Schulte |
Subject: |
Re: [O] [PATCH] Noweb expansion doesn't duplicate prefix across lines |
Date: |
Wed, 02 Apr 2014 17:07:07 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
This simply seems to trade one use case (noweb expansion behind a
prefix), with another (multiple noweb expansions on the same line).
Is there a way to support both use cases?
Pontus Michael <address@hidden> writes:
> * lisp/ob-core.el (org-babel-expand-noweb-references): Change the the
> behavior of noweb expansion by replacing the prefix duplication with
> whitespace. Fix handling of multiple noweb references on the same
> line by using temporary buffer to replace noweb references in place
> instead of collecting the intervals between references and their
> expansion text into a variable.
>
> * doc/org.texi: Reflect the change by removing the section under
> subheading "Noweb prefix lines".
>
> Tests pass and don't require actualization.
> ---
> doc/org.texi | 24 ------------------------
> lisp/ob-core.el | 26 +++++++-------------------
> 2 files changed, 7 insertions(+), 43 deletions(-)
>
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
- Re: [O] [PATCH] Noweb expansion doesn't duplicate prefix across lines,
Eric Schulte <=