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: Emacs Mac port Date: Tue, 18 Sep 2012 18:37:17 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: NNTP-Posting-Host: plane.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 1347961057 28272 80.91.229.3 (18 Sep 2012 09:37:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Sep 2012 09:37:37 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 18 11:37:41 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 1TDuFR-0005PD-3U for ged-emacs-devel@m.gmane.org; Tue, 18 Sep 2012 11:37:41 +0200 Original-Received: from localhost ([::1]:55835 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDuFM-0006uF-Ql for ged-emacs-devel@m.gmane.org; Tue, 18 Sep 2012 05:37:36 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57512) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDuFF-0006qa-Dn for emacs-devel@gnu.org; Tue, 18 Sep 2012 05:37:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TDuFA-0001nM-Tg for emacs-devel@gnu.org; Tue, 18 Sep 2012 05:37:29 -0400 Original-Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]:55212) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDuFA-0001mp-BT for emacs-devel@gnu.org; Tue, 18 Sep 2012 05:37:24 -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 2BBD4C055D for ; Tue, 18 Sep 2012 18:37:17 +0900 (JST) In-Reply-To: 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-Received-From: 133.82.132.2 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:153375 Archived-At: >>>>> On Mon, 27 Aug 2012 16:40:10 +0900, YAMAMOTO Mitsuharu said: > The second update of Emacs 24 Mac port 3.x is available from > ftp://ftp.math.s.chiba-u.ac.jp/emacs/emacs-24.2-mac-3.2.tar.gz > This version is based on Emacs 24.2. > The third update of Emacs 23 Mac port 2.x is also available from > ftp://ftp.math.s.chiba-u.ac.jp/emacs/emacs-23.4-mac-2.3.tar.gz Custom full screen transition animations were not shown as intended on OS X 10.8. That's not fatal, but kind of ugly. If you use this feature frequently on 10.8, you may want to apply the following patch. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp === modified file 'src/macappkit.m' *** src/macappkit.m 2012-08-16 05:06:02 +0000 --- src/macappkit.m 2012-09-18 05:20:09 +0000 *************** *** 3255,3262 **** - (NSArray *)customWindowsToEnterFullScreenForWindow:(NSWindow *)window { [self setupFullScreenTransitionWindow]; ! return [NSArray arrayWithObjects:window, fullScreenTransitionWindow, nil]; } - (void)window:(NSWindow *)window --- 3255,3265 ---- - (NSArray *)customWindowsToEnterFullScreenForWindow:(NSWindow *)window { [self setupFullScreenTransitionWindow]; + /* Custom windows for full screen transition must be on-screen on OS + X 10.8. */ + [fullScreenTransitionWindow orderFront:nil]; ! return [NSArray arrayWithObjects:fullScreenTransitionWindow, window, nil]; } - (void)window:(NSWindow *)window *************** *** 3274,3280 **** } frameRect = [self preprocessWindowManagerStateChange:fullScreenTargetState]; - [fullScreenTransitionWindow orderFront:nil]; [window setAlphaValue:0]; [window setStyleMask:([window styleMask] | NSFullScreenWindowMask)]; --- 3277,3282 ---- *************** *** 3312,3319 **** - (NSArray *)customWindowsToExitFullScreenForWindow:(NSWindow *)window { [self setupFullScreenTransitionWindow]; ! return [NSArray arrayWithObjects:window, fullScreenTransitionWindow, nil]; } - (void)window:(NSWindow *)window --- 3314,3324 ---- - (NSArray *)customWindowsToExitFullScreenForWindow:(NSWindow *)window { [self setupFullScreenTransitionWindow]; + /* Custom windows for full screen transition must be on-screen on OS + X 10.8. */ + [fullScreenTransitionWindow orderFront:nil]; ! return [NSArray arrayWithObjects:fullScreenTransitionWindow, window, nil]; } - (void)window:(NSWindow *)window *************** *** 3329,3335 **** } destRect = [self preprocessWindowManagerStateChange:fullScreenTargetState]; - [fullScreenTransitionWindow orderFront:nil]; [window setAlphaValue:1]; [window setStyleMask:([window styleMask] & ~NSFullScreenWindowMask)]; --- 3334,3339 ----