[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cc-mode fontification feels random
From: |
Eli Zaretskii |
Subject: |
Re: cc-mode fontification feels random |
Date: |
Mon, 07 Jun 2021 15:08:52 +0300 |
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: acm@muc.de, dancol@dancol.org, emacs-devel@gnu.org
> Date: Sun, 06 Jun 2021 16:28:02 -0400
>
> > What exactly are the reasons that we need to scan from BOB? With the
> > exception of data type declarations, what else requires to go back
> > farther that the beginning of the defun in which we start fontifying?
>
> It all depends on the language.
>
> E.g. in ELisp, what looks like a defun might actually be in the middle
> of a string and there's no reliable way to know if something's in
> a string other than to parse from BOB.
> In C the situation is somewhat similar but for comments.
So you are saying we need that just to know where the current defun
begins? Any other needs to start from BOB?
- Re: cc-mode fontification feels random, (continued)
- Re: cc-mode fontification feels random, João Távora, 2021/06/13
- Re: cc-mode fontification feels random, martin rudalics, 2021/06/13
- Re: cc-mode fontification feels random, João Távora, 2021/06/13
- Re: cc-mode fontification feels random, martin rudalics, 2021/06/14
- Re: cc-mode fontification feels random, João Távora, 2021/06/14
- Re: cc-mode fontification feels random, martin rudalics, 2021/06/14
- Re: cc-mode fontification feels random, João Távora, 2021/06/14
- Re: cc-mode fontification feels random, Eli Zaretskii, 2021/06/14
- Re: cc-mode fontification feels random, Stefan Monnier, 2021/06/14
- Re: cc-mode fontification feels random, Ergus, 2021/06/15
- Re: cc-mode fontification feels random,
Eli Zaretskii <=
- Re: cc-mode fontification feels random, Stefan Monnier, 2021/06/08
- Re: cc-mode fontification feels random, Eli Zaretskii, 2021/06/08
Re: cc-mode fontification feels random, Dmitry Gutov, 2021/06/05
Re: Re: cc-mode fontification feels random, Pedro Andres Aranda Gutierrez, 2021/06/06