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
Emacs version: GNU Emacs 29.4 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.41, cairo version 1.18.0)
Operating System: Arch Linux
Evil version: 1.15.0
Evil installation type: Guix package manager
Graphical/Terminal: X
Tested in a make emacs session (see CONTRIBUTING.md): Yes
Reproduction steps
Start Emacs
open fileA
open fileB
make a global-mark mM
kill the buffer of fileB
'M (now from fileA)
This works as expected and takes to fileB after confirming with y
C-x C-f fileA
'M Will navigate to the position in fileA
Expected behavior
Because M is a global mark it should always navigate to the same place.
Actual behavior
When killing and reopening buffers like this, it opens in the wrong buffer.
Further notes
Value of evil-markers-alist is as follows (CONTRIBUTING.md is equal to fileB in my reproduction steps)
Issue type
Environment
Emacs version: GNU Emacs 29.4 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.41, cairo version 1.18.0)
Operating System: Arch Linux
Evil version: 1.15.0
Evil installation type: Guix package manager
Graphical/Terminal: X
Tested in a
make emacs
session (see CONTRIBUTING.md): YesReproduction steps
mM
Expected behavior
Because M is a global mark it should always navigate to the same place.
Actual behavior
When killing and reopening buffers like this, it opens in the wrong buffer.
Further notes
Value of evil-markers-alist is as follows (CONTRIBUTING.md is equal to fileB in my reproduction steps)
((77 "/home/popska/sfs/proj/evil/CONTRIBUTING.md" . 225)
(40 . evil-backward-sentence-begin)
(41 . evil-forward-sentence-begin)
(123 . evil-backward-paragraph)
(125 . evil-forward-paragraph)
(39 . evil-jump-backward-swap)
(96 . evil-jump-backward-swap)
(60 . evil-visual-beginning)
(62 . evil-visual-goto-end)
(46 lambda nil
(let
(last-command)
(goto-last-change nil))))
`M navigates me to position 225 in the current buffer instead of CONTRIBUTING.md
The text was updated successfully, but these errors were encountered: