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#4293: 23.1; use pop-to-buffer, not switch...other-window, in bookmark.el Date: Wed, 02 Sep 2009 11:58:59 +0200 Message-ID: <4A9E41E3.1000201@gmx.at> References: Reply-To: martin rudalics , 4293@emacsbugs.donarmstrong.com 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: ger.gmane.org 1251886072 18748 80.91.229.12 (2 Sep 2009 10:07:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Sep 2009 10:07:52 +0000 (UTC) To: Drew Adams , 4293@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 02 12:07:45 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MimkG-0008D0-Or for geb-bug-gnu-emacs@m.gmane.org; Wed, 02 Sep 2009 12:07:17 +0200 Original-Received: from localhost ([127.0.0.1]:60129 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MimkG-0000Tb-3j for geb-bug-gnu-emacs@m.gmane.org; Wed, 02 Sep 2009 06:07:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mimk4-0000RN-VU for bug-gnu-emacs@gnu.org; Wed, 02 Sep 2009 06:07:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mimjy-0000PJ-NY for bug-gnu-emacs@gnu.org; Wed, 02 Sep 2009 06:07:03 -0400 Original-Received: from [199.232.76.173] (port=51227 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mimjy-0000PB-I7 for bug-gnu-emacs@gnu.org; Wed, 02 Sep 2009 06:06:58 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:33339) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mimjx-0005Gi-WF for bug-gnu-emacs@gnu.org; Wed, 02 Sep 2009 06:06:58 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n82A6tqe012753; Wed, 2 Sep 2009 03:06:56 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n82A55Q5011975; Wed, 2 Sep 2009 03:05:05 -0700 Resent-Date: Wed, 2 Sep 2009 03:05:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: martin rudalics Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Wed, 02 Sep 2009 10:05:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4293 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4293-submit@emacsbugs.donarmstrong.com id=B4293.125188555410721 (code B ref 4293); Wed, 02 Sep 2009 10:05:04 +0000 Original-Received: (at 4293) by emacsbugs.donarmstrong.com; 2 Sep 2009 09:59:14 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with SMTP id n829xBpD010708 for <4293@emacsbugs.donarmstrong.com>; Wed, 2 Sep 2009 02:59:13 -0700 Original-Received: (qmail invoked by alias); 02 Sep 2009 09:59:05 -0000 Original-Received: from 62-47-58-95.adsl.highway.telekom.at (EHLO [62.47.58.95]) [62.47.58.95] by mail.gmx.net (mp042) with SMTP; 02 Sep 2009 11:59:05 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18UdNcKnN0UUK2waKA2hWzVUyMPYrrhq3VrbR1q4v /Gf16YwfNKmrZC User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: X-Y-GMX-Trusted: 0 X-FuHaFi: 0.74 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Wed, 02 Sep 2009 06:07:03 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:30730 Archived-At: > In bookmark-jump-other-window and bookmark-bmenu-other-window we call > switch-to-buffer-other-window. We should use pop-to-buffer, instead. > > With non-nil pop-up-frames, switch-to-buffer-other-window creates a > new frame each time, even if the destination buffer is already showing > in some frame. pop-to-buffer DTRT: it reuses the existing frame. I'm not sure what the problem is here. `switch-to-buffer-other-window' has a clear purpose - do _not reuse the selected window_ (which is the bookmarks window, IIUC). OTOH `display-buffer-reuse-frames' non-nil should assure that another frame is reused. martin