[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/logview c06cdb2094 167/259: Document Logview vs. locked na
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/logview c06cdb2094 167/259: Document Logview vs. locked narrowing in Emacs 29. |
Date: |
Fri, 31 Jan 2025 07:02:08 -0500 (EST) |
branch: elpa/logview
commit c06cdb2094ecfc844a3e826796453305418dcfa4
Author: Paul Pogonyshev <pogonyshev@gmail.com>
Commit: Paul Pogonyshev <pogonyshev@gmail.com>
Document Logview vs. locked narrowing in Emacs 29.
---
README.adoc | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/README.adoc b/README.adoc
index 728aba022e..46764d4b12 100644
--- a/README.adoc
+++ b/README.adoc
@@ -514,3 +514,36 @@ changed in each individual buffer.
* Append log file tail to the buffer: `x`
* Revert the buffer preserving active filters: `X`
* Universal prefix commands are bound without modifiers: `u`, `-`, `0`..`9`
+
+
+== Locked narrowing in Emacs 29
+
+Emacs 29 (in development) has introduced locked narrowing as a way to
+improve performance. At the same time, it broke compatibility by
+making function `widen` not always do what packages would expect from
+it. This caused Logview, in particular, fail unpredictably, up to
+causing a full freeze in Emacs (where even `C-g` does nothing) from
+its fontification code.
+
+Locked narrowing restrictions currently cannot be lifted. It is
+extremely difficult to adapt Logview to `widen` not widening as it has
+always does. Therefore, Logview currently tries to _disable long-line
+optimizations in its buffers_. I don’t know if it will always succeed
+or not; if it does not, Logview will now fail hard before causing more
+problems.
+
+If you experience problems with Logview still not being able to
+disable long-line optimization and, therefore, not working at all, you
+can add the following to your Emacs initialization code:
+
+ (setf long-line-threshold nil)
+
+Note that this will disable long-line optimization *everywhere*,
+though. It’s up to you to decide whether that is more important than
+having Logview or not; as said, this is an emergency setting only,
+_probably_ Logview should work regardless.
+
+I have tried arguing with Emacs developers about this, but that is
+pointless, as I have found on this and several other occasions. The
+only positive thing I got from it is that locked narrowing will become
+liftable in fontification code at least. Somewhen.
- [nongnu] elpa/logview 6a45a35863 113/259: Bump version because of an important performance improvement., (continued)
- [nongnu] elpa/logview 6a45a35863 113/259: Bump version because of an important performance improvement., ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview ac3ebed204 135/259: Merge pull request #37 from wiltshi/master, ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview 77bb7963e3 129/259: Fix after the latest merge: tweak the new tests to be byte-compilable without warnings (required since using Eldev)., ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview 50ef9dcb42 137/259: Switch over to GitHub workflows, I'm fed up with Travis., ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview d442857cf7 138/259: Update copyright years., ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview 2dcc176778 141/259: Experimentally try to guess buffer submode using first `logview-guess-lines' (defaults to 10), not just one (issue #40)., ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview b2068d5014 162/259: Bump version because of several new features., ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview eb1695fc75 166/259: Update file `Eldev' to enable automated releasing., ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview 96d621056d 175/259: Use `relint' during continuous integration., ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview e19ddc55ee 173/259: Update commit 0a1b3a8 for the new wonderful developments in Emacs., ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview c06cdb2094 167/259: Document Logview vs. locked narrowing in Emacs 29.,
ELPA Syncer <=
- [nongnu] elpa/logview feac382315 187/259: The holy search for The Perfect Name continues., ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview ff1e9bd194 190/259: Post-release version bump., ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview ae54a3f4d8 192/259: Release logview 0.16.4, ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview 1f7c9da092 206/259: Mention recent changes in documentation as appropriate., ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview a0f0ad3e01 208/259: Release logview 0.17, ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview daaa89e969 215/259: Release logview 0.17.1, ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview d1798be8f1 231/259: Release logview 0.17.3, ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview 16e2d20906 198/259: Experimentally also test on macOS and Windows., ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview 42ecd7d1b0 239/259: Make `logview-revert-buffer` cancel narrowing if the new contents seems to be completely different, e.g. after log rotation., ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview a0eab50b55 067/259: Fix commit 92e305f converting error about missing 'logview.views' to a warning on Emacs 24 and 25 rather than silencing it completely; fixes #14., ELPA Syncer, 2025/01/31