From: Jason Vas Dias <jason.vas.dias@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: emacs coding modes need 'Suspend Disbelief' button
Date: Wed, 21 Jun 2017 18:38:30 +0000 [thread overview]
Message-ID: <CALyZvKwrDifpt3APH=L0_Yc91yY7Gh1=UU841Ly_8NepHxrHMg@mail.gmail.com> (raw)
In-Reply-To: <87r2zbzquk.fsf@zigzag>
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 <ttn@gnu.org> wrote:
>
> () Jason Vas Dias <jason.vas.dias@gmail.com>
> () 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
>
next prev parent reply other threads:[~2017-06-21 18:38 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-19 10:54 emacs coding modes need 'Suspend Disbelief' button Jason Vas Dias
2017-05-19 11:20 ` tomas
[not found] ` <CALyZvKzvUBe1-+yTnpK97MA=Dh5q89RmTugG3CJ0bcrbqnd2Eg@mail.gmail.com>
2017-05-19 11:37 ` Fwd: " Jason Vas Dias
2017-05-20 7:47 ` Robert Thorpe
2017-05-19 11:22 ` Eli Zaretskii
2017-05-19 11:43 ` Jason Vas Dias
2017-05-26 13:32 ` Thien-Thi Nguyen
2017-06-21 18:38 ` Jason Vas Dias [this message]
2017-06-23 21:11 ` Stefan Monnier
2017-05-19 11:42 ` Óscar Fuentes
2017-05-19 11:45 ` hector
2017-05-19 13:35 ` Drew Adams
2017-05-19 16:23 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CALyZvKwrDifpt3APH=L0_Yc91yY7Gh1=UU841Ly_8NepHxrHMg@mail.gmail.com' \
--to=jason.vas.dias@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.