ggtags icon indicating copy to clipboard operation
ggtags copied to clipboard

xref-pop-marker-stack doesn't return to previous location

Open mecklen2022 opened this issue 2 years ago • 1 comments

I'm running ggtags.el 0.9.0 on emacs 27.1 on jammy jellyfish xubuntu.

I use M-. to find a symbol and then try to return to my previous location with M-, xref-pop-marker-stack and get the response "Marker stack is empty". If instead I try M-. followed by C-x C-space pop-global-mark, I'm taken to some random buffer (it is usually a dired buffer for me). I would expect both of these to return me to the buffer and location where I entered M-. Thank you!

mecklen2022 avatar May 27 '22 15:05 mecklen2022

Hi @mecklen2022,

mark and marker are two different things and xref or ggtags works with the latter. Could you try to see if you can reproduce bug with Emacs -q?

Leo

leoliu avatar May 28 '22 16:05 leoliu