SavePlace

Last edit

Summary: proper formatting

Changed:

< 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"

to

> 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".

Changed:

< (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 <code>save-place-file</code>. This defaults to <code>~/.emacs-places</code>. You may want to change it to keep your home directory uncluttered, e.g.
< (setq save-place-file "~/.emacs.d/saved-places")

to

> {{{
> (require 'saveplace)
> (setq-default save-place t)
> }}}
> Note that using <code>setq</code> will not do because the variable is buffer-local.
> Your saved places are written to the file stored in the file specified by <code>save-place-file</code>. This defaults to <code>~/.emacs-places</code>. You may want to change it to keep your home directory uncluttered, for example:
> {{{

> (setq save-place-file "~/.emacs.d/saved-places")
> }}}


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")

SessionManagement CategoryPersistence