summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2018-12-21 12:12:19 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2018-12-21 12:13:02 +0100
commit0f8d865678036878ec21e598ab3eaef61bc50745 (patch)
treefa4e54496a667d6898fe95bec4ef6bfb813602f5
parent25c9c5deffe1d095a7521b13ece3d76b4390a400 (diff)
downloadmemory-leaks-0f8d865678036878ec21e598ab3eaef61bc50745.tar.xz
Add itch (with patch) on page-break-lines
I'd send the pull-request right away, but the Internet connection is so bad in this bakery I can't even clone the repository.
-rw-r--r--README.md2
-rw-r--r--personal/itches.md13
2 files changed, 14 insertions, 1 deletions
diff --git a/README.md b/README.md
index b88b684..b37ac7b 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
# Peniblec's Memory Leaks
-## still reachable: 6143 words in 11 pages
+## still reachable: 6196 words in 11 pages
Hi! I am a software engineer interested in [a bunch of things].
diff --git a/personal/itches.md b/personal/itches.md
index 9725c99..22cfed3 100644
--- a/personal/itches.md
+++ b/personal/itches.md
@@ -398,6 +398,19 @@ Full disclosure
### page-break-lines
- borked in magit-diff
+- cannot turn off when major-mode is derived from one of
+ page-break-lines-modes; pull-request pending:
+
+ ``` diff
+ @@ -138,7 +138,7 @@
+ (new-display-entry (vconcat (make-list width glyph))))
+ (unless (equal new-display-entry (elt buffer-display-table ?\^L))
+ (aset buffer-display-table ?\^L new-display-entry)))))
+ - (when (and (member major-mode page-break-lines-modes)
+ + (when (and (apply 'derived-mode-p page-break-lines-modes)
+ buffer-display-table)
+ (aset buffer-display-table ?\^L nil))))))
+ ```
### diff-hl