From: Ihor Radchenko <yantar92@posteo.net>
To: Dominik Schrempf <dominik.schrempf@gmail.com>
Cc: Bruno Barbier <brubar.cs@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: Org Haskell code blocks
Date: Thu, 27 Oct 2022 03:32:43 +0000 [thread overview]
Message-ID: <8735baos9w.fsf@localhost> (raw)
In-Reply-To: <87eduvt08v.fsf@gmail.com>
Dominik Schrempf <dominik.schrempf@gmail.com> writes:
> This is interesting. For me, syntax highlighting works partially. For
> example, keywords are highlighted, but function names are not. See below.
I confirm the issue with your example.
It is a known problem with indentation-sensitive languages.
The problem is that org-src-font-lock-fontify-block does not strip
indentation from the block. This can be fixed. Although, I planned to
work on this bug together with
https://orgmode.org/list/87ee7c9quk.fsf@localhost.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
prev parent reply other threads:[~2022-10-27 3:33 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-25 14:47 Org Haskell code blocks Dominik Schrempf
2022-10-25 15:08 ` Dominik Schrempf
2022-10-25 18:06 ` Bruno Barbier
2022-10-25 18:51 ` Dominik Schrempf
2022-10-26 4:19 ` Ihor Radchenko
2022-10-26 6:24 ` Dominik Schrempf
2022-10-26 6:57 ` Ihor Radchenko
2022-10-26 9:11 ` Dominik Schrempf
2022-10-27 3:32 ` Ihor Radchenko [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8735baos9w.fsf@localhost \
--to=yantar92@posteo.net \
--cc=brubar.cs@gmail.com \
--cc=dominik.schrempf@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.