From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Seiji Zenitani Newsgroups: gmane.emacs.devel Subject: OS X: raise-frame at reopen event Date: Thu, 09 Aug 2007 15:35:08 -0700 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1186698921 13711 80.91.229.12 (9 Aug 2007 22:35:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 9 Aug 2007 22:35:21 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 10 00:35:19 2007 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.50) id 1IJGb8-0005I3-7I for ged-emacs-devel@m.gmane.org; Fri, 10 Aug 2007 00:35:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IJGb7-0005w1-Op for ged-emacs-devel@m.gmane.org; Thu, 09 Aug 2007 18:35:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IJGb4-0005u8-65 for emacs-devel@gnu.org; Thu, 09 Aug 2007 18:35:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IJGb2-0005ts-2Y for emacs-devel@gnu.org; Thu, 09 Aug 2007 18:35:13 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IJGb1-0005to-Sk for emacs-devel@gnu.org; Thu, 09 Aug 2007 18:35:11 -0400 Original-Received: from smtpout.mac.com ([17.250.248.182]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IJGb1-0007Ra-Gb for emacs-devel@gnu.org; Thu, 09 Aug 2007 18:35:11 -0400 Original-Received: from webmail032 (webmail032-s [10.13.128.32]) by smtpout.mac.com (Xserve/smtpout12/MantshX 4.0) with ESMTP id l79MZ8pV017492 for ; Thu, 9 Aug 2007 15:35:08 -0700 (PDT) X-Originating-IP: 128.183.134.41 Original-Received: from [128.183.134.41] from webmail.mac.com with HTTP; Thu, 09 Aug 2007 15:35:08 -0700 X-Brightmail-Tracker: AAAAAA== X-Brightmail-scanned: yes X-Detected-Kernel: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (1) 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:76287 Archived-At: Hi, On Mac OS X, when the emacs window (frame) is minimized in the Dock, nothing happens when the user click the application icon in the Dock. I modified the following line in lisp/term/mac-win.el (1771st line; EMACS_22_BASE) (define-key mac-apple-event-map [core-event reopen-application] 'ignore) to (define-key mac-apple-event-map [core-event reopen-application] 'raise-frame) and then the minimized window (frame) is brought to the front when I click the application icon in the Dock. I think this is more reasonable behavior on Mac OS X. How about modifying 'ignore to 'raise-frame in mac-win.el? Seiji Zenitani zenitani@mac.com