From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel Subject: Re: Frame ordering Date: Mon, 14 Jun 2010 16:35:22 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: <8F18E079-3351-4398-B76B-6CF9169ACE9E@gmail.com> <4C123889.5060801@gmx.at> <597D28BE-ABE3-4FFF-84B1-1FBF9931293C@gmail.com> <4C126EA5.1050509@gmx.at> <4DF4317D-522E-4948-9C19-ED1252BF36B2@gmail.com> <4C133EDF.8070407@gmx.at> <77C00490-801D-47B9-83BC-32D786F1F684@gmail.com> <1F24A2FE-EF86-4E03-84CF-69748A482C64@gmail.com> <4C15D150.6040006@gmx.at> 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: dough.gmane.org 1276500940 5730 80.91.229.12 (14 Jun 2010 07:35:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 14 Jun 2010 07:35:40 +0000 (UTC) Cc: David Reitter , Stefan Monnier , Emacs-Devel devel To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 14 09:35:37 2010 connect(): No such file or directory 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.69) (envelope-from ) id 1OO4Cl-0003TU-Ee for ged-emacs-devel@m.gmane.org; Mon, 14 Jun 2010 09:35:35 +0200 Original-Received: from localhost ([127.0.0.1]:53774 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OO4Ck-0005qj-Sv for ged-emacs-devel@m.gmane.org; Mon, 14 Jun 2010 03:35:34 -0400 Original-Received: from [140.186.70.92] (port=51550 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OO4Ce-0005pL-8B for emacs-devel@gnu.org; Mon, 14 Jun 2010 03:35:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OO4Cc-00055j-S3 for emacs-devel@gnu.org; Mon, 14 Jun 2010 03:35:28 -0400 Original-Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]:51598) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OO4Cc-00054t-CG for emacs-devel@gnu.org; Mon, 14 Jun 2010 03:35:26 -0400 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 42650C0557; Mon, 14 Jun 2010 16:35:22 +0900 (JST) In-Reply-To: <4C15D150.6040006@gmx.at> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-detected-operating-system: by eggs.gnu.org: NetBSD 3.0 (DF) 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:125893 Archived-At: >>>>> On Mon, 14 Jun 2010 08:50:56 +0200, martin rudalics said: >> We usually don't need to specify the next focus window (in >> window-system terminology) that is to be selected when a window is >> closed. The window system or the window manager automatically move >> the focus according to its policy (e.g., the frontmost window, >> which may belong to another application). This also applies to >> Cocoa AppKit. > IIUC David only talks about the foremost _Emacs_ "window" that shall > get attention here. At least Cocoa AppKit selects the foremost one just as we expect, without the necessity of specifying the window that shall be shown. That's the behavior of Emacs 22 Carbon+AppKit port and Emacs 23 Mac port. As far as I tested, many X11 window managers also behave like this. Only the NS port doesn't for some reason. Given such situations, I'd think we should avoid touching the platform-independent part (unless we have such a rather unusual requirement like below). > So _if_ we want to specify which other frame shall be shown when a > frame gets deleted, we also should be able to communicate that to > the window managers in some way. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp