[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#22399: org-mode fontification
From: |
Phillip Lord |
Subject: |
bug#22399: org-mode fontification |
Date: |
Tue, 19 Jan 2016 11:25:01 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Kyle Meyer <kyle@kyleam.com> writes:
> Kyle Meyer <kyle@kyleam.com> writes:
>> Rasmus <rasmus@gmx.us> writes:
>>
>> [...]
>>
>>> Note, this change only lives it the Emacs version of Org. It was added in
>>> this commit:
>>>
>>> 6711a21f1125c0047c56eb266eb374c1ec90a967
>
> [...]
>
>>
>> This commit was backported in Org commit d81e6b5, and then followed up
>> by c115c7b (org-compat: Use different font-lock-ensure alias,
>> 2015-07-26), which defined the alias as
>>
>> (unless (fboundp 'font-lock-ensure)
>> (defalias 'font-lock-ensure 'font-lock-fontify-buffer))
>
> I've attached two patches against emacs-25 that would get the Org and
> Emacs repos in similar states wrt font-lock-ensure.
>
> The first patch replaces the font-lock-ensure compatibility alias from
> 6711a21f1 with the one currently used in the Org repo (from commit
> e6883dd03). The new alias is limited to being called with no
> arguments, but, at the moment, no Org code calls font-lock-ensure with
> any arguments.
>
> The second patch reverts a part of 6711a21f1 that modified
> org-src-font-lock-fontify-block to use font-lock-ensure rather than
> font-lock-fontify-buffer. In this particular case, using
> font-lock-ensure instead of font-lock-fontify-buffer fails to
> highlight the source block.
I've tested these on emacs-25 and can confirm that they solve the
problem.
Thanks!
Phil
- bug#22399: org-mode fontification, Phillip Lord, 2016/01/18
- bug#22399: org-mode fontification, Rasmus, 2016/01/18
- bug#22399: org-mode fontification, Phillip Lord, 2016/01/18
- Message not available
- bug#22399: org-mode fontification, Rasmus, 2016/01/19
- bug#22399: org-mode fontification, Kyle Meyer, 2016/01/19
- bug#22399: org-mode fontification, Kyle Meyer, 2016/01/19
- bug#22399: org-mode fontification, Rasmus, 2016/01/19
- bug#22399: [O] bug#22399: org-mode fontification, Phillip Lord, 2016/01/20
- Message not available
- bug#22399: org-mode fontification, Kyle Meyer, 2016/01/20
- bug#22399: org-mode fontification, Stefan Monnier, 2016/01/20
- bug#22399: org-mode fontification, Kyle Meyer, 2016/01/20
- bug#22399: org-mode fontification, Stefan Monnier, 2016/01/25
- bug#22399: org-mode fontification, Kyle Meyer, 2016/01/26