From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Robert Thorpe Newsgroups: gmane.emacs.help,gmane.emacs.devel Subject: Re: Fwd: emacs coding modes need 'Suspend Disbelief' button Date: Sat, 20 May 2017 08:47:34 +0100 Message-ID: <87vaow3r6x.fsf@robertthorpeconsulting.com> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1495266499 25832 195.159.176.226 (20 May 2017 07:48:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 20 May 2017 07:48:19 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, emacs-devel@gnu.org To: Jason Vas Dias Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat May 20 09:48:15 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 1dBz7V-0006Zb-Gq for geh-help-gnu-emacs@m.gmane.org; Sat, 20 May 2017 09:48:13 +0200 Original-Received: from localhost ([::1]:33280 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dBz7a-0006dT-PG for geh-help-gnu-emacs@m.gmane.org; Sat, 20 May 2017 03:48:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58221) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dBz6z-0006dF-VT for help-gnu-emacs@gnu.org; Sat, 20 May 2017 03:47:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dBz6w-00081T-UZ for help-gnu-emacs@gnu.org; Sat, 20 May 2017 03:47:42 -0400 Original-Received: from outbound-smtp04.blacknight.com ([81.17.249.35]:50969) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dBz6w-0007z6-OV for help-gnu-emacs@gnu.org; Sat, 20 May 2017 03:47:38 -0400 Original-Received: from mail.blacknight.com (pemlinmail01.blacknight.ie [81.17.254.10]) by outbound-smtp04.blacknight.com (Postfix) with ESMTPS id C84B898E44 for ; Sat, 20 May 2017 07:47:35 +0000 (UTC) Original-Received: (qmail 5538 invoked from network); 20 May 2017 07:47:35 -0000 Original-Received: from unknown (HELO RTLaptop) (rt@robertthorpeconsulting.com@[93.40.160.110]) by 81.17.254.9 with ESMTPSA (AES128-SHA encrypted, authenticated); 20 May 2017 07:47:35 -0000 In-Reply-To: (message from Jason Vas Dias on Fri, 19 May 2017 11:37:55 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x [fuzzy] X-Received-From: 81.17.249.35 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:113082 gmane.emacs.devel:215006 Archived-At: Jason Vas Dias writes: > ---------- Forwarded message ---------- > From: Jason Vas Dias > Date: Fri, 19 May 2017 11:36:17 +0000 > Subject: Re: emacs coding modes need 'Suspend Disbelief' button > To: tomas@tuxteam.de > > RE: >> Not a button, but perhaps the start of one: does >> "M-x fundamental-mode " float your boat? > > No, sorry, I don't want to re-color the whole document or load another mode > or type anything long - that would be too clumsy. > I want a tiny checkbox in the tool bar, or a right-click menu option , or a > + keystroke, meaning > 'freeze current indent & coloring, suspend syntax checking here' , > and then unchecking / pressing keystroke again resumes syntax > checking from the point where you disabled it. > Sorry for not making this clear. > Thanks for your response. I think font-lock-mode is what you want. Something like this: (global-set-key (kbd "C-1") 'font-lock-mode) As others have pointed out, it is probably a misconfigured build and/or a bug. BR, Robert Thorpe