From: Sebastien Vauban <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: [Babel] 2 new problems with tangling
Date: Tue, 17 Jun 2014 17:00:27 +0200 [thread overview]
Message-ID: <86egyn37jo.fsf@somewhere.org> (raw)
Hello,
After an update to Org 8.2.7, I have troubles tangling files.
Problems:
- Code blocks "tagged" with ":tangle no" are still tangled.
- Code called in Noweb syntax "<<coderef()>>" is not executed anymore.
It's possible that the error resides on my side, so the first question
is: do you see the same as me?
ECM:
--8<---------------cut here---------------start------------->8---
#+TITLE: Shell utilities
#+LANGUAGE: en
#+OPTIONS: ^:{}
#+PROPERTY: eval no
* Preamble
Helper function.
#+name: current-year
#+begin_src emacs-lisp :eval yes :results silent :tangle no
(format-time-string "%Y")
#+end_src
* Common
:PROPERTIES:
:tangle: ~/common.sh
:END:
Everything in common between Bash and Z shell will come here.
#+begin_src sh :noweb yes
# Hey Emacs, this is a -*- sh -*- file
## .commonshrc --- Common features between (Linux and Cygwin) Bash and Z Shell
# Copyright (C) 2009-<<current-year()>>
#+end_src
#+begin_src sh
echo "This is tangled... right..."
#+end_src
#+begin_src sh :tangle no
echo "This is tangled as well... KO!"
#+end_src
--8<---------------cut here---------------end--------------->8---
now returns:
--8<---------------cut here---------------start------------->8---
# Hey Emacs, this is a -*- sh -*- file
## .commonshrc --- Common features between (Linux and Cygwin) Bash and Z Shell
# Copyright (C) 2009-<<current-year()>>
echo "This is tangled... right..."
echo "This is tangled as well... KO!"
--8<---------------cut here---------------end--------------->8---
instead of what I expected:
--8<---------------cut here---------------start------------->8---
# Hey Emacs, this is a -*- sh -*- file
## .commonshrc --- Common features between (Linux and Cygwin) Bash and Z Shell
# Copyright (C) 2009-2014
echo "This is tangled... right..."
--8<---------------cut here---------------end--------------->8---
Best regards,
Seb
--
Sebastien Vauban
next reply other threads:[~2014-06-17 15:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-17 15:00 Sebastien Vauban [this message]
2014-06-17 17:14 ` [Babel] 2 new problems with tangling Thorsten Jolitz
2014-06-18 13:34 ` Sebastien Vauban
2014-07-28 14:25 ` Bastien
2014-08-05 9:42 ` Sebastien Vauban
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86egyn37jo.fsf@somewhere.org \
--to=sva-news-d0wtavr13harg/idocfnwg@public.gmane.org \
--cc=emacs-orgmode-mXXj517/zsQ@public.gmane.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 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.