emacs-devel
[Top][All Lists]
Advanced

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

Re: UI input unresponsive on macOS


From: YAMAMOTO Mitsuharu
Subject: Re: UI input unresponsive on macOS
Date: Fri, 17 Nov 2017 10:05:33 +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 Thu, 16 Nov 2017 19:33:43 +0000, Alan Third <address@hidden> said:

>> The following recipe seems to behave differently depending on the
>> toolkit.
>> 
>> (make-thread
>> (lambda ()
>> (let (last-nonmenu-event)
>> (setq test (y-or-n-p-with-timeout "test" 2 'timeout)))))
>> 
>> Athena: Works.
>> GTK+2: Timeout works, but buttons are not displayed.
>> GTK+3: Hangs.
>> NS: Crashes.

> I’m not sure how we could handle that on NS. Perhaps just refuse to
> display the dialogue at all, and return nil?

With Xcode 9, you can catch several problematic cases on NS such as
(make-thread 'make-frame) using the Main Thread Checker mentioned in
http://lists.gnu.org/archive/html/emacs-devel/2017-10/msg00418.html .

                                     YAMAMOTO Mitsuharu
                                address@hidden



reply via email to

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