[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CC Mode and electric-pair "problem".
From: |
João Távora |
Subject: |
Re: CC Mode and electric-pair "problem". |
Date: |
Tue, 19 Jun 2018 09:16:39 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (darwin) |
Clément Pit-Claudel <address@hidden> writes:
> On 2018-06-18 18:41, Stephen Leake wrote:
>> For what it's worth, I'm planning on adding "new line terminates string"
>> to ada-mode. As Alan says, that is the way the compiler works. I was
>> initially inspired independently, while working on an error-correcting
>> parser, and found it in cc-mode while looking for ways to implement it.
> Sorry for jumping in a bit late. Does that mean that after the
> changed an unclosed quote will only cause refontification up to the
> end of the line? That would be a very nice improvement. I don't use
> electric-pair-mode, and as things currently stand inserting an
Again, see my reply to Stephen. This has very little nothing to do with
electric-pair-mode now. If you use sexp-based navigation,
blink-matching-paren, or show-paren-mode you will see considerable
differences in behaviour.
FWIW I like the non-fontification part, too. But it comes with a hefty
price.
João
- Re: CC Mode and electric-pair "problem"., (continued)
- Fontifying unterminated strings [was: CC Mode and electric-pair "problem".], Alan Mackenzie, 2018/06/26
- Re: Fontifying unterminated strings [was: CC Mode and electric-pair "problem".], João Távora, 2018/06/26
- Re: Fontifying unterminated strings [was: CC Mode and electric-pair "problem".], Stefan Monnier, 2018/06/28
- Re: Fontifying unterminated strings [was: CC Mode and electric-pair "problem".], Stefan Monnier, 2018/06/28
- Re: CC Mode and electric-pair "problem"., Stephen Leake, 2018/06/18
- Re: CC Mode and electric-pair "problem"., João Távora, 2018/06/18
- Re: CC Mode and electric-pair "problem"., Clément Pit-Claudel, 2018/06/18
- Re: CC Mode and electric-pair "problem".,
João Távora <=
- Re: CC Mode and electric-pair "problem"., Alan Mackenzie, 2018/06/19
- Re: CC Mode and electric-pair "problem"., Stefan Monnier, 2018/06/20
- Re: CC Mode and electric-pair "problem"., Alan Mackenzie, 2018/06/26
- Re: CC Mode and electric-pair "problem"., João Távora, 2018/06/27
- Re: CC Mode and electric-pair "problem"., Stefan Monnier, 2018/06/28
- Re: CC Mode and electric-pair "problem"., Alan Mackenzie, 2018/06/30
- Re: CC Mode and electric-pair "problem"., Stefan Monnier, 2018/06/30
- Re: CC Mode and electric-pair "problem"., Alan Mackenzie, 2018/06/27
- Re: CC Mode and electric-pair "problem"., Stefan Monnier, 2018/06/29
- Re: CC Mode and electric-pair "problem"., Alan Mackenzie, 2018/06/30