From 6cb1f6115f46fe5db6f14aaea568b3a34fbd16b4 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Thu, 20 Dec 2018 17:57:31 +0100 Subject: 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. --- personal/itches.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'personal') diff --git a/personal/itches.md b/personal/itches.md index 97d3043..d755b72 100644 --- 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 -- cgit v1.2.3