-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Description
I confirm that...
-
I searched the issue tracker and found no similar issues.
-
I searched the documentation, FAQ, discussion board, and Google for solutions to my issue.
-
I read the debugging guide and researched the issue to the best of my ability.
-
My issue can be observed on the latest available commit of Doom.
-
My issue can be observed on a stable release of Emacs (i.e. doesn't end in
.50,.60, or.90–.99)
Describe your issue
Issue: the interactive command outline-up-heading from Outline mode does not properly work with evil's jump list (so Ctrl+O will not return to previous position).
Other navigation commands in Emacs that move significant distances typically call push-mark with the proper integration, or packages like Evil add advice to capture these jumps.
My current solution, where I am using Doom Emacs :
;; Fix outline-up-heading to save jump points for C-o/C-i
(defadvice! my/outline-up-heading-save-jump (orig-fn &rest args)
:around #'outline-up-heading
(better-jumper-set-jump)
(apply orig-fn args))Steps to reproduce
- Open doom config file (emacs lisp mode).
- Create a headings line for outline-minor-mode, such as
;;; example heading - Use
M-x outline-up-headingto jump to that heading - evil mode jumplist (C-o / C-i) does not remember previous position before jumping