[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 7362554: Widen around c-font-lock-fontify-region. This fixes
From: |
Eli Zaretskii |
Subject: |
Re: master 7362554: Widen around c-font-lock-fontify-region. This fixes bug #38049. |
Date: |
Thu, 14 Nov 2019 15:35:19 +0200 |
> Date: Wed, 13 Nov 2019 21:19:36 +0000
> From: Alan Mackenzie <address@hidden>
> Cc: address@hidden
>
> > > Difficult. In CC Mode it is sometimes necessary to enlarge a font
> > > lock region so as to get the context needed to parse some element of
> > > the buffer. This was what gave rise to the bug.
>
> > Did that really happen in the reported scenario? I mean,
> > font-lock-dont-widen is usually nil, so font-lock will call widen for
> > you already.
>
> Cutting and pasting from the bug thread for bug #38049:
But that couldn't happen in the use case with code fragments, could
it? The mode which manages such buffers narrows the buffer to include
the entire code fragment, so no reason for CC mode to widen. Right?
- Re: master 7362554: Widen around c-font-lock-fontify-region. This fixes bug #38049., (continued)
- Re: master 7362554: Widen around c-font-lock-fontify-region. This fixes bug #38049., Dmitry Gutov, 2019/11/17
- Re: master 7362554: Widen around c-font-lock-fontify-region. This fixes bug #38049., Dmitry Gutov, 2019/11/14
- Several Major Modes. [Was: master 7362554: Widen around c-font-lock-fontify-region. This fixes bug #38049.], Alan Mackenzie, 2019/11/14
- Re: Several Major Modes. [Was: master 7362554: Widen around c-font-lock-fontify-region. This fixes bug #38049.], Dmitry Gutov, 2019/11/14
- Re: Several Major Modes., Alan Mackenzie, 2019/11/15
- Re: Several Major Modes., Dmitry Gutov, 2019/11/15
- Re: Several Major Modes., Alan Mackenzie, 2019/11/16
- Re: Several Major Modes., Dmitry Gutov, 2019/11/17
- Re: Several Major Modes., Alan Mackenzie, 2019/11/17
- Re: Several Major Modes., Dmitry Gutov, 2019/11/17
- Re: master 7362554: Widen around c-font-lock-fontify-region. This fixes bug #38049.,
Eli Zaretskii <=
- Re: master 7362554: Widen around c-font-lock-fontify-region. This fixes bug #38049., Dmitry Gutov, 2019/11/15
- Re: master 7362554: Widen around c-font-lock-fontify-region. This fixes bug #38049., Eli Zaretskii, 2019/11/14