From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#44333: 27.1; macOS menu bar 2-clicks Date: Sun, 1 Nov 2020 17:28:43 +0000 Message-ID: <20201101172843.GQ59267@breton.holly.idiocy.org> References: <2B2932BB-DFD0-409C-9351-FACEC46927BB@acm.org> <20201031150101.GN59267@breton.holly.idiocy.org> <6F053CD0-A164-490F-9D15-225D8782C633@acm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21511"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 44333@debbugs.gnu.org, Viktor Kharitonovich To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 01 18:29:13 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kZHAG-0005T3-H0 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 01 Nov 2020 18:29:12 +0100 Original-Received: from localhost ([::1]:54776 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kZHAF-0007VY-9F for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 01 Nov 2020 12:29:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49680) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZHA6-0007VM-TL for bug-gnu-emacs@gnu.org; Sun, 01 Nov 2020 12:29:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55066) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kZHA6-0004Fq-2P for bug-gnu-emacs@gnu.org; Sun, 01 Nov 2020 12:29:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kZHA6-0002mM-02 for bug-gnu-emacs@gnu.org; Sun, 01 Nov 2020 12:29:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 01 Nov 2020 17:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44333 X-GNU-PR-Package: emacs Original-Received: via spool by 44333-submit@debbugs.gnu.org id=B44333.160425173710671 (code B ref 44333); Sun, 01 Nov 2020 17:29:01 +0000 Original-Received: (at 44333) by debbugs.gnu.org; 1 Nov 2020 17:28:57 +0000 Original-Received: from localhost ([127.0.0.1]:38379 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZHA1-0002m3-Il for submit@debbugs.gnu.org; Sun, 01 Nov 2020 12:28:57 -0500 Original-Received: from wilbur.contactoffice.com ([212.3.242.68]:40206) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZH9z-0002lq-QG for 44333@debbugs.gnu.org; Sun, 01 Nov 2020 12:28:56 -0500 Original-Received: from smtpauth2.co-bxl (smtpauth2.co-bxl [10.2.0.24]) by wilbur.contactoffice.com (Postfix) with ESMTP id 197B2C5F; Sun, 1 Nov 2020 18:28:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1604251729; s=20200222-6h9o; d=idiocy.org; i=alan@idiocy.org; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type:Content-Transfer-Encoding:In-Reply-To; l=1013; bh=7+2QwOFTm1jBjIoDtIZCraJRw74/rht+ihnccgI15Yg=; b=BpF8na7fAQ5wwFO/QzZvPppVXmFP9ULpGwhxwFoRDEmXn6XAlghSZU2zOf0/FyQE Mcl1JbtNh6uy/vEVJEYsvLkvkwG14mZJsypkOrMfIZGb2gNT3HHYD31I22iSAA0uaqA jBGnprPeCxmNK3aHhWrbU9kgh+qUj7SgTPS/nGKEL6tMP5tszIJ3Kx3ZuHlX7Cw0Kjb P/4nEWxuzHCqpuRZj5UbHeOHqNIPxLt2nMmy7GzaS89DrEO3ymMjOiW0OMWA/lWubio nWcbaeGtfXJDJuV92b2qXfj/kgV1Vkxdl2hF2VUNaOAE2uelEfWxoTFXb1OElOkt1ht l4/VkZbq8w== Original-Received: by smtp.mailfence.com with ESMTPA ; Sun, 1 Nov 2020 18:28:45 +0100 (CET) Original-Received: by breton.holly.idiocy.org (Postfix, from userid 501) id 9C0D420264C9AF; Sun, 1 Nov 2020 17:28:43 +0000 (GMT) Mail-Followup-To: Alan Third , Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= , 44333@debbugs.gnu.org, Viktor Kharitonovich Content-Disposition: inline In-Reply-To: <6F053CD0-A164-490F-9D15-225D8782C633@acm.org> X-ContactOffice-Account: com:241649512 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:192420 Archived-At: On Sun, Nov 01, 2020 at 11:50:32AM +0100, Mattias Engdegård wrote: > > If anyone else has a simpler solution I'd love to hear it. > > Maybe we are overthinking it. I don't think the Cocoa event loop > really is running in a different thread. Anecdotal evidence > (printf!) indicates that it isn't. On the Mac port? It certainly isn't on the NS port... I don't think the Mac port even really uses the Cocoa event loop, although I could easily be wrong. > (https://debbugs.gnu.org/cgi/bugreport.cgi?bug=32864#38 has a > previous investigation into the matter.) > > I just did the simplest thing possible and it works (with a slight > latency at times, but perhaps tolerable). I'd like to know what's > wrong with running Lisp in the event loop. It does appear safe to > me. We used to have a *lot* of crashes that were related to the event loop and lisp and so on, but if you're confident it isn't a problem feel free to propose a patch and we can give it a go on master. -- Alan Third