From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: RE: switch-to-buffer-other-frame fails to pop-up window Date: Fri, 7 Dec 2007 09:18:46 -0800 Message-ID: References: <47597732.6010608@diamondbackcap.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1197048202 10729 80.91.229.12 (7 Dec 2007 17:23:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Dec 2007 17:23:22 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: "Mark T. Kennedy" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 07 18:23:32 2007 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 1J0gvD-0002OE-Ki for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 Dec 2007 18:23:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J0guw-0001f3-Hd for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 Dec 2007 12:23:14 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J0grk-0007t1-Ff for bug-gnu-emacs@gnu.org; Fri, 07 Dec 2007 12:19:56 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J0gri-0007rw-IN for bug-gnu-emacs@gnu.org; Fri, 07 Dec 2007 12:19:55 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J0gri-0007rs-Ao for bug-gnu-emacs@gnu.org; Fri, 07 Dec 2007 12:19:54 -0500 Original-Received: from agminet01.oracle.com ([141.146.126.228]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1J0grh-00013Z-TR for bug-gnu-emacs@gnu.org; Fri, 07 Dec 2007 12:19:54 -0500 Original-Received: from agmgw1.us.oracle.com (agmgw1.us.oracle.com [152.68.180.212]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id lB7HJmmO019947; Fri, 7 Dec 2007 11:19:48 -0600 Original-Received: from rcsmt251.oracle.com (rcsmt251.oracle.com [148.87.90.196]) by agmgw1.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id lB7HJRbO003571; Fri, 7 Dec 2007 10:19:47 -0700 Original-Received: from dhcp-amer-whq-csvpn-gw3-141-144-82-35.vpn.oracle.com by acsmt351.oracle.com with ESMTP id 3413216341197047918; Fri, 07 Dec 2007 09:18:38 -0800 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <47597732.6010608@diamondbackcap.com> Importance: Normal 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-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:17144 Archived-At: > > There are thus different use cases and preferences. > > do you think it is worth while to catalog the styles of use? as > a prelude to finding a way to better support them? I wouldn't try, but that's sort of what happens anyway, little by little. When someone such as Martin tries to fix a reported bug, he tries to understand the reported use case and accomodate it appropriately. > i want a separate help buffer per frame without having to > rename it by hand. i tried to do that by hooking help-mode.el's > "help-buffer" function (which computes the appropriate help buffer > name) but i could not get it to discover the containing frame object. > > by the time 'help-buffer' was called, the magic minibuffer > implementation arranged for the magic minibuffer frame (not a > dedicated minibuffer frame like the one you use but probably a magic > one to allow sharing of the minibuffer across different real buffer > frames) to be the 'selected-frame'. > > you can see this by doing "M-: (selected-frame)' after a fresh "emacs > -Q" and then repeating after popping up a second frame. once you've > popped up a second frame, '(selected-frame)' under "M-:" always > returns the magic minibuffer frame (which i think is a bug). No, if I understand you correctly, that is normal. During `M-:', the minibuffer must have the input focus, so its frame is selected.