dengste / minimap

Sidebar showing a "mini-map" of a buffer
168 stars 14 forks source link

Minimap impedes switching between buffers with `C-x o` #18

Closed stradicat closed 5 years ago

stradicat commented 5 years ago

When splitting windows with C-x 1 or C-x 2 and opening 2 different buffers (a major-mode and a minor-mode, e.g. inferior Python console), minimap won't allow going back to a buffer with a major-mode + minimap: After doing C-x o, Emacs briefly switches from the minor-modeto the major-mode buffer for a second, minimap appears for a fraction of a second, then Emacs bounces back to the previous minor-mode buffer.

Expected: C-x o will switch focus from a minor-mode to a major-mode buffer.

This was reported by user makeMonday on StackEchange, but it happens to other users, including me.

Workaround: M-x customize group minimap, then modifying the 3rd option from top to bottom, "Minimap Automatically Delete Window: [Toggle] off".

This makes C-x o between visible buffers possible again, but it allows switching to the dedicated minimap buffer as well, which is pointless. A minor, tolerable quirk in comparison to the original problem.

This has been happening since Emacs 25. I'm currently using Emacs 26.