From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Jason Vas Dias Newsgroups: gmane.emacs.devel Subject: Re: emacs coding modes need 'Suspend Disbelief' button Date: Wed, 21 Jun 2017 18:38:30 +0000 Message-ID: References: <83shk12is5.fsf@gnu.org> <87r2zbzquk.fsf@zigzag> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1498070321 4147 195.159.176.226 (21 Jun 2017 18:38:41 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 21 Jun 2017 18:38:41 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 21 20:38:36 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dNkWR-0000kO-DP for ged-emacs-devel@m.gmane.org; Wed, 21 Jun 2017 20:38:35 +0200 Original-Received: from localhost ([::1]:55497 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dNkWW-0006Kd-Es for ged-emacs-devel@m.gmane.org; Wed, 21 Jun 2017 14:38:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39197) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dNkWQ-0006JF-CB for emacs-devel@gnu.org; Wed, 21 Jun 2017 14:38:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dNkWP-00059Y-KS for emacs-devel@gnu.org; Wed, 21 Jun 2017 14:38:34 -0400 Original-Received: from mail-ua0-x232.google.com ([2607:f8b0:400c:c08::232]:33383) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dNkWP-000596-Ei for emacs-devel@gnu.org; Wed, 21 Jun 2017 14:38:33 -0400 Original-Received: by mail-ua0-x232.google.com with SMTP id 70so56669741uau.0 for ; Wed, 21 Jun 2017 11:38:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-transfer-encoding; bh=XEiLo17jy+Mz79woErI5pINdpqCfMpiRf0Ma1aRwP9A=; b=pNvFrZZwLinwaJ9v7Il9WqHPTxk9RixFWoX+JG68Fj8Nq9w6868LmsTh92ubzAD3io rUze9mSUDB/tFGRwSOyDtly6seAF3XJdKiRcmUx7dAKpynB1RzGEZ9w+aEWqd7R7/Gja BXaUE9Q3kjVBOZnIFQn8VrnvU4e7RQgUHEhsDLcLKOKws281qEywcS6LvCR37Pwoz9g0 I+JLj8qPfeIszyxlXyi053nu7hsnWesn5erezXuIP0SduHP8BUvoO58x6uhDqU6rBJOx tAMUmX0bnV+1WRZ/e+DMGnwjmnvdDntCeUbK8+mU/JeE/1m7mBeqdQtFcktbkJYOH8v1 eNdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-transfer-encoding; bh=XEiLo17jy+Mz79woErI5pINdpqCfMpiRf0Ma1aRwP9A=; b=uAcpmRFOLiTeYv1W27Gv60JzOs4rwiJv2oqVFo8MoG6BCDB5vd9PKe4H0qjVnNFSj0 NvzNk/pnw/6uwyQ44kXNHuAHtge29LE+qukhQJSXGl81Z0yIphgMSdmJsCWLopBlfLLm 4u6qIgcenqb8rqIwX/voEeskqd8vmZAIfRqi5ud93ILBdUn/Swrmd0Emf8wFlgxHMlRA lOEwe3yZmKes0IELb/vfA2eBMAJiiO/rd5IBPrd4s8WU0nBjk0XKoMJmbx8WbsujyOmK RqbA42xbV47JZsLbIvu3EFtWx853ajC35CvlDbOuzOLrj51TdH2TVJKMMBzs7aypPzzS xiXw== X-Gm-Message-State: AKS2vOzxrDN+rynjx9hgKMnn48omvmhV0AcseQCZ3TtPgTPrE+RCSRA7 rrfp7hrOJoYubS7Rl7x6cwHTZ7QA/Q== X-Received: by 10.176.95.8 with SMTP id p8mr16487331uah.73.1498070311116; Wed, 21 Jun 2017 11:38:31 -0700 (PDT) Original-Received: by 10.103.35.1 with HTTP; Wed, 21 Jun 2017 11:38:30 -0700 (PDT) In-Reply-To: <87r2zbzquk.fsf@zigzag> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400c:c08::232 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:215870 Archived-At: 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]!=3DNULL) && (argv[3][0]=3D=3D'u'))?U::RTNL::RT::Type_t::RT_UNICAST:( ((argc > 2) && (argv[3]!=3DNULL) && (argv[3][0]=3D=3D'l'))?U::RTNL::RT::Type_t::RT_LOCAL:( ((argc > 2) && (argv[3]!=3DNULL) && (argv[3][0]=3D=3D'b'))?U::RTNL::RT::Type_t::RT_BROADCAST:( ((argc > 2) && (argv[3]!=3DNULL) && (argv[3][0]=3D=3D'a'))?U::RTNL::RT::Type_t::RT_ANYCAST:( ((argc > 2) && (argv[3]!=3DNULL) && (argv[3][0]=3D=3D'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 wrote: > > () Jason Vas Dias > () 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., =E2=80=98jit-lock-contextually=E2=80=99= ), too. > > -- > Thien-Thi Nguyen ----------------------------------------------- > (defun responsep (query) > (pcase (context query) > (`(technical ,ml) (correctp ml)) > ...)) 748E A0E8 1CB8 A748 9BFA > --------------------------------------- 6CE4 6703 2224 4C80 7502 >