unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Devon Sean McCullough <Emacs-hacker2018@jovi.net>
To: rms@gnu.org
Cc: 44818@debbugs.gnu.org
Subject: bug#44818: 27.0.91; wedged
Date: Tue, 1 Dec 2020 06:32:25 -0500	[thread overview]
Message-ID: <41b4f57f-790b-5a1e-3728-785eff87cfa8@jovi.net> (raw)
In-Reply-To: <E1kiWUi-0006CM-KC@fencepost.gnu.org>

On 27/11/2020 00:40, Richard Stallman wrote:
> 
>    > Will "so long" catch spammed shells?
> 
> Could you explain the problem you're worried about?
> What is the scenario?

REPL & shell output sometimes wedge redisplay
when lines are very long, same as with files.

		Peace
			--Devon

P.S.  Redisplay should never take > 50 ms.
Perhaps it would have completed in 51 ms
but usually it takes minutes, hours,
days or weeks to complete, running
at 100% CPU with fans roaring.

Rather than set a fifty millisecond timer,
maybe users should be allowed to ^G quit
into a degraded state.  The only other
choice is to force kill the editor
and hope for auto save files.

P.P.S.  When Emacs becomes unresponsive,
i.e., user input is ignored for a while,
could some helpful options be offered,
e.g., redisplay-friendly overlays?

P.P.P.S.  I instrumented a typical scenario.  Emacs went dead
for only 5.6 minutes with point at EoB but when at the middle
of the file, it was unresponsively burning CPU for an hour or
so until I got tired of the fan noise and force-quit the app:
     emacs-version "27.1"
	For information about GNU Emacs and the GNU system, type C-h C-a.
	2841.861010 ms to evaluate (insert-file-contents-literally file)
	0.010967 ms to evaluate (goto-char (point-max)) => 248867275
	0.025988 ms to evaluate (switch-to-buffer buffer)
	336605.978966 ms to evaluate (redisplay 1) => t
	0.002861 ms to evaluate (backward-char) => nil
	0.086069 ms to evaluate (redisplay 2) => t
	0.002861 ms to evaluate (backward-char) => nil
	0.063896 ms to evaluate (redisplay 3) => t
⋮





  reply	other threads:[~2020-12-01 11:32 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-23  1:04 bug#44809: One very long line of <中文> XML tags puts emacs out of business 積丹尼 Dan Jacobson
2020-11-24  7:05 ` Lars Ingebrigtsen
2020-11-27 19:43   ` bug#44809: Warn that current file needs so-long mode 積丹尼 Dan Jacobson
     [not found]     ` <handler.s.C.160651363628407.transcript@debbugs.gnu.org>
2020-11-23  5:07       ` bug#44818: 27.0.91; wedged Devon Sean McCullough
2020-11-23 15:51         ` Eli Zaretskii
2020-11-24  7:04           ` Lars Ingebrigtsen
2020-11-24 15:39             ` Eli Zaretskii
2020-11-25  6:57               ` Lars Ingebrigtsen
2020-11-25 15:37                 ` Eli Zaretskii
2020-11-24 18:42           ` Devon Sean McCullough
2020-11-24 18:48             ` Eli Zaretskii
2020-11-25  1:35               ` Devon Sean McCullough
2020-11-25  8:34                 ` Andreas Schwab
2020-11-25 14:47                   ` Devon Sean McCullough
2020-11-25 15:06                 ` Eli Zaretskii
2020-11-26 17:06                   ` Devon Sean McCullough
2020-11-27  5:40                     ` Richard Stallman
2020-12-01 11:32                       ` Devon Sean McCullough [this message]
2020-12-02  4:32                         ` Richard Stallman
2020-12-02 15:00                           ` Eli Zaretskii
2020-12-03  5:29                             ` Richard Stallman
2020-12-03 14:53                               ` Eli Zaretskii
2020-12-04  6:01                                 ` Richard Stallman
2020-12-04  8:36                                   ` Eli Zaretskii
2020-11-27  8:20                     ` Michael Albinus
2020-11-27 22:26         ` bug#44818: Looks like I retitled both bugs 積丹尼 Dan Jacobson
2020-11-29  9:50     ` bug#44809: Warn that current file needs so-long mode Lars Ingebrigtsen
2022-07-23  8:56 ` bug#44818: Say "Consider switching so-long mode on" when detecting long line files Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41b4f57f-790b-5a1e-3728-785eff87cfa8@jovi.net \
    --to=emacs-hacker2018@jovi.net \
    --cc=44818@debbugs.gnu.org \
    --cc=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).