[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
noweb syntax clashing with shell here document syntax
From: |
Sebastian Miele |
Subject: |
noweb syntax clashing with shell here document syntax |
Date: |
Mon, 22 Mar 2021 17:35:22 +0100 |
User-agent: |
mu4e 1.4.15; emacs 27.1 |
Hello!
The noweb syntax seems to clash with the syntax of here documents in
shell scripts. In the block like
#+BEGIN_SRC shell :noweb yes
echo a
<<A>>
echo b
#+END_SRC
everything following the line with the the noweb reference does not
get fontified properly. I suspect that the problem already is known
for a long time. Is that true? If yes, what is the status of this
issue? Is there a known workaround?
At least in ZSH it may very well be the case that a line ending with
'>>' never is valid, except in cases where something like an '<<A'
before it is not an opening of a here document. So it possibly is
something that could be fixed in sh-script.el. But I do not know
exactly.
Anybody who already knows more about this?
Best wishes
Sebastian
- noweb syntax clashing with shell here document syntax,
Sebastian Miele <=