From 0f8d865678036878ec21e598ab3eaef61bc50745 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Fri, 21 Dec 2018 12:12:19 +0100 Subject: 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. --- README.md | 2 +- personal/itches.md | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3