reddit / emacs
new package: demap - detachable minimap
sawyergardner · 2022-03-10 06:26
[https://gitlab.com/sawyerjgardner/demap.el](https://gitlab.com/sawyerjgardner/demap.el)
lets you make minimaps in there own buffers that can be detached or moved. I made this so I could have a minimap in a separate frame then the one I'm editing in.
Qwarctick · 2022-03-10 08:12
Got an error when I tried to see screenshots: `Error Fetching Resource `
mC_mC_mC_ · 2022-03-10 09:19
Looks great, thanks for the work. Trying to use it I've encountered a few problems though. When calling `helm-M-x` and `helm-buffers-list`, while a minimap is opened, the minimap buffer is taken over by helm. [Here's a few screenshots](https://imgur.com/a/TFKJRBW). Something like `magit-status` and `undo-tree-visualize` both work all right, so maybe there is a helm incompatibility?
edit: typo
sawyergardner · 2022-03-10 09:31
I was able to see them on all my devices, I'm unsure what could be causing that error.
sawyergardner · 2022-03-10 09:37
That's interesting, I think I might know why this is happening. I'll get to fixing it as soon as I can.
edit: this problem should be fixed now.
Jack-o-tall-tales · 2022-03-10 09:54
I'm seeing the same error. I'm on stock firefox.
EDIT: But, if I browse to the README file (as in, click on in it in the code browser at the top, rather than viewing it on the frontpage) the screenshots show up in the table as they're meant to. Weird.
jumpUpHigh · 2022-03-10 10:25
So is this like the feature in some IDEs and editors (like sublime) where they show an extremely zoomed-out preview of the entire file to show where in the file you are editing?
sawyergardner · 2022-03-10 10:32
Exactly
josior · 2022-03-10 11:29
Does it highlight add/removed/modified lines in files tracked by Git? This is a feature that I miss on Emacs that helped to find changes in a file just by looking at the minimap (coming from VSCode/Sublime).
sawyergardner · 2022-03-10 11:40
currently no. It's on my to-do list, that and highlighting errors. From what I've tested so far, it shouldn't be too hard to implement.
Qwarctick · 2022-03-10 14:40
It works randomly on my computer but not at all on my phone. Don't know why. Does not really matter
Qwarctick · 2022-03-10 14:41
Oh yes you are true. It does not work on the frontpage but after clicking on readme file yes !
Danrobi1 · 2022-03-10 15:24
Very nice. Thanks for sharing.
ReneFroger · 2022-03-10 19:30
Nice feature, I added it to https://emacs.zeef.com/