From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#4041: 23.0.92; Emacs 23: buffer point is no longer frame-local Date: Sat, 08 Oct 2011 17:34:02 +0200 Message-ID: <83r52nebv9.fsf@gnu.org> References: <20090805001735.1CC041E844E@localhost> <4E745DAE.5040808@gmx.at> <4E8EA522.9090300@gmx.at> <4E8F3040.1060409@gmx.at> <4E904ED1.8090906@gmx.at> <83wrcfefmh.fsf@gnu.org> <4E90659A.5040804@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1318088180 19898 80.91.229.12 (8 Oct 2011 15:36:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 8 Oct 2011 15:36:20 +0000 (UTC) Cc: larsi@gnus.org, stevey@google.com, 4041@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 08 17:36:15 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 1RCYwe-0005I8-4R for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Oct 2011 17:36:12 +0200 Original-Received: from localhost ([::1]:59354 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RCYwd-0000Or-GY for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Oct 2011 11:36:11 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:52604) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RCYwY-0000OR-Gk for bug-gnu-emacs@gnu.org; Sat, 08 Oct 2011 11:36:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RCYwU-00047P-DD for bug-gnu-emacs@gnu.org; Sat, 08 Oct 2011 11:36:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38538) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RCYwU-00047L-Be for bug-gnu-emacs@gnu.org; Sat, 08 Oct 2011 11:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RCYwU-0002Bf-96 for bug-gnu-emacs@gnu.org; Sat, 08 Oct 2011 11:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 08 Oct 2011 15:36:02 +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.13180881458383 (code B ref 4041); Sat, 08 Oct 2011 15:36:02 +0000 Original-Received: (at 4041) by debbugs.gnu.org; 8 Oct 2011 15:35:45 +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 1RCYwC-0002B9-VF for submit@debbugs.gnu.org; Sat, 08 Oct 2011 11:35:45 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RCYw9-0002At-D3 for 4041@debbugs.gnu.org; Sat, 08 Oct 2011 11:35:43 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0LSR00200723UG00@a-mtaout21.012.net.il> for 4041@debbugs.gnu.org; Sat, 08 Oct 2011 17:34:04 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.124.91.138]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LSR002QK78RN0A0@a-mtaout21.012.net.il>; Sat, 08 Oct 2011 17:34:04 +0200 (IST) In-reply-to: <4E90659A.5040804@gmx.at> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 08 Oct 2011 11:36: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:52424 Archived-At: > Date: Sat, 08 Oct 2011 17:00:42 +0200 > From: martin rudalics > CC: stevey@google.com, larsi@gnus.org, 4041@debbugs.gnu.org > > > So I don't think switch-to-next/prev-buffer can be a convenient > > solution to this problem. > > Did you try it in practice? Of course, I did. What makes you think I didn't? > With some convenient binding? How inconvenient can "M-x RET" be? > In my experience, the buffer isn't too far away, usually. Maybe so, but I don't want to waste my time wading through buffers I am not interested in. If I need to see dispextern.h, I want to get there, pronto. > > What is necessary is a way to switch to a buffer by name and have the > > window remember its previous window-point. If the buffer was never > > displayed in this window, "C-x b" should choose some value of > > window-point that was used before and is not already displayed in some > > other window. (If there's a window for every possible value of > > window-point for the buffer, i.e. the user opens yet another window > > with the same buffer, just choose one of the values, e.g., the first > > or the last.) For the important use case of having 2 windows with the > > same buffer, this strategy will do _exactly_ what the user wants. > > Using the window-point from some other window will be utterly > disconcerting if you later want to display the buffer in _that_ other > window. Are you talking about the rare case in parentheses? That's a marginal use case. Let's not destroy convenience in 90% of cases for the sake of 10%. > Recording window-points of deleted windows to implement the "used > before" approach might be expensive - these are markers into that > buffer. So let's record only a few, up to a limit. Again, having a lot of such deleted windows is a rare case. > > Yes, but it works satisfactorily only if you switch between 2 buffers > > in the same window. Switch to a third, and you are screwed. > > Try them. I did, before I responded.