all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#45085: Have so-long mode fire-sprinkler system always ready for M-x compile, M-x shell
@ 2020-12-06 13:12 積丹尼 Dan Jacobson
  2020-12-09 11:02 ` Phil Sainty
  0 siblings, 1 reply; 4+ messages in thread
From: 積丹尼 Dan Jacobson @ 2020-12-06 13:12 UTC (permalink / raw)
  To: 45085

so-long mode is great, when opening files.
But what about the case
(compile "perl -wle 'print 8 x 888888888;'")?
That's going to produce a buffer with a really long line.
So so-long mode should jump in to the rescue.

And what about M-x shell?
If we do
$ perl -wle 'print 8 x 888888888;'
there, so-long mode should somehow 'detect there is something wrong on
the fourth floor of building H, and send in security guards to the
rescue' too.

$ grep so-long .emacs
(global-so-long-mode 1)
is what I am using here in emacs-version "27.1"

>>>> Norbert N. Nerblesome says:
> Just do M-x so-long in the buffer you are uncomfortable with, and you
> will see
> "Changed to so-long-mode (from compilation-mode).  C-c C-c to revert."
> So what's the big deal?

The big deal is, we, sadly might never have the opportunity to type
those "last words and testament," as emacs might already have gotten
locked up. Therefore one hopes the problem could be detected for us and
so-long mode activated automatically:

"Buffer has sprouted long lines. so-long mode activated to prevent emacs jamming itself."





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

end of thread, other threads:[~2021-10-23 10:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-06 13:12 bug#45085: Have so-long mode fire-sprinkler system always ready for M-x compile, M-x shell 積丹尼 Dan Jacobson
2020-12-09 11:02 ` Phil Sainty
2020-12-09 12:51   ` 積丹尼 Dan Jacobson
2021-10-23 10:35   ` Stefan Kangas

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.