From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: Make raise-frame work on Cygwin Date: Thu, 17 May 2012 14:37:30 +0200 Message-ID: <4FB4F10A.7020401@gmx.at> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1337258251 647 80.91.229.3 (17 May 2012 12:37:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 17 May 2012 12:37:31 +0000 (UTC) Cc: emacs-devel@gnu.org To: Katsumi Yamaoka Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 17 14:37:30 2012 Return-path: Envelope-to: ged-emacs-devel@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 1SUzxO-0006dB-V5 for ged-emacs-devel@m.gmane.org; Thu, 17 May 2012 14:37:27 +0200 Original-Received: from localhost ([::1]:59992 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SUzxO-0007s9-CQ for ged-emacs-devel@m.gmane.org; Thu, 17 May 2012 08:37:26 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58787) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SUzxI-0007aw-3r for emacs-devel@gnu.org; Thu, 17 May 2012 08:37:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SUzxC-0005Xb-1b for emacs-devel@gnu.org; Thu, 17 May 2012 08:37:19 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.23]:57057) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1SUzxB-0005XF-N9 for emacs-devel@gnu.org; Thu, 17 May 2012 08:37:13 -0400 Original-Received: (qmail invoked by alias); 17 May 2012 12:37:11 -0000 Original-Received: from 62-47-35-195.adsl.highway.telekom.at (EHLO [62.47.35.195]) [62.47.35.195] by mail.gmx.net (mp031) with SMTP; 17 May 2012 14:37:11 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+CVwF4guqCCxQnCwPPaCyQafC17oxdWSxvrPWtrK QSoWKuXLVlMJXc In-Reply-To: X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 213.165.64.23 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:150546 Archived-At: > (defadvice raise-frame (before make-it-work (&optional frame) activate) > "Make it work on Cygwin." > (when (and frame (cdr (frame-list))) I suppose you want to check here whether another frame but the selected one exists. What if all other frames are invisible? > (make-frame-invisible frame))) > > This works with `select-frame-set-input-focus'. martin