all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to tangle contents of a noweb-ref block that as source block indicators in it?
@ 2014-09-19 17:51 Grant Rettke
  2014-09-19 18:46 ` Nick Dokos
  0 siblings, 1 reply; 2+ messages in thread
From: Grant Rettke @ 2014-09-19 17:51 UTC (permalink / raw
  To: emacs-orgmode@gnu.org

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?

Kind regards,

Grant Rettke
gcr@wisdomandwonder.com | http://www.wisdomandwonder.com/
“Wisdom begins in wonder.” --Socrates
((λ (x) (x x)) (λ (x) (x x)))
“Life has become immeasurably better since I have been forced to stop
taking it seriously.” --Thompson

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

end of thread, other threads:[~2014-09-19 18:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-19 17:51 How to tangle contents of a noweb-ref block that as source block indicators in it? Grant Rettke
2014-09-19 18:46 ` Nick Dokos

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.