From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#4041: 23.0.92; Emacs 23: buffer point is no longer frame-local Date: Wed, 12 Oct 2011 08:52:38 +0200 Message-ID: <4E953936.3020006@gmx.at> References: <20090805001735.1CC041E844E@localhost> <4E745DAE.5040808@gmx.at> <4E8EA522.9090300@gmx.at> <4E8F3040.1060409@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1318402430 5292 80.91.229.12 (12 Oct 2011 06:53:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 12 Oct 2011 06:53:50 +0000 (UTC) Cc: Lars Magne Ingebrigtsen , 4041@debbugs.gnu.org To: Steve Yegge Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 12 08:53:45 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 1RDshF-00042Q-97 for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Oct 2011 08:53:45 +0200 Original-Received: from localhost ([::1]:53108 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDshE-0006U4-Ut for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Oct 2011 02:53:44 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:55188) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDshC-0006Ts-Sc for bug-gnu-emacs@gnu.org; Wed, 12 Oct 2011 02:53:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RDshB-00008L-Hs for bug-gnu-emacs@gnu.org; Wed, 12 Oct 2011 02:53:42 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54361) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDshB-00008H-G5 for bug-gnu-emacs@gnu.org; Wed, 12 Oct 2011 02:53:41 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RDshW-0007dm-1c for bug-gnu-emacs@gnu.org; Wed, 12 Oct 2011 02:54:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Oct 2011 06:54:01 +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.131840239329273 (code B ref 4041); Wed, 12 Oct 2011 06:54:01 +0000 Original-Received: (at 4041) by debbugs.gnu.org; 12 Oct 2011 06:53:13 +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 1RDsgg-0007c2-7m for submit@debbugs.gnu.org; Wed, 12 Oct 2011 02:53:13 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.22]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1RDsgc-0007bW-S6 for 4041@debbugs.gnu.org; Wed, 12 Oct 2011 02:53:08 -0400 Original-Received: (qmail invoked by alias); 12 Oct 2011 06:52:39 -0000 Original-Received: from 62-47-62-98.adsl.highway.telekom.at (EHLO [62.47.62.98]) [62.47.62.98] by mail.gmx.net (mp064) with SMTP; 12 Oct 2011 08:52:39 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX19kJClIwv9kPOjJ3/L5RZjobJ7ibxIxh3AlJ+idQg /3HBQV8mlAZyij User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 12 Oct 2011 02:54:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:52565 Archived-At: > In particular, if you are switching to a buffer that is already showing in > another window, it currently takes you to to a location in that buffer that > can best be described as "arbitrary". I was generously assuming that it was > some deterministic function of how the buffer is already being displayed in > other windows, but Martin claims that no, it just shows you "somewhere" in > the buffer, wherever that window-point happens to be. It's certainly not > semantically meaningful to the contents of the buffer. I never claimed that it just shows you "somewhere" in the buffer, wherever that window-point happens to be Such a sentence doesn't make sense. To clarify: If `switch-to-buffer' shows a buffer in a new window or in a window that showed another buffer before, it takes you to the position of `point' of the buffer you switch to. This is not an arbitrary position. > My proposal -- which people sound like they agree with, and Leo has even > implemented as an add-on -- takes the default behavior from arbitrary to not > only predictable but in fact useful. The only way anyone would even notice > that you've changed something is if they were somehow relying on the > arbitrary default behavior, but as we've determined that it's not especially > predictable, I don't see how anyone could have been relying on it. If we're > really worried about it, we can make a compatibility variable. If you can specify a behavior that is predictable I'll be all ears. Meanwhile I invite you to test the function I attached in my answer to your earlier post, maybe together with the change I posted later in a response to Eli, and tell me why the one or the other does not do what you proposed. martin