From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.bugs Subject: bug#3303: delete-frame raises old (invisible) frame Date: Tue, 19 May 2009 09:58:42 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: <2C87549A-2553-4477-BF77-6258A1CC32BE@gmail.com> <6A510E91-6262-44CF-AA62-315DECB52EF6@gmail.com> <90E34251-C034-4169-91FE-22A28C94901F@gmail.com> <73A0DAB1-9D16-4E35-A9F7-E9E4CCEACC50@gmail.com> Reply-To: YAMAMOTO Mitsuharu , 3303@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1242695550 24007 80.91.229.12 (19 May 2009 01:12:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 19 May 2009 01:12:30 +0000 (UTC) Cc: Adrian Robert To: David Reitter , 3303@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 19 03:12:23 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 1M6DsS-0004Vu-5v for geb-bug-gnu-emacs@m.gmane.org; Tue, 19 May 2009 03:12:20 +0200 Original-Received: from localhost ([127.0.0.1]:40939 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M6DsR-0000fJ-CX for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 May 2009 21:12:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M6DsD-0000bF-6O for bug-gnu-emacs@gnu.org; Mon, 18 May 2009 21:12:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M6Ds8-0000VA-F0 for bug-gnu-emacs@gnu.org; Mon, 18 May 2009 21:12:04 -0400 Original-Received: from [199.232.76.173] (port=35686 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M6Ds8-0000Ut-4f for bug-gnu-emacs@gnu.org; Mon, 18 May 2009 21:12:00 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:47686) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M6Ds7-0002ZK-IO for bug-gnu-emacs@gnu.org; Mon, 18 May 2009 21:11:59 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n4J1Buda032012; Mon, 18 May 2009 18:11:57 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n4J156Gb029510; Mon, 18 May 2009 18:05:06 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: YAMAMOTO Mitsuharu Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 19 May 2009 01:05:06 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3303 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3303-submit@emacsbugs.donarmstrong.com id=B3303.124269472927369 (code B ref 3303); Tue, 19 May 2009 01:05:06 +0000 Original-Received: (at 3303) by emacsbugs.donarmstrong.com; 19 May 2009 00:58:49 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mathmail.math.s.chiba-u.ac.jp (mathmail.math.s.chiba-u.ac.jp [133.82.132.2]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n4J0whJV027352 for <3303@emacsbugs.donarmstrong.com>; Mon, 18 May 2009 17:58:44 -0700 Original-Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 942162C40; Tue, 19 May 2009 09:58:42 +0900 (JST) In-Reply-To: User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 =?UTF-8?Q?(Shij=C5=8D)?= APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Mon, 18 May 2009 21:12:04 -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:28001 Archived-At: >>>>> On Mon, 18 May 2009 11:08:39 -0400, David Reitter said: >>>> There is no behavior built into the NS window manager to choose >>>> another application window to be active after the active one has >>>> been removed -- this is left to application code. >>> >>> [ So, nothing gets focus? Keyboard events are just dropped on the >>> floor in such a case? Sounds odd: it should be easy for Apple to >>> provide a sensible default behavior without any negative impact. >>> ] >> >> Yes, KB events only get sent to a focused window, except for menu >> shortcut invocations. It might be that in NSDocument-based apps >> (which Emacs.app isn't, but would be conceptually similar to if 1- >> buffer=1-frame) the NSDocument architecture would autofocus the >> most recently available doc window, but I guess NeXT/Apple decided >> not to make assumptions otherwise about sensible focus-sequencing. > Precisely for this reason is the patch not sufficient. As I mentioned in (*), neither the above consideration about NSDocument-based vs. non-NSDocument-based nor the updated comment in frame.c is correct. *: http://lists.gnu.org/archive/html/bug-gnu-emacs/2009-05/msg00373.html If you don't observe the problems on the Carbon+AppKit port, then it indicates that they can most likely be solved without touching the platform-independent code. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp