emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* library of babel ingest interferes with noweb
@ 2017-09-14 18:58 edgar
  2017-09-14 21:26 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: edgar @ 2017-09-14 18:58 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 467 bytes --]

Hello,

It seems that when I have two blocks of code with noweb, and then I do a 
babel ingest, I don't get my original result (see attached file).

Is there a reason for this? Is this a bug?

Thanks.

-------------------------------------------------

ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!  
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!  

[-- Attachment #2: t.org --]
[-- Type: text/plain, Size: 803 bytes --]

;; This buffer is for notes you don't want to save, and for Lisp evaluation.
;; If you want to create a file, visit that file with C-x C-f,
;; then enter the text in that file's own buffer.

* This works
#+NAME: test1
#+BEGIN_SRC bash
  a=2
#+END_SRC

#+NAME: test2
#+BEGIN_SRC bash :noweb yes
  <<test1>>
#+END_SRC

#+BEGIN_SRC bash :noweb yes
  <<test2>>
#+END_SRC

shows in the org-edit-special window
#+BEGIN_EXAMPLE
a=2
#+END_EXAMPLE

* This does not work
After loading this block, 
#+BEGIN_SRC emacs-lisp :exports none :results none
  (org-babel-lob-ingest "t.org")
#+END_SRC

#+BEGIN_SRC bash :noweb yes
  <<test2>>
#+END_SRC

shows in the org-edit-special window
#+BEGIN_EXAMPLE
<<test1>>
#+END_EXAMPLE

* What I expect
After ingesting the file, I should still get =a=2= in the org-edit-special

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

end of thread, other threads:[~2017-09-16 16:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-14 18:58 library of babel ingest interferes with noweb edgar
2017-09-14 21:26 ` Nicolas Goaziou
     [not found]   ` <c43e45990e37b8cc86c605c1a989173e@openmail.cc>
2017-09-16  4:29     ` edgar

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).