I am doing a search backwards in the text in emacs, then I move the point around and do a modification or copy, but then can I return to the point of the search before or do I still have to search for text around that spot?
Best,
Try
M-x pop-to-mark-command
And you can also get that functionality by C-u SPC or C-u C-@ (i.e. using a prefix argument with the set-mark-command
).
For more information on the mark ring, read about the mark ring. There is also a global mark ring, which is basically a list of marks across buffers, which you can navigate via C-x C-SPC.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With