You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Follow these steps and the bookmark will lose track of the correct line number to jump to:
Create a new file with 4 lines
Put a bookmark on lines 1 and 3
With the cursor at the beginning of line 3, insert a newline
Call bm-next and bm-previous to see that the second bookmark is now on the unmarked line. Also, notice that wrapping doesn't work with bm-next. It only works with bm-previous.
The text was updated successfully, but these errors were encountered:
The marker stored on the overlay is not updated when inserting a newline at the start of a bookmark. Bug in Emacs?
This resulted in jumping to a position just outside (the line above) the bookmark. The bug is only visible when "bm-goto-position" is true and the bookmark was created standing in column 0.
The solution was to only jump to positions when it is between the overlay start and end.
Follow these steps and the bookmark will lose track of the correct line number to jump to:
The text was updated successfully, but these errors were encountered: