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 12:30:51 +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> 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 1276486268 3127 80.91.229.12 (14 Jun 2010 03:31:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 14 Jun 2010 03:31:08 +0000 (UTC) Cc: martin rudalics , Stefan Monnier , Emacs-Devel devel To: David Reitter Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 14 05:31:06 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 1OO0O9-0003h4-54 for ged-emacs-devel@m.gmane.org; Mon, 14 Jun 2010 05:31:05 +0200 Original-Received: from localhost ([127.0.0.1]:52549 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OO0O8-000349-IS for ged-emacs-devel@m.gmane.org; Sun, 13 Jun 2010 23:31:04 -0400 Original-Received: from [140.186.70.92] (port=46346 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OO0O2-000344-Tm for emacs-devel@gnu.org; Sun, 13 Jun 2010 23:30:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OO0O0-0002tm-Ja for emacs-devel@gnu.org; Sun, 13 Jun 2010 23:30:58 -0400 Original-Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]:51919) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OO0O0-0002tU-2e for emacs-devel@gnu.org; Sun, 13 Jun 2010 23:30:56 -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 B24E1C0557; Mon, 14 Jun 2010 12:30:51 +0900 (JST) In-Reply-To: <1F24A2FE-EF86-4E03-84CF-69748A482C64@gmail.com> 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:125888 Archived-At: >>>>> On Sun, 13 Jun 2010 22:42:40 -0400, David Reitter said: > On Jun 13, 2010, at 8:30 PM, Stefan Monnier wrote: >>> Should Vframe_list not be updated in the event loop? >> >> Why not update it in Fselect_frame, and obey the `norecord' >> argument? > Tried that - doesn't catch clicks into the frame by the user. > However, I got the code below to work at the end of do_switch_frame. > I think this would be a substantial, and good change to the way > frames are ordered. Are you OK with this? Did you confirm that the original problem was not specific to the NS port? 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. http://lists.gnu.org/archive/html/bug-gnu-emacs/2009-05/msg00373.html http://lists.gnu.org/archive/html/bug-gnu-emacs/2009-05/msg00413.html YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp