From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: mortenee Newsgroups: gmane.emacs.help Subject: Re: Emacs buffer position per window Date: Tue, 2 Feb 2010 00:41:06 -0800 (PST) Organization: http://groups.google.com Message-ID: <4b5c6128-55b1-4c8e-b97e-fe385cef0c1c@k19g2000yqc.googlegroups.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1265123022 7768 80.91.229.12 (2 Feb 2010 15:03:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Feb 2010 15:03:42 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 02 16:03:40 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NcKHz-0002oN-Pj for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Feb 2010 16:03:40 +0100 Original-Received: from localhost ([127.0.0.1]:37104 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NcKHy-00005O-Sz for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Feb 2010 10:03:38 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!postnews.google.com!k19g2000yqc.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 21 Original-NNTP-Posting-Host: 139.105.48.110 Original-X-Trace: posting.google.com 1265100066 677 127.0.0.1 (2 Feb 2010 08:41:06 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 2 Feb 2010 08:41:06 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: k19g2000yqc.googlegroups.com; posting-host=139.105.48.110; posting-account=xFTk1wkAAAD9Wuj8pbbpMsVbFY4eWvdh User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 (.NET CLR 3.5.30729),gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:176546 X-Mailman-Approved-At: Tue, 02 Feb 2010 10:03:14 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:71620 Archived-At: On Feb 2, 5:38=A0am, Nathaniel Flath wrote: > Is there a way to save the current buffer position on a per-window basis, > instead of just a per-buffer basis? For example, the following will move > point in both windows to the same location > > Split-window > Navigate to same file in both windows > In one window, move to a different location. =A0Then, call describe-funct= ion, > which uses the other window. > Switch to the *help* window and go back to the original location. =A0The = old > point is lost and replaced with the point in the other buffer. > > Is there a way to have the old point location be saved, even if it is not > displayed at the moment? If I understand you correctly winpoint should do what you want. At least it does for my use-cases. http://www.emacswiki.org/emacs/winpoint.el