Grant Rettke <g...@wisdomandwonder.com> writes:

> Good afternoon,
>
> I work in:
>
> ╭────
> │ (print emacs-version)
> │ (print org-version)
> ╰────
>
> ╭────
> │ "24.3.1"
> │
> │ "8.2.7c"
> ╰────
>
> My `org' configuration specifies source blocks like this:
>
> ╭────
> │ (setq org-babel-noweb-wrap-start "«")
> │ (setq org-babel-noweb-wrap-end "»")
> ╰────
>
> When I tangle this block the output is bit for bit.
>
> When I tangle this other block:
>
> ╭────
> │ (wrap-region-add-wrapper "«" "»" "w" 'org-mode) ;; noweb blocks
> ╰────
>
> the guillemot is removed.
>
> What I want is to tangle the source block without having the guillemot
> removed.
>
> I did it wrong because I generated this:
>
> ╭────
> │ (wrap-region-add-wrapper "" "w" 'org-mode) ;; noweb blocks
> ╰────
>
> What should I do to generate the desired output?
>

Just a guess: you probably *evaluated* the first code block, so your
org-babel-noweb-wrap-{start,end} variables got changed, which affected
the second code block. If you leave the markers unchanged, I'd expect it
to work.

Nick


Reply via email to