From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel Subject: Re: Emacs Mac port Date: Sun, 09 Sep 2018 10:11:17 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Trace: blaine.gmane.org 1536456231 18374 195.159.176.226 (9 Sep 2018 01:23:51 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 9 Sep 2018 01:23:51 +0000 (UTC) User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.8 EasyPG/1.0.0 Emacs/25.3 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Sep 09 03:23:46 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fyoS2-0004gZ-Gw for ged-emacs-devel@m.gmane.org; Sun, 09 Sep 2018 03:23:46 +0200 Original-Received: from localhost ([::1]:45684 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fyoU8-0007FX-SY for ged-emacs-devel@m.gmane.org; Sat, 08 Sep 2018 21:25:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36125) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fyoSa-00077U-NY for emacs-devel@gnu.org; Sat, 08 Sep 2018 21:24:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fyoG4-0007Ee-K1 for emacs-devel@gnu.org; Sat, 08 Sep 2018 21:11:27 -0400 Original-Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]:50097) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fyoG3-00073L-Uc for emacs-devel@gnu.org; Sat, 08 Sep 2018 21:11:24 -0400 Original-Received: from mathent.math.s.chiba-u.ac.jp (mathent [192.168.32.5]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id D05D8F08F3 for ; Sun, 9 Sep 2018 10:11:17 +0900 (JST) (envelope-from mituharu@math.s.chiba-u.ac.jp) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 133.82.132.2 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:229530 Archived-At: The second update of the Mac port based on Emacs 26.1 is now available from ftp://ftp.math.s.chiba-u.ac.jp/emacs/emacs-26.1-mac-7.2.tar.gz and Git repository is also available at https://bitbucket.org/mituharu/emacs-mac.git YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp ** Fixed bugs *** Buffer contents are not displayed on macOS 10.14. This is mainly because now NSViews are backed by Core Animation Layer (layer-backed) by default and non-deferred drawing into views no longer works. Instead of switching to deferred drawing (i.e., draw only inside -[NSView drawRect:]), we draw into our own backing bitmap in a non-deferred way as before, and update the view contents with the resulting image via -[NSView updateLayer]. This "application-side double buffering" is also available on OS X 10.8 - macOS 10.13 if you set the frame parameter `inhibit-double-buffering' to nil when creating a frame. Just like on macOS 10.14, such a frame does not do LCD smoothing. *** Screenshot grabbed via Services is displayed in wrong size when we have display mirroring between Retina and non-Retina displays. *** Cursor movement just after frame resize sometimes leaves garbage. *** Crash by the Fall_threads call from the GUI thread at the select emulation when there are multiple Lisp threads. *** Info title has ASCII underline unlike other window systems. *** Vertical scroll bar is created as horizontal if frame font height is short. ** Improvements *** macOS 10.14 adds property :appearance to (mac-application-state). The value may be "NSAppearanceNameAqua" or "NSAppearanceNameDarkAqua". *** Add new color format "mac:COLOR-LIST-NAME:COLOR-NAME" and "mac:COLOR-NAME" (shorthand for "mac:System:COLOR-NAME"). The actual color may be different depending on the global appearance setting on macOS 10.14. For example, "mac:textColor" is black on the Light Mode but is white on the Dark Mode. *** Default frame colors respect appearance setting on macOS 10.14. Now the default frame foreground/background color is "mac:textColor"/"mac:textBackgroundColor", respectively. Changes of the system setting of the global appearance are dynamically reflected. *** New function `mac-color-list-alist' to get the available combinations of COLOR-LIST-NAMEs and COLOR-NAMEs. Note that this value is dependent on user environment and OS version. Also, some combinations may represent image patterns rather than colors. For the former cases, `(color-values "mac:COLOR-LIST-NAME:COLOR-NAME")' returns nil.