Bug#785508: trading speed against correctness

2015-06-02 Thread Benno Schulenberg
On Tue, Jun 2, 2015, at 10:14, Alexandre Detiste wrote: > I had to "sudo rm /usr/share/nano/python.nanorc" on several computer > to get work done... > > I feel that reverting to 2.2 behaviour for now > (matching starting """ as a start of block only if it's not followed > directly by a new-line)

Bug#785508: trading speed against correctness

2015-06-02 Thread Alexandre Detiste
I had to "sudo rm /usr/share/nano/python.nanorc" on several computer to get work done... I feel that reverting to 2.2 behaviour for now (matching starting """ as a start of block only if it's not followed directly by a new-line) would be better than letting this as-is until a correct/optimal solut

Bug#785508: trading speed against correctness

2015-05-28 Thread Benno Schulenberg
So... what do others think about this tradeoff? Should the patch be applied so that syntax colouring is always recalculated and correct upon every single key stroke? Or is that too much of a cost? Or should we make the recalculation conditional? For example, up to ten thousand lines always reca