help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs freezes when editing a file with one extremely long line even


From: Michael Heerdegen
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 07:35:36 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Michael Heerdegen <michael_heerdegen@web.de> writes:

> I suggest to try M-: (require 'longlines) RET M-x longlines-mode RET.

Please try with these settings:

  (setq-default so-long-target-modes t)
  (setq-default so-long-action 'longlines-mode)
  (setq-default longlines-show-hard-newlines t)
  (global-so-long-mode +1)

That should make opening and editing your file work ok out of the box.
All newlines not explicitly indicated (most of them) are "virtual" and
not included when saving.

Michael.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]