emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs Mac port


From: YAMAMOTO Mitsuharu
Subject: Re: Emacs Mac port
Date: Wed, 13 Sep 2017 12:46:51 +0900
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI)

>>>>> On Tue, 12 Sep 2017 14:31:23 +0900, YAMAMOTO Mitsuharu <address@hidden> 
>>>>> said:

> The Git repository at bitbucket is not updated yet.  I'll do that
> once Emacs 25.3 gets available in the repository upstream.

Done.  Available from https://bitbucket.org/mituharu/emacs-mac.git as
usual.

I also created a new branch `experimental/mac-gui-thread' in the above
repository for preparation of multi-thread support in Emacs 26.  The
branch itself is still based on Emacs 25 to test this new design and
code on top of a stable basis.

It runs the Lisp REPL in a non-main thread, so the main thread is
dedicated to GUI tasks, which might be requested from multiple Lisp
threads if we switch to version 26.  The GUI and Lisp threads run
mostly cooperatively (i.e., do not run simultaneously) except in the
`select' emulation.  Note that the variable `main_thread' in sysdep.c
no longer corresponds to the "main thread" in a usual sense.

> ** Improvements

> *** Support the frame parameter `scroll-bar-background'.
> If it is nil, which is the default, then the frame background color is
> used instead.  Its color also affects the appearance of other GUI
> parts: the title bar, the tool bar, (the tab bar on macOS 10.12 and
> later), scroll bars, and popup menus become light (or dark) if the
> color is considered light (or dark, respectively).  On macOS 10.12 and
> later, the title/tool/tab bars look slightly colored with the value of
> the `scroll-bar-background' frame parameter (or the frame background
> color) if the frame is focused and not in fullscreen.

If you want light scroll bars, title bars, etc. while using a dark
frame background color as it used to be, then customize the
`scroll-bar-background' frame parameter to "white", for example.

                                     YAMAMOTO Mitsuharu
                                address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]