From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nathaniel Flath Newsgroups: gmane.emacs.help Subject: Emacs buffer position per window Date: Mon, 1 Feb 2010 23:38:46 -0500 Message-ID: <5e3a506e1002012038q31480d7cq76112bd13cf30947@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=000e0cd295ae6752e7047e96ad82 X-Trace: ger.gmane.org 1265085558 10671 80.91.229.12 (2 Feb 2010 04:39:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Feb 2010 04:39:18 +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 05:39:16 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 1NcAXj-0003DN-Gw for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Feb 2010 05:39:15 +0100 Original-Received: from localhost ([127.0.0.1]:53817 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NcAXi-0003Va-P0 for geh-help-gnu-emacs@m.gmane.org; Mon, 01 Feb 2010 23:39:14 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NcAXJ-0003Ul-86 for help-gnu-emacs@gnu.org; Mon, 01 Feb 2010 23:38:49 -0500 Original-Received: from [199.232.76.173] (port=35236 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NcAXI-0003US-Sz for help-gnu-emacs@gnu.org; Mon, 01 Feb 2010 23:38:48 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NcAXI-0000V6-7h for help-gnu-emacs@gnu.org; Mon, 01 Feb 2010 23:38:48 -0500 Original-Received: from mail-px0-f192.google.com ([209.85.216.192]:35252) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NcAXH-0000Uk-SK for help-gnu-emacs@gnu.org; Mon, 01 Feb 2010 23:38:48 -0500 Original-Received: by pxi30 with SMTP id 30so4698297pxi.14 for ; Mon, 01 Feb 2010 20:38:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=wiztWjUlq+ZTgCGL/Ysnj2c1oqKI3QVRjdXQw8JOA8Q=; b=i2jyw8c+uJur9DiZ0kaRL/OCb7bZfSih7cFJaUXt/3qES8Gfi/dcYfbil9CshN7h4/ 6gU+AkRWR5Kx66fcWCv41S6CADeYInpLEqKPKoDRB5NN9ZMRAyMRPAyEWUtYPAmK6Lw2 Pt4xnyQW4O4MqiUbNqrP292Bebtz7gQDxYVbo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=vlG9fIME47zY3v54bMvDbQ8eeEooNbWg0mZvP5vImaGJMyMrKVy1vXr3xUo16Gvuye Wth6dVEyEZFPJ337bAsnpPS2XBqIBoOI5ohE7UxVFWqvq5bkq9PGE9ZrTyn8gUe7Pckm BJFoJ8VxruTVNplErl6EjZxqOZkBcfUVmaC3M= Original-Received: by 10.140.88.31 with SMTP id l31mr3837321rvb.32.1265085526266; Mon, 01 Feb 2010 20:38:46 -0800 (PST) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:71615 Archived-At: --000e0cd295ae6752e7047e96ad82 Content-Type: text/plain; charset=ISO-8859-1 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. Then, call describe-function, which uses the other window. Switch to the *help* window and go back to the original location. The 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? --000e0cd295ae6752e7047e96ad82 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Is there a way to save the current buffer position on a per-window basis, i= nstead of just a per-buffer basis? For example, the following will move poi= nt in both windows to the same location

Split-window
Navigate to = same file in both windows
In one window, move to a different location.=A0 Then, call describe-functio= n, which uses the other window.
Switch to the *help* window and go back = to the original location.=A0 The old point is lost and replaced with the po= int in the other buffer.

Is there a way to have the old point location be saved, even if it is n= ot displayed at the moment?
--000e0cd295ae6752e7047e96ad82--