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.

  • Not a direct answer, but there are packages like goto-chg that allow you to jump back to the points in the buffer where an edit was made. (This works off undo information rather than modifying the mark ring.)
    – glucas
    Commented Aug 22, 2016 at 14:35
  • Thanks for the info. goto-chg looks good. It would be even better if we can use helm/ivy on top of it. I searched for "helm-chg", but I could not find any interesting result. Please let me know if you know any similar packages. Thanks!
    – AhLeung
    Commented Aug 22, 2016 at 23:12

1 Answer 1


There's a built-in package hilit-chg which tracks and highlights the changes applied to a buffer. I disable its highlight and but just use as a change-tracker.

The mode automatically put text-properties to mark the modified regions of a buffer, so I implement an anything (precedent of helm) source for myself, that collects the regions marked by hilit-chg.


I'm not familiar with helm, but I expect helm can also do something similar.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.