From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: RE: display-buffer-other-frame - useful? doc string? Date: Mon, 10 Mar 2008 09:19:40 -0800 Message-ID: <001601c882d2$ecc11900$c2b22382@us.oracle.com> References: <002401c8820f$7d6042c0$0600a8c0@us.oracle.com> <002d01c88231$c6120fe0$0600a8c0@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1205169964 21894 80.91.229.12 (10 Mar 2008 17:26:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Mar 2008 17:26:04 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, monnier@iro.umontreal.ca To: Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 10 18:26:32 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JYllU-0007CW-9X for ged-emacs-devel@m.gmane.org; Mon, 10 Mar 2008 18:26:20 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JYlkv-00069R-T9 for ged-emacs-devel@m.gmane.org; Mon, 10 Mar 2008 13:25:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JYlfQ-0000a9-50 for emacs-devel@gnu.org; Mon, 10 Mar 2008 13:20:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JYlfO-0000XH-Cr for emacs-devel@gnu.org; Mon, 10 Mar 2008 13:20:03 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JYlfO-0000X5-2U for emacs-devel@gnu.org; Mon, 10 Mar 2008 13:20:02 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JYlfN-0003Ij-VU for emacs-devel@gnu.org; Mon, 10 Mar 2008 13:20:02 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JYlfN-0007Tl-Kg for emacs-pretest-bug@gnu.org; Mon, 10 Mar 2008 13:20:01 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JYlfK-0003HS-K8 for emacs-pretest-bug@gnu.org; Mon, 10 Mar 2008 13:20:01 -0400 Original-Received: from rgminet01.oracle.com ([148.87.113.118]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JYlfF-0003FJ-VF; Mon, 10 Mar 2008 13:19:54 -0400 Original-Received: from agmgw2.us.oracle.com (agmgw2.us.oracle.com [152.68.180.213]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id m2AHJpbW032707; Mon, 10 Mar 2008 11:19:51 -0600 Original-Received: from acsmt350.oracle.com (acsmt350.oracle.com [141.146.40.150]) by agmgw2.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m2AF1ubF020382; Mon, 10 Mar 2008 11:19:50 -0600 Original-Received: from inet-141-146-46-1.oracle.com by acsmt351.oracle.com with ESMTP id 3606679311205169588; Mon, 10 Mar 2008 10:19:48 -0700 Original-Received: from dradamslap1 (/130.35.178.194) by bhmail.oracle.com (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 10 Mar 2008 10:19:47 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AciC0og1u17xU1vIT7+6ulQICNIargAADnOA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:92073 gmane.emacs.pretest.bugs:21516 Archived-At: > I agree with everything you said. However, I don't see > that such a command would be very useful. Maybe the best > thing to do is to remove it altogether > > It exists just for the sake of symmetry of the command set, > since this is the natural thing for C-x 5 C-o to do. > If having it is painful, we can get rid of it. I proposed this fix. I think it DTRT. (defun display-buffer-other-frame (buffer) "Show BUFFER in another frame, but don't select it. See documentation of `display-buffer' for more information." (interactive "BDisplay buffer in other frame: ") (let ((win (selected-window))) (switch-to-buffer-other-frame buffer) (select-window win) (select-frame-set-input-focus (window-frame win))))