emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] org-babel-tangle fails with :comments org and missing comment
@ 2015-02-26 14:06 Daniele Pizzolli
  0 siblings, 0 replies; only message in thread
From: Daniele Pizzolli @ 2015-02-26 14:06 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

this is the last bug report about the errors I encountered while trying
to write a presentation with org-mode few days ago.  Let me know if you
need further info on this or previous reports.

The following snippet will make M-x org-babel-tangle to fail and write
a partial demo.sh because of ":comments org" and no comment between
the two first source blocks.

I see no reason for this failure.  Maybe a warning about the missing
comment is a nice to have, but a failure because of a missing comment
does not make sense to me.

#+PROPERTY: header-args:sh :tangle demo.sh :comments org

* tangle this file to get an error

Org-mode version 8.3beta (release_8.3beta-866-gc1da4d @
/home/vagrant/.emacs.d/el-get/org-mode/lisp/)

Let's see the difference between two commands:

#+BEGIN_SRC sh
ls | wc
#+END_SRC

#+BEGIN_SRC sh
ls | wc -l
#+END_SRC

comment for next block:

#+BEGIN_SRC sh
ls -a | wc -l
#+END_SRC

Thanks in advance,
Daniele

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-02-26 14:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-26 14:06 [BUG] org-babel-tangle fails with :comments org and missing comment Daniele Pizzolli

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