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: Sat, 26 Dec 2020 21:52:10 +0000 Message-ID: References: <20201031150101.GN59267@breton.holly.idiocy.org> <6F053CD0-A164-490F-9D15-225D8782C633@acm.org> <20201101172843.GQ59267@breton.holly.idiocy.org> <40B4784A-74FF-4021-B51C-2E80801483BE@acm.org> <44D6C180-9C74-4B2D-BCB8-683FC4A84091@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="13288"; 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 Sat Dec 26 22:53:33 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 1ktHVC-0003Kj-MI for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 26 Dec 2020 22:53:30 +0100 Original-Received: from localhost ([::1]:38356 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ktHVB-00063b-L6 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 26 Dec 2020 16:53:29 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33778) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktHUk-00063U-AK for bug-gnu-emacs@gnu.org; Sat, 26 Dec 2020 16:53:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48473) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ktHUk-0002WA-2Z for bug-gnu-emacs@gnu.org; Sat, 26 Dec 2020 16:53:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ktHUj-0005AC-UF for bug-gnu-emacs@gnu.org; Sat, 26 Dec 2020 16:53:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 26 Dec 2020 21:53: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.160901954619806 (code B ref 44333); Sat, 26 Dec 2020 21:53:01 +0000 Original-Received: (at 44333) by debbugs.gnu.org; 26 Dec 2020 21:52:26 +0000 Original-Received: from localhost ([127.0.0.1]:60019 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ktHUA-00059O-3X for submit@debbugs.gnu.org; Sat, 26 Dec 2020 16:52:26 -0500 Original-Received: from outbound.soverin.net ([116.202.65.218]:48543) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ktHU7-000599-Vo for 44333@debbugs.gnu.org; Sat, 26 Dec 2020 16:52:24 -0500 Original-Received: from smtp.soverin.net (unknown [10.10.3.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id ADFDF600E9; Sat, 26 Dec 2020 21:52:16 +0000 (UTC) Original-Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.138]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1609019535; bh=vsd1V0AqpyGvAU4F+Dy576DcaXwDALYjGlL8ngEEMwA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NcxqNsUJPMl1rUW/QuCGmYy7KC/RoVRWteN10cdaF1k6YGxCP0Cht/mFWHuU3wHWx +gC4ZRL0ymReSx+RWHQJKda625Yd8rkfs2WLujh8TtSHcHvnLKogAG7722tr4V8uAL tSowm/9Zqo9z9D3XTg/vLV9c0GjxcqZ9NEB3ieiBBwcBDlGLvkxcU2H4SAZRoG+ccY j/8fRlt0vD0a33j+bO9QBpQ4ySDkUcGhcDyDk10AJNcpYS+hT1YHRLlDSeohpKfQKP gZ/0hN7pU0x17o3KN9XZhJ9at2etm+fwXcR77I5VWleKcw7Ko60DoAW0mYHhLkK0Pn hsIrV4ntQ+VrQ== Original-Received: by breton.holly.idiocy.org (Postfix, from userid 501) id E67502029301DE; Sat, 26 Dec 2020 21:52:10 +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: <44D6C180-9C74-4B2D-BCB8-683FC4A84091@acm.org> 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:196777 Archived-At: On Sat, Dec 26, 2020 at 06:42:18PM +0100, Mattias Engdegård wrote: > 26 dec. 2020 kl. 18.07 skrev Alan Third : > > > Does the attached seem any better? It appears to me like the first > > click on a menu is slightly faster (but that may be my imagination), > > and subsequent menus are instant. > > Not bad at all! Slow spells all gone as far as I can tell. Ship it! Cool. I might do some further tidying up. I'll see how I feel. > Next up, import the hacks from the Mac port that right-justifies > keyboard shortcuts in the menus? It doesn't actually right align them, but they're certainly neater. It's actually almost possible to copy the Mac port code in verbatim, the NS port's code is based on it after all, but I feel it may be neater to use a custom view for the NSMenuItems. That would give us complete control over the layout. Of course, someone would have to actually do that work... -- Alan Third