[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Fontification for inline src blocks
From: |
Timothy |
Subject: |
Re: [PATCH] Fontification for inline src blocks |
Date: |
Tue, 30 Nov 2021 03:21:24 +0800 |
User-agent: |
mu4e 1.6.9; emacs 28.0.50 |
Hi Ihor,
> That’s an option. Though you should also consider a paragraph ending at
> EOB. Searching for “” will fail with error then.
Don’t worry, that’s just a snippet. The full logic is as follows
┌────
│ (min limit (or (save-excursion (and (search-forward "\n" limit t 2) (point)))
│ (point-max)))
└────
>> [use org-element]
Ah right. We now also have the new thread about using org-element. I think that
sounds like a great change overall, but am still keen for this patch to go
through for the moment — just as a stop gap till org-element exposes all the
necessary information and there are some nice examples of using it for
fontification.
I’ve attached the latest version of the patch. At this point I consider it
fairly well-reviewed, so I’ll push it tomorrow if I don’t hear of any
last-minute issues.
All the best,
Timothy
0001-org-src-Implement-native-inline-src-fontification.patch
Description: Text Data
- Re: [PATCH] Fontification for inline src blocks, Timothy, 2021/11/21
- Re: [PATCH] Fontification for inline src blocks, Timothy, 2021/11/22
- Re: [PATCH] Fontification for inline src blocks, Ihor Radchenko, 2021/11/22
- Re: [PATCH] Fontification for inline src blocks, Timothy, 2021/11/22
- Re: [PATCH] Fontification for inline src blocks, Ihor Radchenko, 2021/11/22
- Re: [PATCH] Fontification for inline src blocks, Timothy, 2021/11/22
- Re: [PATCH] Fontification for inline src blocks, Ihor Radchenko, 2021/11/23
- Re: [PATCH] Fontification for inline src blocks,
Timothy <=
- Re: [PATCH] Fontification for inline src blocks, Timothy, 2021/11/30
- Re: [PATCH] Fontification for inline src blocks, Sébastien Miquel, 2021/11/30
- Re: [PATCH] Fontification for inline src blocks, Timothy, 2021/11/30
- Re: [PATCH] Fontification for inline src blocks, Ihor Radchenko, 2021/11/30
Re: [PATCH] Fontification for inline src blocks, Vitaly Ankh, 2021/11/23