all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* emacs coding modes need 'Suspend Disbelief' button
@ 2017-05-19 10:54 Jason Vas Dias
  2017-05-19 11:20 ` tomas
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: Jason Vas Dias @ 2017-05-19 10:54 UTC (permalink / raw)
  To: emacs-devel, help-gnu-emacs

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



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2017-06-23 21:11 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-19 10:54 emacs coding modes need 'Suspend Disbelief' button Jason Vas Dias
2017-05-19 11:20 ` tomas
     [not found]   ` <CALyZvKzvUBe1-+yTnpK97MA=Dh5q89RmTugG3CJ0bcrbqnd2Eg@mail.gmail.com>
2017-05-19 11:37     ` Fwd: " Jason Vas Dias
2017-05-20  7:47       ` Robert Thorpe
2017-05-19 11:22 ` Eli Zaretskii
2017-05-19 11:43   ` Jason Vas Dias
2017-05-26 13:32     ` Thien-Thi Nguyen
2017-06-21 18:38       ` Jason Vas Dias
2017-06-23 21:11         ` Stefan Monnier
2017-05-19 11:42 ` Óscar Fuentes
2017-05-19 11:45 ` hector
2017-05-19 13:35 ` Drew Adams
2017-05-19 16:23 ` Stefan Monnier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.