emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Daniele Pizzolli <dan@toel.it>
To: emacs-orgmode@gnu.org
Subject: [BUG] org-babel-tangle fails with :comments org and missing comment
Date: Thu, 26 Feb 2015 15:06:34 +0100	[thread overview]
Message-ID: <86a900kbrp.fsf@me.localhost.invalid> (raw)

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

                 reply	other threads:[~2015-02-26 14:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86a900kbrp.fsf@me.localhost.invalid \
    --to=dan@toel.it \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).