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.help,gmane.emacs.devel Subject: emacs coding modes need 'Suspend Disbelief' button Date: Fri, 19 May 2017 10:54:28 +0000 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1495191306 3044 195.159.176.226 (19 May 2017 10:55:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 19 May 2017 10:55:06 +0000 (UTC) To: emacs-devel@gnu.org, help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 19 12:55:00 2017 Return-path: Envelope-to: geh-help-gnu-emacs@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 1dBfYf-0000Y8-I1 for geh-help-gnu-emacs@m.gmane.org; Fri, 19 May 2017 12:54:57 +0200 Original-Received: from localhost ([::1]:57777 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dBfYk-0003iT-Si for geh-help-gnu-emacs@m.gmane.org; Fri, 19 May 2017 06:55:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40008) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dBfYG-0003iA-Me for help-gnu-emacs@gnu.org; Fri, 19 May 2017 06:54:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dBfYF-0007Yu-QK for help-gnu-emacs@gnu.org; Fri, 19 May 2017 06:54:32 -0400 Original-Received: from mail-vk0-x22d.google.com ([2607:f8b0:400c:c05::22d]:36240) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dBfYD-0007Xd-NY; Fri, 19 May 2017 06:54:29 -0400 Original-Received: by mail-vk0-x22d.google.com with SMTP id p85so9777115vkd.3; Fri, 19 May 2017 03:54:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=dPmnwsZKC8llCWac2ufUXk4x4IsFNHaVp//3XwWOuLI=; b=GnyiZqb9bSzrh3tcC1vKdRqt1mcV9w5DAIB+raygJegAJZOGQ7Vl4tyhkVvA7jPWVn IUuMd2KFyZrJ8TgIEvoCnFTCFdGOozc34ULhdOsXlIvZKhg/GkmyEj31ntiMbB888e/l 6BKi8eb1vcCQuUCR4K2Ok1oVQfPurAJPQqnP5CehqqhDzObIE1IdoOsCiON9ahwiZK5c CVNM4ei0jxpPI3oWVGV05g1jdmkEVw1rxg3mUayyeIKvd1kbUEt9MCFEtMExrGuD6Yuf QcQHK6uz0AuVcjjeQzd8k7GK0/Xk+lyyezySPFr5LMBMT7fVNlVjkL7dOgNy3a4LUHcE Vn6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=dPmnwsZKC8llCWac2ufUXk4x4IsFNHaVp//3XwWOuLI=; b=Yk3O3whcwPOMfPEJQZRuJRiP7mgzG3SlIpx7a2dFEu62TMvZ5/zQ/+yLVmyAI+Z1UA cOn8QUylm/MVvLz1JqkxFJ3U+NNGTvmWl1WgAlyimPl9paYk1GPIy3QAPEbWPhLtRt3u 3QV84T5ydj4YOrQmERMOsCwWHSoKY7xCxE0fQbYIWlYvdXdH0qcM97mgA4ecx8iKjefM fnynGFC4cACGaMs7Efs9QdyIwoFYmUYzzPl+8p7ANdx5yw/tZvHOXfVRtKNq1nluQsqS TVzooWB8bbQLoWQGVxCZbW5IOhSTB03lX53JzF7bBzuE6eyhtlDQTmpAXriPxVRrURam ntog== X-Gm-Message-State: AODbwcB1fxBbsNTxNScYzfjtZHZ3oC2gnQtWPvyMabV//zKvVAfVwTO2 3rqmhMiKOgefBC4u9TYnWp0PYQUOdg== X-Received: by 10.31.162.199 with SMTP id l190mr1525310vke.110.1495191268763; Fri, 19 May 2017 03:54:28 -0700 (PDT) Original-Received: by 10.103.37.134 with HTTP; Fri, 19 May 2017 03:54:28 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400c:c05::22d X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:113064 gmane.emacs.devel:214989 Archived-At: Hi Emacs wizards - I just thought I should let you know, being an emacs user of over 20 years, that I think the fact that it is possible to core-dump emacs by simply adding some text to a shell script is bad , and that I think modern emacs is going too far in continuously syntax-checking and parsing code. In general, when using programming modes such as c-mode / cc-mode / shell-script-mode , I wish, when typing, I could just turn all syntax checking off by clicking on a 'Suspend Disbelief' or 'Syntax Check Off' button / checkbox - then, when I enter '"' or "'", the rest of the text would not be colored - this is really annoying and greatly slows down editing of large files - I don't want the cursor to jump to the previous open bracket, and I want the current indent to be preserved, until I un-check 'Syntax Check' or press 'Syntax Check On' . The insistence of modern emacs on always unconditionally syntax checking everything greatly slows down typing and is a major inhibition to quick editing of large source files . And in some modes, such as shell script mode, and also cc-mode, it is still possible to core-dump Emacs (latest 25.2 version) simply by entering partial source code too slow or too fast , because of this continuous syntax-checking . I have core-dumped emacs several times recently by doing this - one example that works pretty reliably is to start defining a function within a function in shell-script - there is a timing related bug , if you don't enter the opening '{' fast enough, emacs will core-dump . Emacs is regressing back towards 1990s levels of reliability because of its insistence on continuous syntax checking . Is there any way to globally turn off continuous syntax checking for all modes ? If not, I'm going to develop one. Thanks & Regards, Jason