I'm finding that the font-lock in the indirect buffer spawned by C-c '
on a source code block is not correct when there is a preceding (odd
number of) apostrophes / backticks etc (depending on the language). E.g.

* this works fine as there is no apostrophe
#+begin_src sh
  for i in $(seq -w 1 22) ; do
      echo $i
  done
#+end_src    

* but this doesn't work correctly because of the single-quote / apostrophe
#+begin_src sh
  for i in $(seq -w 1 22) ; do
      echo $i
  done
#+end_src    

The second example thinks it's in a single-quote-delimited string.

org-version 6.26trans
emacs-version 23.0.91.1

Dan

p.s. A minor wish-list item: would it be possible to introduce a
variable (say org-expert or something like that) which, when non-nil,
prevents the appearance of instructive messages such as the one that
appears on org-edit-src-code?


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to