* `ob-babel-expand-noweb-references' does not take into account `org-babel-tangle-uncomment-comments'
@ 2015-12-19 11:58 Simon Castellan
0 siblings, 0 replies; only message in thread
From: Simon Castellan @ 2015-12-19 11:58 UTC (permalink / raw)
To: emacs-orgmode
Hello,
I would like the tangle functionality of org-mode to generate line
directives so that compilers generate correct location for errors. I am
using the following settings, using the `:comments' feature of tangle:
;; Do not comment comments
(setq org-babel-tangle-uncomment-comments t)
;; Beginning: set line directives (this is for OCaml)
(setq org-babel-tangle-comment-format-beg
"# %start-line \"%file\"\n")
;; No end template [Remember that they are not commented]
(setq org-babel-tangle-comment-format-end " ")
This works surprsingly well for ordinary code blocks but breaks down
when noweb is used. Indeed control is passed to
ob-babel-expand-noweb-references which comments the "comment" (I see
this can be confusing) because it ignores the setting.
My question is: is this the indented behaviour?
Also, I do think such a behaviour should be supported out of the box:
this is very important for compiled languages.
Best wishes,
Simon.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-12-19 11:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-19 11:58 `ob-babel-expand-noweb-references' does not take into account `org-babel-tangle-uncomment-comments' Simon Castellan
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).