Bookmarks are somewhat like registers in that they record positions you can jump to. Unlike registers, they have long names, and they persist automatically from one Emacs session to the next. The prototypical use of bookmarks is to record “where you were reading” in various files.

−

−

== Command about Bookmarks ==

−

−

*C-x r m <RET> Set the bookmark for the visited file, at point.

−

*C-x r m bookmark <RET> Set the bookmark named bookmark at point (bookmark-set).

*M-x bookmark-save Save all the current bookmark values in the default bookmark file.

−

−

== Changing the default bookmarks-file ==

−

By default, bookmarks are saved to the file <tt>~/.emacs.bmk</tt>, outside of your <tt>~/.emacs.d</tt> directory. To change this to another file, set the variable <tt>bookmark-default-file</tt> to what you like: