Bookmarks remember the file together with the place of the cursor when the file is bookmarked. But I just want the cursor to start in the beginning of the file when visiting it through bookmarks.

Then how to stop bookmarks from remembering the cursor place?

  • Write a command that temporarily moves the cursor to beginning of buffer and then bookmarks. Or edit the bookmark record after it is created. Or define your own bookmarking command.
    – Drew
    Commented Jan 26, 2017 at 15:03
  • Not sure if it's even possible. maybe something like (add-hook 'bookmark-after-jump-hook #'beginning-of-buffer) does what you want.
    – xuchunyang
    Commented Jan 26, 2017 at 20:55


Your Answer

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

Browse other questions tagged or ask your own question.