summaryrefslogtreecommitdiff
path: root/.emacs.d
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d')
-rw-r--r--.emacs.d/init-spw.el19
1 files changed, 10 insertions, 9 deletions
diff --git a/.emacs.d/init-spw.el b/.emacs.d/init-spw.el
index 0a244e38..3751b97e 100644
--- a/.emacs.d/init-spw.el
+++ b/.emacs.d/init-spw.el
@@ -382,16 +382,17 @@ I use by default)."
(setq transient-mark-mode nil
- ;; Disadvantage of this is that re-setting the mark right after popping
- ;; to it, to go and edit somewhere in destination buffer and then come
- ;; back, requires *remembering that* C-u C-u prefix is needed, and if
- ;; popping fewer than four times, it's more keystrokes. I'm not sure
- ;; how distracting it is going to be to have to remember to do that, and
- ;; how often I want to re-set the mark right after popping to it, so
- ;; turning this on experimentally.
+ ;; If this is set to t, then re-setting the mark right after popping to
+ ;; it -- to go and edit somewhere near the destination and then come
+ ;; back, say -- requires remembering that a C-u C-u prefix is needed;
+ ;; that cognitive load outweighs a few extra C-u when this is nil, I
+ ;; think. And the cost of forgetting is high: you've lost the position,
+ ;; and it might take quite a few keypresses to get back there.
;;
- ;; Hmm, with `repeat' easily accessible on C-z, might not need this.
- set-mark-command-repeat-pop t)
+ ;; Further, if you pop fewer than four times and then want to set a
+ ;; mark, that requires no fewer keystrokes with this set to t than with
+ ;; it set to nil. There is also `repeat' to repeatedly pop.
+ set-mark-command-repeat-pop nil)
(defun spw/remap-mark-command (command &optional map)
"Remap a mark-* command to temporarily activate Transient Mark mode."
(let* ((cmd (symbol-name command))