dengste / minimap

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

Broken with emacs 25..1 #14

Open rreiner opened 7 years ago

rreiner commented 7 years ago

Using '(minimap-major-modes (quote (prog-mode text-mode))) which worked fine in emacs 24.x, minimap is no longer automatically opened in text-mode. minimap still works fine in for example c-mode buffers -- the minimap opens automatically and works correctly.

If I manually run minimap-mode in a buffer that's in text-mode, a minimap appears but it is non-functional -- it does not update on cursor movement or scrolling, does not respond to mouse clicks.

If I set a text buffer to e.g. c-mode, then run minimap-mode, then switch to text-mode, it works correctly.

technician77 commented 6 years ago

Having same issue on GNU Emacs 26.0.91 (build 1, x86_64-w64-mingw32) of 2018-01-22. Thanks for pointing out the c-mode trick. I couldn't get it to show up in any other mode no matter what I did.

Your issue is 1,5 years old. Seems no one cares or this is the wrong place to report bugs for this package.

dengste commented 4 years ago

I cannot reproduce this with Emacs 27.0.91. If I do:

emacs -Q -l minimap.el --eval '(setq minimap-major-modes (quote (prog-mode text-mode)))' -f minimap-mode ~/sometextfile.txt

the minimap is active and works. There's one error message from the update-timer which I'll fix, but it's not critical.