* [bug] Parts of code blocks are highlighted as Org comments
@ 2012-10-29 13:20 Sebastien Vauban
2012-12-20 16:28 ` Bastien
0 siblings, 1 reply; 2+ messages in thread
From: Sebastien Vauban @ 2012-10-29 13:20 UTC (permalink / raw
To: emacs-orgmode-mXXj517/zsQ
Hello,
If you have such a Sh code block in any Org document, you'll see that the 4th
line will be highlighted as an Org comment from the "# != 2"...
#+begin_src sh
# swap FILE1 FILE2
swap ()
{
if [[ $# != 2 ]]; then
return 1
fi
tmpfile=/tmp/.swapper.$$.$RANDOM
mv -f $1 $tmpfile
mv -f $2 $1
mv -f $tmpfile $2
return 0
}
#+end_src
If you edit such (via C-c '), you can check that it's NOT highlighted as a
comment in the Shell mode.
Best regards,
Seb
--
Sebastien Vauban
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [bug] Parts of code blocks are highlighted as Org comments
2012-10-29 13:20 [bug] Parts of code blocks are highlighted as Org comments Sebastien Vauban
@ 2012-12-20 16:28 ` Bastien
0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2012-12-20 16:28 UTC (permalink / raw
To: Sebastien Vauban; +Cc: public-emacs-orgmode-mXXj517/zsQ
Hi Sébastien,
"Sebastien Vauban"
<wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org> writes:
> If you have such a Sh code block in any Org document, you'll see that the 4th
> line will be highlighted as an Org comment from the "# != 2"...
This is now fixed, thanks.
--
Bastien
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-12-20 16:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-29 13:20 [bug] Parts of code blocks are highlighted as Org comments Sebastien Vauban
2012-12-20 16:28 ` Bastien
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.