* [Babel] 2 new problems with tangling
@ 2014-06-17 15:00 Sebastien Vauban
2014-06-17 17:14 ` Thorsten Jolitz
2014-07-28 14:25 ` Bastien
0 siblings, 2 replies; 5+ messages in thread
From: Sebastien Vauban @ 2014-06-17 15:00 UTC (permalink / raw)
To: emacs-orgmode-mXXj517/zsQ
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Babel] 2 new problems with tangling
2014-06-17 15:00 [Babel] 2 new problems with tangling Sebastien Vauban
@ 2014-06-17 17:14 ` Thorsten Jolitz
2014-06-18 13:34 ` Sebastien Vauban
2014-07-28 14:25 ` Bastien
1 sibling, 1 reply; 5+ messages in thread
From: Thorsten Jolitz @ 2014-06-17 17:14 UTC (permalink / raw)
To: emacs-orgmode
Sebastien Vauban <sva-news@mygooglest.com>
writes:
Hello,
> After an update to Org 8.2.7, I have troubles tangling files.
> It's possible that the error resides on my side, so the first question
> is: do you see the same as me?
No, I see:
,------------------------------------------------------------------
| # 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..."
`------------------------------------------------------------------
,---------------------------------------------------
| Org-mode version 8.2.7 (release_8.2.7-1096-g23496c
| @ /usr/share/emacs/24.3/lisp/org/lisp/)
`---------------------------------------------------
--
cheers,
Thorsten
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Babel] 2 new problems with tangling
2014-06-17 17:14 ` Thorsten Jolitz
@ 2014-06-18 13:34 ` Sebastien Vauban
0 siblings, 0 replies; 5+ messages in thread
From: Sebastien Vauban @ 2014-06-18 13:34 UTC (permalink / raw)
To: emacs-orgmode-mXXj517/zsQ
Thorsten Jolitz wrote:
> Sebastien Vauban writes:
>
>> After an update to Org 8.2.7, I have troubles tangling files.
>
>> It's possible that the error resides on my side, so the first question
>> is: do you see the same as me?
>
> No
Thanks for confirming that.
Though, the problem is more complex than that on my side: I now know
that the behavior is there at some point in time, but not always, not
from the start.
And I still wonder how to debug that...
Best regards,
Seb
--
Sebastien Vauban
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Babel] 2 new problems with tangling
2014-06-17 15:00 [Babel] 2 new problems with tangling Sebastien Vauban
2014-06-17 17:14 ` Thorsten Jolitz
@ 2014-07-28 14:25 ` Bastien
2014-08-05 9:42 ` Sebastien Vauban
1 sibling, 1 reply; 5+ messages in thread
From: Bastien @ 2014-07-28 14:25 UTC (permalink / raw)
To: Sebastien Vauban; +Cc: public-emacs-orgmode-mXXj517/zsQ
Hi Sébastien,
Sebastien Vauban <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
writes:
> After an update to Org 8.2.7, I have troubles tangling files.
Do you still see this?
If so, did you have time to bisect and report the first bad commit?
Thanks!
--
Bastien
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-08-05 9:42 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-17 15:00 [Babel] 2 new problems with tangling Sebastien Vauban
2014-06-17 17:14 ` Thorsten Jolitz
2014-06-18 13:34 ` Sebastien Vauban
2014-07-28 14:25 ` Bastien
2014-08-05 9:42 ` Sebastien Vauban
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).