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#19120: 25.0.50; macosx: f10 does NOT go to the menu bar Date: Wed, 20 Oct 2021 21:47:39 +0100 Message-ID: References: <700A6A05-B019-4B80-9CBC-880F58EEEE5A@swipnet.se> <8C6577F7-44BC-4BD7-B1A8-082FB5014C02@swipnet.se> <87pms0csf2.fsf@yahoo.com> <87v91s2f9y.fsf@gmail.com> <87h7dcat6a.fsf@yahoo.com> <87k0i73mao.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="825"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Po Lu , 19120@debbugs.gnu.org, sds@gnu.org To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 20 22:48:11 2021 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 1mdIVP-000AcH-4l for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 20 Oct 2021 22:48:11 +0200 Original-Received: from localhost ([::1]:56116 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mdIVO-0005j9-41 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 20 Oct 2021 16:48:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54044) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mdIVG-0005j1-CM for bug-gnu-emacs@gnu.org; Wed, 20 Oct 2021 16:48:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44033) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mdIVG-0007PX-4I for bug-gnu-emacs@gnu.org; Wed, 20 Oct 2021 16:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mdIVG-0000iW-1D for bug-gnu-emacs@gnu.org; Wed, 20 Oct 2021 16:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 20 Oct 2021 20:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19120 X-GNU-PR-Package: emacs Original-Received: via spool by 19120-submit@debbugs.gnu.org id=B19120.16347628712738 (code B ref 19120); Wed, 20 Oct 2021 20:48:01 +0000 Original-Received: (at 19120) by debbugs.gnu.org; 20 Oct 2021 20:47:51 +0000 Original-Received: from localhost ([127.0.0.1]:55579 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mdIV5-0000i6-GD for submit@debbugs.gnu.org; Wed, 20 Oct 2021 16:47:51 -0400 Original-Received: from outbound.soverin.net ([116.202.126.228]:34625) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mdIV3-0000hS-OK for 19120@debbugs.gnu.org; Wed, 20 Oct 2021 16:47:50 -0400 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 95D2E51; Wed, 20 Oct 2021 20:47:43 +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=1634762862; bh=6wU8xHNw0GtgzKBrVZ+k8MQF/8dp2/mvQl1hdOKxb5E=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=lxzozLUYYmXBDLv8oNAt1tZKpI7kevCRZoO8rO3PnR8u5sz1U67fZyR0qsh/wLQOz aEdlsj3zn0JbEyAROSrknpiJZMy8j91WmlkSuWihQ8SKdKuaOqotuWI5TBpDF27vuK 2Zsf6mu9saOgIktd8JVuSuvOxDxutCpFou6Rw0NJBfF9ifXw/TwD9agQ0fcQazH5Kq T53QIbOibr5keIbf9YY1ZasNcVvYeiQ/gVq2WWuLKE6snTPqT13JeI5xAt+oPqSuR9 a3kXL90altRVRtylJJSdt9SP0/rHt98pcE7c+z8mNSJCwuh2ZD8mZihXFU9xrxcqJ1 l9Dd+AIkClOew== Original-Received: from alan by faroe.holly.idiocy.org with local (Exim 4.95-RC2) (envelope-from ) id 1mdIUt-000c7N-L8; Wed, 20 Oct 2021 21:47:39 +0100 Mail-Followup-To: Alan Third , Robert Pluim , Po Lu , sds@gnu.org, 19120@debbugs.gnu.org Content-Disposition: inline In-Reply-To: <87k0i73mao.fsf@gmail.com> 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:217717 Archived-At: On Wed, Oct 20, 2021 at 02:36:47PM +0200, Robert Pluim wrote: > >>>>> On Wed, 20 Oct 2021 18:26:21 +0800, Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" said: > > >> It doesnʼt crash, and performActionForItemAtIndex is called, but it > >> doesnʼt actually cause anything to happen (on macOS). > >> > >> Robert > > Po> Hmm, thanks. Do you know of a good solution for this aside from > Po> generating a fake mouse click event? > > No. Googling indicates that performActionForItemAtIndex is the way to > do this, so I donʼt know why it isnʼt working. Is there a reason to avoid faking a mouse event? Assuming the first answer here is correct: https://stackoverflow.com/questions/21583559/nsmenu-programmatically-select-item it looks quite straightforward and clean. -- Alan Third