[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] org-edit-src-code font lock problem

From: Dan Davison
Subject: [Orgmode] org-edit-src-code font lock problem
Date: Wed, 29 Apr 2009 15:23:24 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux)

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

* 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

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

org-version 6.26trans


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?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]