Purpose: When you visit a file, point goes to the last place where it was when you previously visited the same file.
To use it, turn it on in the options menu - “Save place in files between Sessions”.
Alternatively, you could add the following to your InitFile:
(require 'saveplace) (setq-default save-place t)
Note that using
setq will not do because the variable is buffer-local.
Your saved places are written to the file stored in the file specified by
save-place-file. This defaults to
~/.emacs-places. You may want to change it to keep your home directory uncluttered, for example:
(setq save-place-file "~/.emacs.d/saved-places")