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: UI input unresponsive on macOS Date: Thu, 05 Oct 2017 12:40:54 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: <72DF4592-73FE-452D-9CF3-C892E73BD36E@play-bow.org> <20170103143621.GA41725@breton.holly.idiocy.org> <20170103174900.GA49916@breton.holly.idiocy.org> <83zij6esyt.fsf@gnu.org> <83d1g1ecvh.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=ISO-2022-JP X-Trace: blaine.gmane.org 1507174903 15339 195.159.176.226 (5 Oct 2017 03:41:43 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 5 Oct 2017 03:41:43 +0000 (UTC) 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) Cc: Eli Zaretskii , halley@play-bow.org, alan@idiocy.org, emacs-devel@gnu.org To: Gong-Yi Liao =?ISO-2022-JP?B?GyRCVyE1XDUjGyhC?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 05 05:41:34 2017 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 1dzx2U-0002h6-FY for ged-emacs-devel@m.gmane.org; Thu, 05 Oct 2017 05:41:34 +0200 Original-Received: from localhost ([::1]:37656 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dzx2Y-0007MC-Pf for ged-emacs-devel@m.gmane.org; Wed, 04 Oct 2017 23:41:38 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42547) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dzx1x-0007Lr-QL for emacs-devel@gnu.org; Wed, 04 Oct 2017 23:41:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dzx1x-0000J9-1B for emacs-devel@gnu.org; Wed, 04 Oct 2017 23:41:01 -0400 Original-Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]:51385) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dzx1s-0000F9-QJ; Wed, 04 Oct 2017 23:40:57 -0400 Original-Received: from fermat1.math.s.chiba-u.ac.jp (fermat [192.168.32.10]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id E1E54F08FB; Thu, 5 Oct 2017 12:40:54 +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:219102 Archived-At: >>>>> On Thu, 05 Jan 2017 17:00:53 +0000, Gong-Yi Liao 廖宮毅 said: >> > When I M-X gnus, Emacs runs (with or without -Q at command line) >> > normally; but when I use >> > >> > (make-thread #'gnus "gnus") >> > >> > Emacs just hangs by the dialog whose screenshot is attached as a png >> file. >> >> The image seems to indicate that Emacs is waiting for you to answer >> the question. Did you try to click "Yes" or "No" on the dialog Emacs >> pops up? >> > I did clicked both buttons but none of them responsive and the UI hanged. 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. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp