From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.help Subject: Re: default point ? Date: Wed, 29 Feb 2012 21:41:25 +0100 Message-ID: <87boohz822.fsf@thinkpad.tsdh.de> References: <33411563.post@talk.nabble.com> <1B76FFBB-DD3F-4595-90B6-5798F64CAE8B@Web.DE> <33415554.post@talk.nabble.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1330548110 27956 80.91.229.3 (29 Feb 2012 20:41:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 29 Feb 2012 20:41:50 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 29 21:41:50 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S2qLO-0003fc-32 for geh-help-gnu-emacs@m.gmane.org; Wed, 29 Feb 2012 21:41:50 +0100 Original-Received: from localhost ([::1]:48798 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S2qLN-0003iJ-EE for geh-help-gnu-emacs@m.gmane.org; Wed, 29 Feb 2012 15:41:49 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:42631) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S2qLH-0003hn-88 for help-gnu-emacs@gnu.org; Wed, 29 Feb 2012 15:41:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S2qLF-00055q-DP for help-gnu-emacs@gnu.org; Wed, 29 Feb 2012 15:41:42 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:40928) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S2qLF-00055G-6z for help-gnu-emacs@gnu.org; Wed, 29 Feb 2012 15:41:41 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1S2qLA-0003Wb-AW for help-gnu-emacs@gnu.org; Wed, 29 Feb 2012 21:41:36 +0100 Original-Received: from 91-67-11-43-dynip.superkabel.de ([91.67.11.43]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Feb 2012 21:41:36 +0100 Original-Received: from tassilo by 91-67-11-43-dynip.superkabel.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Feb 2012 21:41:36 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 35 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 91-67-11-43-dynip.superkabel.de User-Agent: Gnus/5.130004 (Ma Gnus v0.4) Emacs/24.0.93 (gnu/linux) Cancel-Lock: sha1:7rpc8tXV5ETyEI7bhilxQuhsXGo= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:83909 Archived-At: Muhali 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