[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs coding modes need 'Suspend Disbelief' button
From: |
Jason Vas Dias |
Subject: |
Re: emacs coding modes need 'Suspend Disbelief' button |
Date: |
Wed, 21 Jun 2017 18:38:30 +0000 |
Many thanks for useful responses to those that replied -
to answer some of the questions -
A way to reproduce fairly reliably :
In C++ mode, edit some deeply nested set of parens like:
((argc > 2) && (argv[3]!=NULL) &&
(argv[3][0]=='u'))?U::RTNL::RT::Type_t::RT_UNICAST:(
((argc > 2) && (argv[3]!=NULL) &&
(argv[3][0]=='l'))?U::RTNL::RT::Type_t::RT_LOCAL:(
((argc > 2) && (argv[3]!=NULL) &&
(argv[3][0]=='b'))?U::RTNL::RT::Type_t::RT_BROADCAST:(
((argc > 2) && (argv[3]!=NULL) &&
(argv[3][0]=='a'))?U::RTNL::RT::Type_t::RT_ANYCAST:(
((argc > 2) && (argv[3]!=NULL) &&
(argv[3][0]=='a'))?U::RTNL::RT::Type_t::RT_ANYCAST:(
An attempt to add another clause with Emacs c++-mode enabled
fairly reliably results in a core dump.
But I will try playing around with those settings and see if that helps ...
Thanks,
Jason
On 26/05/2017, Thien-Thi Nguyen <address@hidden> wrote:
>
> () Jason Vas Dias <address@hidden>
> () Fri, 19 May 2017 11:43:53 +0000
>
> But leaving the core dumps aside, continuous syntax checking
> and document re-coloring is just plain annoying, when typing,
> but is nice when reading - I wish I could turn it off & on
> quickly & easily .
>
> Have you explored reducing the intrusiveness of this checking?
> On my (old, slow) system given my (old, slow) typing speed,
> Emacs seems responsive enough w/ only:
>
> (setq jit-lock-context-time 1.5)
>
> I see there are other vars (e.g., ‘jit-lock-contextually’), too.
>
> --
> Thien-Thi Nguyen -----------------------------------------------
> (defun responsep (query)
> (pcase (context query)
> (`(technical ,ml) (correctp ml))
> ...)) 748E A0E8 1CB8 A748 9BFA
> --------------------------------------- 6CE4 6703 2224 4C80 7502
>
- Re: emacs coding modes need 'Suspend Disbelief' button,
Jason Vas Dias <=