From: Tassilo Horn <tassilo@member.fsf.org>
To: help-gnu-emacs@gnu.org
Subject: Re: default point ?
Date: Wed, 29 Feb 2012 21:41:25 +0100 [thread overview]
Message-ID: <87boohz822.fsf@thinkpad.tsdh.de> (raw)
In-Reply-To: 33415554.post@talk.nabble.com
Muhali <muhali@shaw.ca> writes:
> And sometimes I think GNU Emacs caches point and when I re-open the
> file the text cursor is at point where it was when I closed the before
> before...
I think, there's some confusion about files, buffers, and windows in
this thread. But for the case of finding a file anew, i.e., there's no
buffer for that file already, the saveplace library might restore the
last point position if enabled.
,----[ C-h v save-place RET ]
| save-place is a variable defined in `saveplace.el'.
| Its value is t
| Original value was nil
|
| Automatically becomes buffer-local when set in any fashion.
|
| Documentation:
| Non-nil means automatically save place in each file.
| This means when you visit a file, point goes to the last place
| where it was when you previously visited the same file.
| This variable is automatically buffer-local.
|
| If you wish your place in any file to always be automatically saved,
| simply put this in your `~/.emacs' file:
|
| (setq-default save-place t)
| (require 'saveplace)
|
| or else use the Custom facility to set this option.
`----
Bye,
Tassilo
next prev parent reply other threads:[~2012-02-29 20:41 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-29 3:58 default point ? Muhali
2012-02-29 14:32 ` Peter Dyballa
2012-02-29 17:08 ` Muhali
2012-02-29 20:41 ` Tassilo Horn [this message]
2012-03-08 2:19 ` Muhali
2012-03-08 10:13 ` Peter Dyballa
2012-03-08 17:07 ` Muhali
2012-03-08 18:30 ` Peter Dyballa
2012-03-26 23:53 ` Muhali
2012-03-27 8:48 ` Peter Dyballa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87boohz822.fsf@thinkpad.tsdh.de \
--to=tassilo@member.fsf.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.