help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fwd: emacs coding modes need 'Suspend Disbelief' button


From: Robert Thorpe
Subject: Re: Fwd: emacs coding modes need 'Suspend Disbelief' button
Date: Sat, 20 May 2017 08:47:34 +0100

Jason Vas Dias <address@hidden> writes:

> ---------- Forwarded message ----------
> From: Jason Vas Dias <address@hidden>
> Date: Fri, 19 May 2017 11:36:17 +0000
> Subject: Re: emacs coding modes need 'Suspend Disbelief' button
> To: address@hidden
>
> RE:
>> Not a button, but perhaps the start of one: does
>> "M-x fundamental-mode <RET>" 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
> <control>+<single-letter> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]