Skip to main content

Questions tagged [mark-ring]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
49 votes
12 answers
9k views

How to switch back and forth between two locations in a buffer

Sometimes I find myself frequently alternating between two functions that I am editing in conjunction with each other. In these situations, it is tedious and painful to keep on doing a C-s <...
Vedaad Shakib's user avatar
43 votes
6 answers
7k views

Effectively using the mark ring

I have used the mark to select regions of a buffer. For example, I know the sequence C-<space> C-s foo can be used to select all text between the current point and the point after a search for ...
Patrick Steele's user avatar
8 votes
3 answers
2k views

How do I view the mark ring?

Is there a command to view the entries in the mark ring, similar to listing buffers with C-x C-b or viewing the kill ring with the function browse-kill-ring or viewing the jump list (in info mode) ...
extremeaxe5's user avatar
2 votes
1 answer
273 views

pop-mark not working as expected

I have some sample code like this: (defun some-function () (interactive) (push-mark) (goto-char (point-min)) ; do some stuff (pop-mark)) Now I'm expecting pop-mark to get me back to the ...
Sibi's user avatar
  • 3,813
0 votes
1 answer
297 views

How to automatically set marks on all of the edited lines?

I would like to automatically set marks on all of the edited lines so that I can go back to any of my previous edited lines using helm-mark-ring.
AhLeung's user avatar
  • 1,113