New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Marks in fringe stop working properly #1
Comments
Thanks for reporting this issue! The reason the second mark (b) does not replace the first (a) seems to lie within how Emacs determines which fringe overlays to display if two are set for the same line. Basically, the bitmap it displays is the one assigned an overlay at an earlier point in the file; thus, marks placed closer to the beginning of each line (say, on the “1” in your example) will always be displayed over marks toward the end of the line (on the “3”). If two overlays are placed at the same point, however, it seems to be indeterminate which one is displayed. I can see how the current behaviour is confusing; I’ll add an option to always overwrite the bitmap in the fringe, regardless of line position or which mark was placed first. @choltz, does that sound good to you? |
Sounds good to me. Thank you! |
Sorry for the late response; I've been on vacation for a week. This issue should be fixed in fdb147d; could you update your installation of this package and see if it conforms to your expectations? (If you installed from MELPA, it may take a few hours to update.) I added a boolean configuration value |
Thank you for taking the time to look into this. I'm still seeing the same issue. When I complete the test case described above, the buffer looks like this:
To ensure I had the correct copy of evil-fringe-mark, I cloned this repo and referenced it in my .emacs startup, instead of relying on melpa. To be thorough, I also explicitly set |
While implementing a solution to Issue #3, I changed the behaviour such that Here's a demo of it working on my machine: (Also, please ensure that the package installed from MELPA is completely removed from your |
I plugged in the develop branch and it worked great. And it remembers the first mark if I move the second mark to a new line. Good stuff. |
Great! I've merged the |
Repro steps (Emacs 26.1)
Expected Results:
The buffer should look like this:
Actual Results:
The buffer looks like this:
The text was updated successfully, but these errors were encountered: