From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#4041: 23.0.92; Emacs 23: buffer point is no longer frame-local Date: Sat, 17 Sep 2011 09:04:17 +0200 Message-ID: References: <20090805001735.1CC041E844E@localhost> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1316243673 908 80.91.229.12 (17 Sep 2011 07:14:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 17 Sep 2011 07:14:33 +0000 (UTC) Cc: 4041@debbugs.gnu.org To: Steve Yegge Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 17 09:14:29 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R4p6b-0008SK-BX for geb-bug-gnu-emacs@m.gmane.org; Sat, 17 Sep 2011 09:14:29 +0200 Original-Received: from localhost ([::1]:45175 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R4p6V-0001TW-Gb for geb-bug-gnu-emacs@m.gmane.org; Sat, 17 Sep 2011 03:14:23 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:60038) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R4p6Q-0001QO-5b for bug-gnu-emacs@gnu.org; Sat, 17 Sep 2011 03:14:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R4p6N-0003MR-IO for bug-gnu-emacs@gnu.org; Sat, 17 Sep 2011 03:14:18 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35589) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R4p6N-0003MJ-Gh for bug-gnu-emacs@gnu.org; Sat, 17 Sep 2011 03:14:15 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1R4pB1-000113-As; Sat, 17 Sep 2011 03:19:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Magne Ingebrigtsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 17 Sep 2011 07:19:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 4041 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 4041-submit@debbugs.gnu.org id=B4041.13162439083842 (code B ref 4041); Sat, 17 Sep 2011 07:19:03 +0000 Original-Received: (at 4041) by debbugs.gnu.org; 17 Sep 2011 07:18:28 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R4pAO-0000zm-HC for submit@debbugs.gnu.org; Sat, 17 Sep 2011 03:18:27 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R4pAE-0000zD-T3 for 4041@debbugs.gnu.org; Sat, 17 Sep 2011 03:18:20 -0400 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1R4p5U-0004H7-4I; Sat, 17 Sep 2011 09:13:20 +0200 In-Reply-To: <20090805001735.1CC041E844E@localhost> (Steve Yegge's message of "Tue, 4 Aug 2009 17:17:35 -0700 (PDT)") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) X-Now-Playing: Various's _Not Alone (3)_: "Alex Neilson & Richard Youngs - House of Constant Song" X-MailScanner-ID: 1R4p5U-0004H7-4I MailScanner-NULL-Check: 1316848400.37611@Q2SL6UX/PoxTQnBh2kPanA X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 17 Sep 2011 03:19:03 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:51275 Archived-At: Steve Yegge writes: > 1) emacs -q (with non-nil window-system) > 2) find-file /usr/share/dict/words > - any file longer than ~3x the frame height should serve to demonstrate > - in remaining steps I'll call this file buffer BUF > 3) (goto-char (/ (point-max) 2)) > 4) (new-frame) > 5) (other-frame) ; if necessary to put point in new frame > 6) switch to buffer BUF > 7) (goto-char (point-min)) > 8) switch to buffer *scratch* (or any other buffer) > 9) switch to buffer BUF > > Observe that point has returned to (/ (point-max) 2). I can confirm that this behaviour is still present in Emacs 24. And it seems like an unfortunate behaviour. How difficult would it be to stash window-point (I guess) on a per-frame basis? Frame-local variables are being phased out, but it seems like this would be nice to have. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/