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: bug#12139: 24.1; `occur-edit-mode' is completely broken if `pop-up-frames'=t Date: Sun, 5 Aug 2012 23:17:53 -0700 Message-ID: References: <48173DDBBBAE44A5A1C554D35BC9122D@us.oracle.com><87d334r6ua.fsf@gnu.org> <87628wr3m2.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1344233958 3331 80.91.229.3 (6 Aug 2012 06:19:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 6 Aug 2012 06:19:18 +0000 (UTC) Cc: 12139@debbugs.gnu.org To: "'Chong Yidong'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 06 08:19:18 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SyGeo-0007MV-Ui for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Aug 2012 08:19:15 +0200 Original-Received: from localhost ([::1]:41807 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SyGeo-0005xe-7V for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Aug 2012 02:19:14 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39106) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SyGel-0005xY-Tw for bug-gnu-emacs@gnu.org; Mon, 06 Aug 2012 02:19:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SyGek-00014D-Te for bug-gnu-emacs@gnu.org; Mon, 06 Aug 2012 02:19:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55225) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SyGek-000149-Qq for bug-gnu-emacs@gnu.org; Mon, 06 Aug 2012 02:19:10 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SyGmL-0002pd-O2 for bug-gnu-emacs@gnu.org; Mon, 06 Aug 2012 02:27:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 Aug 2012 06:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12139 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12139-submit@debbugs.gnu.org id=B12139.134423436410818 (code B ref 12139); Mon, 06 Aug 2012 06:27:01 +0000 Original-Received: (at 12139) by debbugs.gnu.org; 6 Aug 2012 06:26:04 +0000 Original-Received: from localhost ([127.0.0.1]:36538 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SyGlQ-0002oR-6R for submit@debbugs.gnu.org; Mon, 06 Aug 2012 02:26:04 -0400 Original-Received: from acsinet15.oracle.com ([141.146.126.227]:47092) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SyGlO-0002oK-J0 for 12139@debbugs.gnu.org; Mon, 06 Aug 2012 02:26:03 -0400 Original-Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by acsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q766I8sX002545 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 6 Aug 2012 06:18:09 GMT Original-Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q766I8Au025896 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 6 Aug 2012 06:18:08 GMT Original-Received: from abhmt120.oracle.com (abhmt120.oracle.com [141.146.116.72]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q766I7ZX001481; Mon, 6 Aug 2012 01:18:08 -0500 Original-Received: from dradamslap1 (/10.159.70.99) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 05 Aug 2012 23:18:07 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <87628wr3m2.fsf@gnu.org> Thread-Index: Ac1zlE7r456cYKogT/6eRgH0RYMiLgABpLgg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list 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:62862 Archived-At: > > It's a long-standing issue with display-buffer. The docstring of > > display-buffer says > > > > Display BUFFER-OR-NAME in some window, without selecting it. > > > > But when pop-up-frames is non-nil, display-buffer does > > explicitly select the window, via raising its frame. One could > > argue that this is desirable because the frame that is being > > re-used might be obscured or out of sight, but it interferes > > with Lisp callers which want to display stuff in another window > > without losing focus from the current one (which is the main > > role of display-buffer). > > On reflection, I think this would be a useful application of the new > display action parameter mechanism. So I introduced a new > `inhibit-switch-frame' action alist entry; callers like occur-edit, > which require keeping focus can supply this parameter, can use this to > tell `display-buffer' to avoid stealing focus away to another frame, > even at the expense of obscuring the displayed window. Thanks for the prompt fix. When I get an MS Windows binary I will check whether it takes care of things also when a standalone minibuffer frame is used on Windows. Thx.