commit 6cb1f6115f46fe5db6f14aaea568b3a34fbd16b4 parent 538e3438e720b55bac3bfeb1355253202447c586 Author: Kévin Le Gouguec <kevin.legouguec@gmail.com> Date: Thu, 20 Dec 2018 17:57:31 +0100 Rephrase itch Whether the region is active or not is irrelevant. Also showcase APIs that could be useful to make mark more visible, although the suggested minor-mode will probably also need to hook into display plumbing. Diffstat:
| M | README.md | | | 2 | +- |
| M | personal/itches.md | | | 12 | ++++++++++-- |
2 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md @@ -1,5 +1,5 @@ # Peniblec's Memory Leaks -## still reachable: 6050 words in 11 pages +## still reachable: 6072 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 @@ -55,8 +55,16 @@ ;; Apply to tar-parse-info in tar-summarize-buffer. ``` -- make mark(s) more visible when region is not active (add a command - or minor mode to highlight them) +- add a command or minor mode to highlight marks; serving suggestion: + + ``` elisp + (save-excursion + (dolist (m mark-ring) + (goto-char (marker-position m)) + (pulse-momentary-highlight-region (point) (point-at-eol)) + (sit-for 0.1))) + ``` + - StackOverflow-like suggestions when reporting bugs