unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs freezes when editing a file with one extremely long line even with so-long-minor-mode enabled.
Date: Sun, 08 May 2022 08:53:14 +0300	[thread overview]
Message-ID: <83r154woxh.fsf@gnu.org> (raw)
In-Reply-To: <CAGP6POKsHaMQTwPQSdrO-g3d2C1-AZrqbd9i0Bhqh5cVjdo1YA@mail.gmail.com> (message from Hongyi Zhao on Sun, 8 May 2022 13:38:08 +0800)

> From: Hongyi Zhao <hongyi.zhao@gmail.com>
> Date: Sun, 8 May 2022 13:38:08 +0800
> Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
> 
> On Sun, May 8, 2022 at 1:32 PM Eli Zaretskii <eliz@gnu.org> wrote:
> >
> > Did you try setting line-move-visual to nil, in addition to the other
> > measures?
> >
> 
> Tried the following, but doesn't work:
> 
> `M-: (setq line-move-visual nil) RET'
> `M-x so-long-mode RET'

That's not what I suggested.  I suggested this:

  C-x C-f symbols.ts RET
  M-x so-long-minor-mode RET
  M-x toggle-truncate-lines RET
  M-x set-variable RET line-move-visual RET nil RET

And please provide more quantitative description of the effect of the
above settings on Emacs responsiveness.  "Doesn't work" has very low
informational value.  Do you see any effect on cursor motion? does it
get faster? a little bit faster? not faster at all? slower? something
else?

If the above settings don't help to make Emacs even a bit faster,
please describe what exactly are you doing to get Emacs to freeze: are
you moving in that file (and if so, with which commands or keys), are
you editing the file (and if so, with which commands), are you doing
something else?  Because I cannot understand how it is possible that
the above settings have no effect whatsoever on the Emacs
responsiveness, and your responses until now were not detailed enough
to figure that out.



  reply	other threads:[~2022-05-08  5:53 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-06 23:45 Emacs freezes when editing a file with one extremely long line even with so-long-minor-mode enabled Hongyi Zhao
2022-05-07  2:45 ` Emanuel Berg
2022-05-07  7:05   ` Daniel Fleischer
2022-05-07 14:46     ` Emanuel Berg
2022-05-07  6:19 ` Eli Zaretskii
2022-05-07  6:23   ` Hongyi Zhao
2022-05-07  7:09     ` Eli Zaretskii
2022-05-07  7:33       ` Hongyi Zhao
2022-05-07  7:36         ` Hongyi Zhao
2022-05-07  7:43           ` Eli Zaretskii
2022-05-07  8:12             ` Hongyi Zhao
2022-05-07 11:38             ` Leo Butler
2022-05-07 12:15               ` Eli Zaretskii
2022-05-08  3:42               ` Michael Heerdegen
2022-05-07 12:42 ` 황병희
2022-05-07 23:35 ` Michael Heerdegen
2022-05-08  0:10   ` Hongyi Zhao
2022-05-08  0:49     ` Michael Heerdegen
2022-05-08  2:54       ` Hongyi Zhao
2022-05-08  3:31         ` Michael Heerdegen
2022-05-08  3:58           ` Hongyi Zhao
2022-05-08  4:11             ` Michael Heerdegen
2022-05-08  4:18               ` Hongyi Zhao
2022-05-08  4:38                 ` Michael Heerdegen
2022-05-08  4:56                   ` Michael Heerdegen
2022-05-08  5:35                     ` Michael Heerdegen
2022-05-08  5:47                       ` Hongyi Zhao
2022-05-09  4:53                         ` Michael Heerdegen
2022-05-09  6:48                           ` Hongyi Zhao
2022-05-08  5:31     ` Eli Zaretskii
2022-05-08  5:38       ` Hongyi Zhao
2022-05-08  5:53         ` Eli Zaretskii [this message]
2022-05-08  7:29           ` Hongyi Zhao
2022-05-09  4:54             ` Michael Heerdegen
2022-05-09  6:41               ` Hongyi Zhao
2022-05-10  2:07                 ` Michael Heerdegen
2022-05-10  2:26                   ` Hongyi Zhao
2022-05-09  9:48           ` Manuel Giraud
2022-05-11  6:33           ` Michael Heerdegen
2022-05-11  8:21             ` Manuel Giraud
2022-05-11 11:27             ` Eli Zaretskii

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=83r154woxh.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@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.
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).