From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: "Pierre-André Cornillon" <pac.herault@gmail.com>
Cc: Org Mode List <emacs-orgmode@gnu.org>
Subject: Re: Fontification for the inner bloc of two nested bloc
Date: Wed, 11 Oct 2017 18:00:39 +0200 [thread overview]
Message-ID: <874lr5fzdk.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CAGTEyCxhSdQ+1qDXzOfZP7EzVVW_H8nR9YVJk5OvcE9=ioUyOg@mail.gmail.com> ("Pierre-André Cornillon"'s message of "Wed, 11 Oct 2017 17:54:08 +0200")
Hello,
Pierre-André Cornillon <pac.herault@gmail.com> writes:
> what is "the parser" exactly ?
It is "org-element.el".
>> Anyway The bug probably lies in `org-fontify-meta-lines-and-blocks-1'.
>> Do you want to investigate?
>
> I agree that the regular search expression in the
> org-fontify-meta-lines-and-blocks-1 seems to match only one level of
> src block. I am not an elisp programmer but splitting
> the function in two part will allow to make it recursive (and thus to
> cope with several level of nested src block) ? Well it's pure
> speculation without testing...
It probably would. But then, there is `font-lock-multiline', which
prevents further fontification.
Regards,
--
Nicolas Goaziou 0x80A93738
next prev parent reply other threads:[~2017-10-11 16:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-07 9:11 Fontification for the inner bloc of two nested bloc Pierre-André Cornillon
2017-10-10 7:16 ` Nicolas Goaziou
2017-10-11 15:54 ` Pierre-André Cornillon
2017-10-11 16:00 ` Nicolas Goaziou [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-10-05 9:59 Pierre-André Cornillon
2017-10-01 14:36 Pierre-Andre Cornillon
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874lr5fzdk.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=emacs-orgmode@gnu.org \
--cc=pac.herault@gmail.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).