summaryrefslogtreecommitdiff
path: root/personal/itches.md
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2018-12-20 17:57:31 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2018-12-20 17:58:08 +0100
commit6cb1f6115f46fe5db6f14aaea568b3a34fbd16b4 (patch)
treedc93240fd5a2c3e0b82976d2b8c73ab682192bcf /personal/itches.md
parent538e3438e720b55bac3bfeb1355253202447c586 (diff)
downloadmemory-leaks-6cb1f6115f46fe5db6f14aaea568b3a34fbd16b4.tar.xz
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 (limited to 'personal/itches.md')
-rw-r--r--personal/itches.md12
1 files changed, 10 insertions, 2 deletions
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