all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Very long lines in shell-mode
@ 2006-12-06 17:44 Romain Francoise
  2006-12-06 18:10 ` Stefan Monnier
  0 siblings, 1 reply; 5+ messages in thread
From: Romain Francoise @ 2006-12-06 17:44 UTC (permalink / raw)


We recently fixed a similar issue in sgml-mode so we might want to have
a look at this one, it's been around for ever: very very long lines in
shell-mode cause Emacs to slow down considerably, eating CPU constantly.

For example, try:

  emacs -Q -f shell
  perl -e 'print "a" x 2000000; print "\n"'

This is probably due to the font-lock keywords set up by shell mode.
Unfortunately, they probably can't be anchored properly.  (And they're
very useful, so we can't just get rid of them...)

(This is not a regression compared to Emacs 21.)

-- 
Romain Francoise <romain@orebokech.com> | The sea! the sea! the open
it's a miracle -- http://orebokech.com/ | sea! The blue, the fresh, the
                                        | ever free! --Bryan W. Procter

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

end of thread, other threads:[~2006-12-08  5:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-06 17:44 Very long lines in shell-mode Romain Francoise
2006-12-06 18:10 ` Stefan Monnier
2006-12-07  4:59   ` Richard Stallman
2006-12-07  9:23     ` Kim F. Storm
2006-12-08  5:04       ` Richard Stallman

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.