[Top][All Lists]

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

Re: Font lock in org+elisp confused with ?\[

From: Tim Cross
Subject: Re: Font lock in org+elisp confused with ?\[
Date: Fri, 2 Apr 2021 15:23:54 +1100

I'm forwarding this to the emacs-orgmode list as this is something org maintainers probably need to see. 

On Thu, 1 Apr 2021 at 15:43, Arthur Miller <arthur.miller@live.com> wrote:

Is it me or is it a bug?

When in org mode in an elisp block, this seems to confuse syntax

#+begin_src emacs-lisp
  (if (= (following-char) ?\])
      (forward-char -1))

Identation seems to think it is one level extra, and it also shows as
error. Same of course when testing for ?\[.

It does evaluate correctly. Ordinary elisp buffer does not have problem
with this, only when in code blocks in org-mode or elisp mode.I can send
in some screenshot with errors if needed.



Tim Cross

reply via email to

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