[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cc-mode fontification feels random
From: |
martin rudalics |
Subject: |
Re: cc-mode fontification feels random |
Date: |
Sun, 13 Jun 2021 16:52:11 +0200 |
> But looking summarily at the code it doesn't seem to be
> "unconditionally" at all. There are four different conditions that have
> to be cumulatively verified before that invocation of syntax-ppss takes
> place.
I think you're right - it seems to end up in "same-line". The two
`line-beginning-position' calls and the `copy-marker' are gratuitous
though. This should become a minor mode and crowd `post-command-hook'
only if enabled - otherwise you needlessly punish electric users. And
it should be documented somewhere.
> I didn't know it was customizbale (or rather didn't bother to check, I
> admit). But again, I seem to remember that customizing it back to nil
> wasn't an option and that Emacs would break. Maybe that has changed?
> Is it really truly optional?
Sure.
martin
- Re: cc-mode fontification feels random, (continued)
- Re: cc-mode fontification feels random, Richard Stallman, 2021/06/08
- Re: cc-mode fontification feels random, martin rudalics, 2021/06/09
- `open-paren-in-column-0-is-defun-start` (was: cc-mode fontification feels random), Stefan Monnier, 2021/06/09
- Re: `open-paren-in-column-0-is-defun-start` (was: cc-mode fontification feels random), Yuri Khan, 2021/06/09
- Re: `open-paren-in-column-0-is-defun-start` (was: cc-mode fontification feels random), Yuri Khan, 2021/06/09
- Re: cc-mode fontification feels random, João Távora, 2021/06/12
- 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/13
- Re: cc-mode fontification feels random, João Távora, 2021/06/13
- Re: cc-mode fontification feels random,
martin rudalics <=
- 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, 2021/06/07
- Re: cc-mode fontification feels random, Stefan Monnier, 2021/06/08