[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: scratch/fontify-open-string. [Was: CC Mode and electric-pair "proble
From: |
Stephen Leake |
Subject: |
Re: scratch/fontify-open-string. [Was: CC Mode and electric-pair "problem".] |
Date: |
Sun, 15 Jul 2018 04:00:23 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (windows-nt) |
An update on this; I just had several missing quotes in a buffer, due to
a copy/multiple paste that had a quote error. I did lots of editing with
the quote errors present.
I didn't even notice them until the compiler complained, just like any
other syntax error.
In my opinion, that is far preferable to the previous behavior of
fontifying large parts of the buffer as string, which forced me to pay
attention to a trivial syntax error instead of what I was actually doing.
This is in Ada, that does not have the option of escaping a newline to
create a multiline string, so treating a newline as string terminator is
always correct.
Anything I can do to help merge this to main?
Stephen Leake <address@hidden> writes:
> Alan Mackenzie <address@hidden> writes:
>
>> It's no longer a matter of assumption. Earlier on this afternoon, I
>> committed a preliminary working version of this change to the branch
>> scratch/fontify-open-string.
>
> I've just tried this in ada-mode, and it works nicely. I like the red
> face on an unbalanced string quote.
>
> No noticeable slowdown in anything I've tried so far.
>
> Let me know if there's some experiment you'd like me to run.
--
-- Stephe
- Re: CC Mode and electric-pair "problem"., (continued)
Re: CC Mode and electric-pair "problem"., Alan Mackenzie, 2018/07/01
Re: CC Mode and electric-pair "problem"., João Távora, 2018/07/01
Re: CC Mode and electric-pair "problem"., Eli Zaretskii, 2018/07/01
- scratch/fontify-open-string. [Was: CC Mode and electric-pair "problem".], Alan Mackenzie, 2018/07/01
- Re: scratch/fontify-open-string. [Was: CC Mode and electric-pair "problem".], Stephen Leake, 2018/07/08
- Re: scratch/fontify-open-string. [Was: CC Mode and electric-pair "problem".],
Stephen Leake <=
- Re: scratch/fontify-open-string. [Was: CC Mode and electric-pair "problem".], Eli Zaretskii, 2018/07/15
- Re: scratch/fontify-open-string. [Was: CC Mode and electric-pair "problem".], Alan Mackenzie, 2018/07/15
- Indentation of ?: in C-mode (was: scratch/fontify-open-string. [Was: CC Mode and electric-pair "problem".]), Stefan Monnier, 2018/07/15
- Re: Indentation of ?: in C-mode (was: scratch/fontify-open-string. [Was: CC Mode and electric-pair "problem".]), Eli Zaretskii, 2018/07/16
- Re: Indentation of ?: in C-mode, Stefan Monnier, 2018/07/16
Re: scratch/fontify-open-string. [Was: CC Mode and electric-pair "problem".], Alan Mackenzie, 2018/07/15
Re: scratch/fontify-open-string. [Was: CC Mode and electric-pair "problem".], Stephen Leake, 2018/07/16
Re: CC Mode and electric-pair "problem"., Eli Zaretskii, 2018/07/01
Re: CC Mode and electric-pair "problem"., Paul Eggert, 2018/07/01
Re: CC Mode and electric-pair "problem"., Stephen Leake, 2018/07/06