[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 <jason.vas.dias@gmail.com> writes:
> ---------- Forwarded message ----------
> From: Jason Vas Dias <jason.vas.dias@gmail.com>
> 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 <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
- emacs coding modes need 'Suspend Disbelief' button, Jason Vas Dias, 2017/05/19
- Re: emacs coding modes need 'Suspend Disbelief' button, Óscar Fuentes, 2017/05/19
- Re: emacs coding modes need 'Suspend Disbelief' button, hector, 2017/05/19
- RE: emacs coding modes need 'Suspend Disbelief' button, Drew Adams, 2017/05/19
- Re: emacs coding modes need 'Suspend Disbelief' button, Stefan Monnier, 2017/05/19