The Complete Computer

Effective Emacs Marking

LifeTechEmacsArcology
emacs-lisp source: 
(provide 'cce/mark)

I'm starting to turn off transient-mark mode and move towards a model of actually treating the Mark as more than just a selection tool, and towards treating it as a navigation tool. After disabling transient-mark, I found that the only way to make it useful is to use visible-mark-mode which will re-establish the locations of my marks, along with mark-tools which is exposed in my Emacs "Launcher" Hydra .

emacs-lisp source: visible-mark
(use-package visible-mark :config (setq visible-mark-max 3) (setq visible-mark-faces '(visible-mark-active visible-mark-face1 visible-mark-face2))) (defun rrix/disable-transient-mark () (transient-mark-mode -1) (visible-mark-mode)) (add-hook 'text-mode-hook 'rrix/disable-transient-mark) (add-hook 'prog-mode-hook 'rrix/disable-transient-mark) (use-package mark-tools)