From: "Garreau\, Alexandre" <galex-713@galex-713.eu>
To: stardiviner <numbchild@gmail.com>
Cc: org-mode <emacs-orgmode@gnu.org>,
Nicolas Goaziou <mail@nicolasgoaziou.fr>
Subject: Re: Inline code block syntax highlighting absence
Date: Thu, 25 Oct 2018 09:40:42 +0200 [thread overview]
Message-ID: <87ftwu79tx.fsf@portable.galex-713.eu> (raw)
In-Reply-To: <877ei6r7fh.fsf@gmail.com> (stardiviner's message of "Thu, 25 Oct 2018 12:12:18 +0800")
On 2018-10-25 at 12:12, stardiviner wrote:
> Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
>> Would you want to provide a patch for that?
>>
>> Thank you.
>>
>> Regards,
>
> I did a search of "font-lock-add-keywords", "begin_src", "src_" etc in
> Org Mode source code, but have not found exact place where fontify
> function are. So I don't know where to modify the source code. Now I put
> my current config here:
I found `org-src-font-lock-fontify-block' in the middle of “org-src.el”
(is that the place you wanted?), which I found in “org.el” which I found
after searching with “C-h f” a function containing “org-[POINT]font” and
TAB, so I quickly searched for “font-lock”, “begin_”, and “src”, alone.
I have the impression org doesn’t use `add-keywords' at all and just use
setq in org-set-font-lock-defaults so to bind keywords list.
next prev parent reply other threads:[~2018-10-25 7:40 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-23 12:13 Inline code block syntax highlighting absence Garreau, Alexandre
2018-10-24 3:47 ` stardiviner
2018-10-24 7:39 ` Nicolas Goaziou
2018-10-25 4:12 ` stardiviner
2018-10-25 7:40 ` Garreau, Alexandre [this message]
2018-10-26 15:49 ` Nicolas Goaziou
2018-10-27 2:57 ` stardiviner
2018-11-24 8:51 ` stardiviner
2018-11-28 8:05 ` [Need Help] I need help, someone can help me debug on this? stardiviner
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=87ftwu79tx.fsf@portable.galex-713.eu \
--to=galex-713@galex-713.eu \
--cc=emacs-orgmode@gnu.org \
--cc=mail@nicolasgoaziou.fr \
--cc=numbchild@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).