GNU bug report logs - #19120
25.0.50; macosx: f10 does NOT go to the menu bar

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: sds@HIDDEN; dated Thu, 20 Nov 2014 16:29:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 19120 <at> debbugs.gnu.org:


Received: (at 19120) by debbugs.gnu.org; 24 Oct 2021 07:15:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 24 03:15:31 2021
Received: from localhost ([127.0.0.1]:37795 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1meXj9-0005Mn-9W
	for submit <at> debbugs.gnu.org; Sun, 24 Oct 2021 03:15:31 -0400
Received: from sonic317-34.consmr.mail.ne1.yahoo.com ([66.163.184.45]:36448)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1meXj7-0005FX-54
 for 19120 <at> debbugs.gnu.org; Sun, 24 Oct 2021 03:15:29 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1635059723; bh=cZEUUCqe3J3jtRfK0ZU/86CxpXE/416zO9gCgKywaa8=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To;
 b=LjtYcYM+NiMSU8kt0xMg6f+Sr5FIcNNt/t4oKU8Ub6vCydwETNn/6a5ig8wkbjgwoyxlOMw9PK8IclzbkSDgQdsDCYRhchG7DyRXfT7yRHoRPa7HIwuwotoNTxAXJJGrAGKwCTQRt1xDQVSgPx3d/PvxeomiDYX/fWqEYVjRdADL6TNvg3clzZBevmjoYjZhCrjGevS+e6fwfJM4I0TnC42JaZR8AS5PIsyQIOAVU9H6Xrb49Fcl9AG+Vko77h0Gn97xTeM0cBJ/huYPrJHk+L1KFNIba9/w+8a9K0QG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OxzAVCbFFjmaUmbDyl0D
 GelWhA89fX4w1bO3RlBLZAPeu1FniTpT4e2WP4jkrB4X0OHs4NWl_sZNv1jdcAMnKCWKH6zag7s1
 9t4mfFrSWfbZd.HMOThhi4SHBFGKmwh6qJvHKzT0azuFz6aNyA4S.TETNCkMepyo_IgAkXh7bHEs
 4G3X2EVqO7MiFLduZ6nS_xIuMOcADQhG_bgJAIsQkm0273l.1XCvWB12QpiZZ.hJ6k3ycIKMaQlL
 rKIV59QsXjV0v0U5dd0yWxpmFVFn8XRcpI_No5nnoBVqChkhAKZNDD5ueD4.vYO7xnoXueLX8qZC
 KHTeMwuHvrEL63jsTMeS5DNbkZOkE7VBmsM58EDicusL9IQzN6T8jqEI2WKI3viE1YOk01XGT1L6
 uM7VQNT6QGukz.0UrM5CAC5KYFy7tf2T_XFWjGZAF_.6D_NFTwBUT67qR_Q.xhM.AlfjGm5eVK9K
 8EW6XCO76aQ1vrOOHuMOLD6BptGxmiTHHHVsygtX9FbTLdaNgqNeLp_2FVq4v5l_XFuFafc8pTaw
 P3IW10CiOIw.5B2OJ8HGmWga9ofwCTX3dIZ1jiH11BDjJzbcTJIc4YiGEPWIvMEJm4.Gb83.hEun
 WRZDY00N41KIP0KelW.IElar9BBNx81vFVcZEzMfK5uIt2XwUgNAED7kFPlJL4uKvH1eRqrq.1Zf
 oVl6J5EAmUmcZRofjMdxKOUu9BamlpSP1X10dkgNwFDkODchqgOq0hk4-
X-Sonic-MF: <luangruo@HIDDEN>
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic317.consmr.mail.ne1.yahoo.com with HTTP; Sun, 24 Oct 2021 07:15:23 +0000
Received: by kubenode517.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP
 Server) with ESMTPA ID d0873eedfc0e39facf6c2e125ffdf3c4; 
 Sun, 24 Oct 2021 07:15:19 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
To: Alan Third <alan@HIDDEN>
Subject: Re: bug#19120: 25.0.50; macosx: f10 does NOT go to the menu bar
In-Reply-To: <YXPheX8FhaOEle/T@HIDDEN> (Alan Third's message
 of "Sat, 23 Oct 2021 11:18:33 +0100")
References: <CAFsbZ7Y3KFGNDH35eAdh6etmBhV_dqFXKWLByCxEcSLnLkPJdw@HIDDEN>
 <700A6A05-B019-4B80-9CBC-880F58EEEE5A@HIDDEN>
 <m2h9siigta.fsf@HIDDEN>
 <8C6577F7-44BC-4BD7-B1A8-082FB5014C02@HIDDEN>
 <87pms0csf2.fsf@HIDDEN> <87v91s2f9y.fsf@HIDDEN>
 <87h7dcat6a.fsf@HIDDEN> <87k0i73mao.fsf@HIDDEN>
 <YXCAawSMGxFb5Mor@HIDDEN> <878ryn8bx7.fsf@HIDDEN>
 <YXPheX8FhaOEle/T@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
Date: Sun, 24 Oct 2021 15:15:15 +0800
Message-ID: <877de26gho.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: WebService/1.1.19198
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 611
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 19120
Cc: Robert Pluim <rpluim@HIDDEN>, sds@HIDDEN, 19120 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Alan Third <alan@HIDDEN> writes:

> I guess so.
>
> Since the macOS method doesn't work we'll need to retain the current
> behaviour there. The rest of the code can therefore be #if'd off as
> GNUstep only, perhaps with a short explanation why.

But before I do that, I'd like to ask if the Carbon Emacs method would
be applicable for macOS.  Because earlier in this thread, it was
mentioned that the Mac Port supports this functionality.

> Also, can you please move ns_activate_menubar to somewhere near the
> rest of the menu code? It should probably be above the implementation
> of EmacsMenu.

Thanks.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#19120; Package emacs. Full text available.

Message received at 19120 <at> debbugs.gnu.org:


Received: (at 19120) by debbugs.gnu.org; 24 Oct 2021 07:14:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 24 03:14:35 2021
Received: from localhost ([127.0.0.1]:37789 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1meXiF-0004qE-0S
	for submit <at> debbugs.gnu.org; Sun, 24 Oct 2021 03:14:35 -0400
Received: from sonic305-20.consmr.mail.ne1.yahoo.com ([66.163.185.146]:38447)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1meXiC-0004q0-EQ
 for 19120 <at> debbugs.gnu.org; Sun, 24 Oct 2021 03:14:33 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1635059667; bh=cZEUUCqe3J3jtRfK0ZU/86CxpXE/416zO9gCgKywaa8=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To;
 b=CDoMgRX1OAougpgmPrCgtvqbDUzgRcp0mZUTemAkaBoj2hLOHnyvfMsj4o5SChJnpmQNT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consmr.mail.ne1.yahoo.com with HTTP; Sun, 24 Oct 2021 07:14:27 +0000
Received: by kubenode510.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP
 Server) with ESMTPA ID ae7d8ed04b2c8ef22fdb799644d84241; 
 Sun, 24 Oct 2021 07:14:19 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
To: Alan Third <alan@HIDDEN>
Subject: Re: bug#19120: 25.0.50; macosx: f10 does NOT go to the menu bar
References: <CAFsbZ7Y3KFGNDH35eAdh6etmBhV_dqFXKWLByCxEcSLnLkPJdw@HIDDEN>
 <700A6A05-B019-4B80-9CBC-880F58EEEE5A@HIDDEN>
 <m2h9siigta.fsf@HIDDEN>
 <8C6577F7-44BC-4BD7-B1A8-082FB5014C02@HIDDEN>
 <87pms0csf2.fsf@HIDDEN> <87v91s2f9y.fsf@HIDDEN>
 <87h7dcat6a.fsf@HIDDEN> <87k0i73mao.fsf@HIDDEN>
 <YXCAawSMGxFb5Mor@HIDDEN> <878ryn8bx7.fsf@HIDDEN>
 <YXPheX8FhaOEle/T@HIDDEN>
Date: Sun, 24 Oct 2021 15:14:06 +0800
In-Reply-To: <YXPheX8FhaOEle/T@HIDDEN> (Alan Third's message
 of "Sat, 23 Oct 2021 11:18:33 +0100")
Message-ID: <878ryi6gjl.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: WebService/1.1.19198
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 611
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 19120
Cc: Robert Pluim <rpluim@HIDDEN>, sds@HIDDEN, 19120 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Alan Third <alan@HIDDEN> writes:

> I guess so.
>
> Since the macOS method doesn't work we'll need to retain the current
> behaviour there. The rest of the code can therefore be #if'd off as
> GNUstep only, perhaps with a short explanation why.

But before I do that, I'd like to ask if the Carbon Emacs method would
be applicable for macOS.  Because earlier in this thread, it was
mentioned that the Mac Port supports this functionality.

> Also, can you please move ns_activate_menubar to somewhere near the
> rest of the menu code? It should probably be above the implementation
> of EmacsMenu.

Thanks.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#19120; Package emacs. Full text available.

Message received at 19120 <at> debbugs.gnu.org:


Received: (at 19120) by debbugs.gnu.org; 23 Oct 2021 10:18:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 23 06:18:47 2021
Received: from localhost ([127.0.0.1]:34439 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1meE6x-0004gO-8t
	for submit <at> debbugs.gnu.org; Sat, 23 Oct 2021 06:18:47 -0400
Received: from outbound.soverin.net ([116.202.126.228]:33461)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <alan@HIDDEN>) id 1meE6v-0004g8-Ae
 for 19120 <at> debbugs.gnu.org; Sat, 23 Oct 2021 06:18:46 -0400
Received: from smtp.soverin.net (unknown [10.10.3.28])
 (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 2883DD1;
 Sat, 23 Oct 2021 10:18:39 +0000 (UTC)
Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.142]) by
 soverin.net
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin;
 t=1634984318; bh=GDt7cRzNr5+vo54Ot+4kK5sh2jftg0hXmT04JG5c6eI=;
 h=Date:From:To:Cc:Subject:References:In-Reply-To:From;
 b=WG0NDpFlKu7RhKQuz0SPICief0On3JRBrEpDRfvVL96riaL3hcTwVs5WYNXsmydvG
 pCVS86aHaSLY/0rXWnpzOzpOiF3CAnlyCQnK8rGNmfouevHpy8yjN2PEIUI7TlvR1w
 DYHXosh2x9RiF9iKy89fu/bi0YeUEiqjulbKUWAXCi5zUuaM1vZyZPjdsX+2d+8qdf
 YWbEh+oQEd5w8YGS67qphC7Vfyd30+78JDAOyfCV2xwi24fB5AX/6lb4nunetNdgnp
 P9z97ulLpl7nBIzSzGYPZTuK8mqQa0Zooqwk9ynWOUlIFPBAYDcTxwMfplUzVnYrGG
 kjHMAJK9huPYg==
Received: by breton.holly.idiocy.org (Postfix, from userid 501)
 id F36AE202D9AD3B; Sat, 23 Oct 2021 11:18:33 +0100 (BST)
Date: Sat, 23 Oct 2021 11:18:33 +0100
From: Alan Third <alan@HIDDEN>
To: Po Lu <luangruo@HIDDEN>
Subject: Re: bug#19120: 25.0.50; macosx: f10 does NOT go to the menu bar
Message-ID: <YXPheX8FhaOEle/T@HIDDEN>
Mail-Followup-To: Alan Third <alan@HIDDEN>, Po Lu <luangruo@HIDDEN>,
 Robert Pluim <rpluim@HIDDEN>, sds@HIDDEN, 19120 <at> debbugs.gnu.org
References: <CAFsbZ7Y3KFGNDH35eAdh6etmBhV_dqFXKWLByCxEcSLnLkPJdw@HIDDEN>
 <700A6A05-B019-4B80-9CBC-880F58EEEE5A@HIDDEN>
 <m2h9siigta.fsf@HIDDEN>
 <8C6577F7-44BC-4BD7-B1A8-082FB5014C02@HIDDEN>
 <87pms0csf2.fsf@HIDDEN> <87v91s2f9y.fsf@HIDDEN>
 <87h7dcat6a.fsf@HIDDEN> <87k0i73mao.fsf@HIDDEN>
 <YXCAawSMGxFb5Mor@HIDDEN> <878ryn8bx7.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <878ryn8bx7.fsf@HIDDEN>
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 19120
Cc: Robert Pluim <rpluim@HIDDEN>, sds@HIDDEN, 19120 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

On Thu, Oct 21, 2021 at 08:21:56AM +0800, Po Lu wrote:
> Alan Third <alan@HIDDEN> writes:
> 
> > 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.
> 
> Aren't performClick and selectItemAtIndex only for popup menus, which
> the system menu bar is not?

I guess so.

Since the macOS method doesn't work we'll need to retain the current
behaviour there. The rest of the code can therefore be #if'd off as
GNUstep only, perhaps with a short explanation why.

Also, can you please move ns_activate_menubar to somewhere near the
rest of the menu code? It should probably be above the implementation
of EmacsMenu.

-- 
Alan Third




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#19120; Package emacs. Full text available.

Message received at 19120 <at> debbugs.gnu.org:


Received: (at 19120) by debbugs.gnu.org; 21 Oct 2021 00:22:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 20 20:22:13 2021
Received: from localhost ([127.0.0.1]:55753 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mdLqW-0008Cq-Pk
	for submit <at> debbugs.gnu.org; Wed, 20 Oct 2021 20:22:12 -0400
Received: from sonic317-33.consmr.mail.ne1.yahoo.com ([66.163.184.44]:37212)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1mdLqV-0008Ce-Fv
 for 19120 <at> debbugs.gnu.org; Wed, 20 Oct 2021 20:22:11 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1634775726; bh=Zl2hpk7P+irgHR8zwashRz7oRzs93krVWSz5ohbK4N8=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To;
 b=dGssfhLdjx7aPRq1+MFlqlN1PLQRUXWgyiZRaWxXuErUtfgBR7r/ZsAI4hhImCT1RUOx7uWOikJVhKZoGKkGaUQ5nw0MYxbx32gG2kAhYpj00cwVuUX97Ve2jISzyhMHCS6MhVn6Fg/0KE9SHK+MXl4EOXADaSrs5LYm5tZr4hwgmZaiLVxkeY1hJmqLiENNjTauxo3a4Kci0C8QF+uiyoZ2cykq01VjJr37PLcsg2LdFgaxiN0YWDuGdOpeisyv77yHC7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i5IIJMGCnvGcgD52s_GYd76JP2vj8EacDFP2AM.r00HO2oQmEr3kenJvi1fiFQOy9MpdWdSv0cO
 vRjJm8z5UCSvIlnyPl.YLj8AfPw8O8SBd2SYNxvYOhjU2YOgRCUDMVsvA.hxzgWKyTkpp3GopIZt
 J5KCIxexCOwYBtc35IPX2WvYPnJnDbVKkcdryOep1GSoLW3YnlA7Mg25ed7dp00RlUD6CDJpiiad
 CnkiW6M8vDhlHpln4AVLT_.wLX7K6QLs37IL1P5CuYYpXnxCOOsGSJa4HPSFPZJq6LuCkf_KodW2
 RzpBfkEZFpR8R92.1fg0zR9MxKORA61vGnDu.tXk30N0jUEgvIdV.9oONaenDUqTxNU8_gBnIjzD
 4MA4wXom5FPIcIzgEkl4WI5B1ZlwDuXFR.YhB17MX2.xzW.JWrKlf.03veUe2lffNL0lXgqaY66i
 1UCqH8euUh74BaoLZ7_9kLZ2fZ6kEEeiElRl6E8.uS2LsET6lPLfXXLRB7g7Brlg8oCi._eZIr_s
 CU5U.CCUGUclEeBdMnu6VDfDQeL.RGy3CL4hF_OW8aMjHuIZJ1ltDcIjKdeSA8KL0SjvY10EV6Gn
 KflSyufLyrPYN6qkJb87NXmNzw2Sp7CWKEDUAWxOKRx1drnB3fRERGSeSXP4CU74VqaAUAl64qUM
 GrKcULnHF7BkPi3UPhpnlh_jhebk._CxHHA0te0Eal2shRlFiLWAmmwEtlbaNKacvdXg0FmJ5DFK
 RnehsTJ57rAQUFxGt2u4dJ4kCmQrQMZtILXGW.ILKzwcreM0WzVUgYw--
X-Sonic-MF: <luangruo@HIDDEN>
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic317.consmr.mail.ne1.yahoo.com with HTTP; Thu, 21 Oct 2021 00:22:06 +0000
Received: by kubenode515.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP
 Server) with ESMTPA ID fcc6759372579485f00104ffd278240f; 
 Thu, 21 Oct 2021 00:21:59 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
To: Alan Third <alan@HIDDEN>
Subject: Re: bug#19120: 25.0.50; macosx: f10 does NOT go to the menu bar
References: <m2389dvnuy.fsf@HIDDEN>
 <BBF5D66E-0F65-42F2-84D8-566044A3000B@HIDDEN>
 <CAFsbZ7Y3KFGNDH35eAdh6etmBhV_dqFXKWLByCxEcSLnLkPJdw@HIDDEN>
 <700A6A05-B019-4B80-9CBC-880F58EEEE5A@HIDDEN>
 <m2h9siigta.fsf@HIDDEN>
 <8C6577F7-44BC-4BD7-B1A8-082FB5014C02@HIDDEN>
 <87pms0csf2.fsf@HIDDEN> <87v91s2f9y.fsf@HIDDEN>
 <87h7dcat6a.fsf@HIDDEN> <87k0i73mao.fsf@HIDDEN>
 <YXCAawSMGxFb5Mor@HIDDEN>
Date: Thu, 21 Oct 2021 08:21:56 +0800
In-Reply-To: <YXCAawSMGxFb5Mor@HIDDEN> (Alan Third's message of "Wed, 20
 Oct 2021 21:47:39 +0100")
Message-ID: <878ryn8bx7.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: WebService/1.1.19198
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 379
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 19120
Cc: Robert Pluim <rpluim@HIDDEN>, sds@HIDDEN, 19120 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Alan Third <alan@HIDDEN> writes:

> 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.

Aren't performClick and selectItemAtIndex only for popup menus, which
the system menu bar is not?

Thanks.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#19120; Package emacs. Full text available.

Message received at 19120 <at> debbugs.gnu.org:


Received: (at 19120) by debbugs.gnu.org; 20 Oct 2021 20:47:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 20 16:47:51 2021
Received: from localhost ([127.0.0.1]:55579 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mdIV5-0000i6-GD
	for submit <at> debbugs.gnu.org; Wed, 20 Oct 2021 16:47:51 -0400
Received: from outbound.soverin.net ([116.202.126.228]:34625)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <alan@HIDDEN>) id 1mdIV3-0000hS-OK
 for 19120 <at> debbugs.gnu.org; Wed, 20 Oct 2021 16:47:50 -0400
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)
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==
Received: from alan by faroe.holly.idiocy.org with local (Exim 4.95-RC2)
 (envelope-from <alan@HIDDEN>) id 1mdIUt-000c7N-L8;
 Wed, 20 Oct 2021 21:47:39 +0100
Date: Wed, 20 Oct 2021 21:47:39 +0100
From: Alan Third <alan@HIDDEN>
To: Robert Pluim <rpluim@HIDDEN>
Subject: Re: bug#19120: 25.0.50; macosx: f10 does NOT go to the menu bar
Message-ID: <YXCAawSMGxFb5Mor@HIDDEN>
Mail-Followup-To: Alan Third <alan@HIDDEN>,
 Robert Pluim <rpluim@HIDDEN>, Po Lu <luangruo@HIDDEN>,
 sds@HIDDEN, 19120 <at> debbugs.gnu.org
References: <m2389dvnuy.fsf@HIDDEN>
 <BBF5D66E-0F65-42F2-84D8-566044A3000B@HIDDEN>
 <CAFsbZ7Y3KFGNDH35eAdh6etmBhV_dqFXKWLByCxEcSLnLkPJdw@HIDDEN>
 <700A6A05-B019-4B80-9CBC-880F58EEEE5A@HIDDEN>
 <m2h9siigta.fsf@HIDDEN>
 <8C6577F7-44BC-4BD7-B1A8-082FB5014C02@HIDDEN>
 <87pms0csf2.fsf@HIDDEN> <87v91s2f9y.fsf@HIDDEN>
 <87h7dcat6a.fsf@HIDDEN> <87k0i73mao.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <87k0i73mao.fsf@HIDDEN>
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 19120
Cc: Po Lu <luangruo@HIDDEN>, 19120 <at> debbugs.gnu.org, sds@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

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" <bug-gnu-emacs@HIDDEN> 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




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#19120; Package emacs. Full text available.

Message received at 19120 <at> debbugs.gnu.org:


Received: (at 19120) by debbugs.gnu.org; 20 Oct 2021 12:37:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 20 08:37:03 2021
Received: from localhost ([127.0.0.1]:52966 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mdAq4-0007rz-2t
	for submit <at> debbugs.gnu.org; Wed, 20 Oct 2021 08:37:03 -0400
Received: from mail-wm1-f43.google.com ([209.85.128.43]:41605)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rpluim@HIDDEN>) id 1mdApy-0007rg-Nn
 for 19120 <at> debbugs.gnu.org; Wed, 20 Oct 2021 08:36:58 -0400
Received: by mail-wm1-f43.google.com with SMTP id
 d198-20020a1c1dcf000000b00322f53b9b89so9922984wmd.0
 for <19120 <at> debbugs.gnu.org>; Wed, 20 Oct 2021 05:36:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :mime-version:content-transfer-encoding;
 bh=vtRJFPAFOFTV9OWxQyEj+HzfHElQmVNQZg2x96hs6yA=;
 b=Xni0nlC/EiFqhOof3lMQhopYjXXYMq8lbvtKmM+ofBB95lzLjhdS6zzhgN4XkgoTCJ
 LePzCwK4KHe/8TFePQ1JTMxUD8FpJ+wepPpV0j1qij7O9/EyycA1fERgRTJ8BRs8ADE3
 nzT/b8w6AV6NQ5CYCGh8iWzYPmUB74qDelg8QjqvPq7PlBvJrwgO1xUP+GwJ5STEU38+
 vCHPsQFs0KmCcVcB6MmdOb3BMYjTNG03F5X6IwGLohLUEAOgHI95U2025BTeyrOJli4N
 Uofxgc8akiPi+CpRAIzY0pDiF4LvnSavTljNaLi08usVliHcYLD48uThpIGdwqSj+3bb
 Mlhw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:mime-version:content-transfer-encoding;
 bh=vtRJFPAFOFTV9OWxQyEj+HzfHElQmVNQZg2x96hs6yA=;
 b=GfbdK1yzVJ2Nr33Med8Xi90gHd7V8kwdSYnIKdrhfZ7oJEVKZvQIOK0qHYOmKGjSuJ
 pAtuqvpOJbzuOMrUA89RA/BMgu2xhrDngBsz7Iddqm3YXzbcbQLzXx0hj5rt6NkLm+Qx
 gMEYB2W7qnkqVznk120ChFvxs/7YNryp2DJSbymLGYcWekMNhQa3Xsl2F8cMQa4fs8SD
 bb+Rg8NYpKNySlB3sNCt0CuqjACkSxMENQllJNZF2hlgtCg/Y/rF4OfbcseyjpXuCRqf
 ks8j+a1Zlh2SwZgM7YSp37JSnbwhaI61dg1nlM+56mrWTTOYpH/do9Vyd6K5L3AMupuG
 e0qg==
X-Gm-Message-State: AOAM530LT/n88VQhjhyOipiXgzftzXeM+OZOPgOzEa5MqSuD/hMO9xi7
 T9bAUbk7Y8olJZ99WVevuT0=
X-Google-Smtp-Source: ABdhPJz3cqv7oPf89/wUbjN7o0uz0C6UX1CAIMYLKyRPEYXocQKSG5KIHmDQYJcD92VEM5VU5YtbXg==
X-Received: by 2002:a5d:6d8f:: with SMTP id l15mr52157595wrs.350.1634733408724; 
 Wed, 20 Oct 2021 05:36:48 -0700 (PDT)
Received: from rltb ([82.66.8.55])
 by smtp.gmail.com with ESMTPSA id e9sm1916624wrn.2.2021.10.20.05.36.48
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 20 Oct 2021 05:36:48 -0700 (PDT)
From: Robert Pluim <rpluim@HIDDEN>
To: Po Lu <luangruo@HIDDEN>
Subject: Re: bug#19120: 25.0.50; macosx: f10 does NOT go to the menu bar
References: <m2389dvnuy.fsf@HIDDEN>
 <BBF5D66E-0F65-42F2-84D8-566044A3000B@HIDDEN>
 <CAFsbZ7Y3KFGNDH35eAdh6etmBhV_dqFXKWLByCxEcSLnLkPJdw@HIDDEN>
 <700A6A05-B019-4B80-9CBC-880F58EEEE5A@HIDDEN>
 <m2h9siigta.fsf@HIDDEN>
 <8C6577F7-44BC-4BD7-B1A8-082FB5014C02@HIDDEN>
 <87pms0csf2.fsf@HIDDEN> <87v91s2f9y.fsf@HIDDEN>
 <87h7dcat6a.fsf@HIDDEN>
Date: Wed, 20 Oct 2021 14:36:47 +0200
In-Reply-To: <87h7dcat6a.fsf@HIDDEN> (Po Lu via's message of "Wed, 20 Oct
 2021 18:26:21 +0800")
Message-ID: <87k0i73mao.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 19120
Cc: 19120 <at> debbugs.gnu.org, sds@HIDDEN, alan@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

>>>>> On Wed, 20 Oct 2021 18:26:21 +0800, Po Lu via "Bug reports for GNU Em=
acs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> said:

    >> It doesn=CA=BCt crash, and performActionForItemAtIndex is called, bu=
t it
    >> doesn=CA=BCt actually cause anything to happen (on macOS).
    >>=20
    >> 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=CA=BCt know why it isn=CA=BCt working.

Robert
--=20




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#19120; Package emacs. Full text available.

Message received at 19120 <at> debbugs.gnu.org:


Received: (at 19120) by debbugs.gnu.org; 20 Oct 2021 10:26:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 20 06:26:39 2021
Received: from localhost ([127.0.0.1]:52829 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1md8nv-0002Ml-0B
	for submit <at> debbugs.gnu.org; Wed, 20 Oct 2021 06:26:39 -0400
Received: from sonic306-20.consmr.mail.ne1.yahoo.com ([66.163.189.82]:39591)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1md8nt-0002MY-FP
 for 19120 <at> debbugs.gnu.org; Wed, 20 Oct 2021 06:26:37 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1634725591; bh=1z+CBESezhX3SPcUjuauUMKwDlbvWl3XuWKPCXXCBxg=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To;
 b=Qw2Zme6OaLoKEYrAA5alcmRROerlEBQciZYrtB+ebvSMa4Xe3QAAN4ESJTRPybj01hg3nQYCIhRQ3dpynFagMeGYNL26TcHdeSJPuoUL3DBgQoVdMZsFRUpzUJYmgDwb26fEx5u9R5jyThq/z0JfxmkYtJ8M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omega.sg3.yahoo.com (VZM Hermes SMTP
 Server) with ESMTPA ID 921f1c15c4420aea320a5d6fb0827cde; 
 Wed, 20 Oct 2021 10:26:25 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
To: Robert Pluim <rpluim@HIDDEN>
Subject: Re: bug#19120: 25.0.50; macosx: f10 does NOT go to the menu bar
References: <m2389dvnuy.fsf@HIDDEN>
 <BBF5D66E-0F65-42F2-84D8-566044A3000B@HIDDEN>
 <CAFsbZ7Y3KFGNDH35eAdh6etmBhV_dqFXKWLByCxEcSLnLkPJdw@HIDDEN>
 <700A6A05-B019-4B80-9CBC-880F58EEEE5A@HIDDEN>
 <m2h9siigta.fsf@HIDDEN>
 <8C6577F7-44BC-4BD7-B1A8-082FB5014C02@HIDDEN>
 <87pms0csf2.fsf@HIDDEN> <87v91s2f9y.fsf@HIDDEN>
Date: Wed, 20 Oct 2021 18:26:21 +0800
In-Reply-To: <87v91s2f9y.fsf@HIDDEN> (Robert Pluim's message of "Wed, 20
 Oct 2021 11:53:45 +0200")
Message-ID: <87h7dcat6a.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Mailer: WebService/1.1.19116
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 701
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 19120
Cc: sds@HIDDEN, 19120 <at> debbugs.gnu.org, "Jan D." <jan.h.d@HIDDEN>,
 alan@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Robert Pluim <rpluim@HIDDEN> writes:

>     reports> I think I may have found a cleaner solution to this.  But th=
ere is one
>     reports> problem: only the code for GNUstep utilizing [NSMenu display=
] has been
>     reports> tested.
>
>     reports> I don't know if the Cocoa-specific code will work.  Sam, ple=
ase test the
>     reports> attached change, thanks.
>
>     reports> Alan, how does this look to you?  Do you think it will work?

> It doesn=CA=BCt crash, and performActionForItemAtIndex is called, but it
> doesn=CA=BCt actually cause anything to happen (on macOS).
>
> Robert

Hmm, thanks.  Do you know of a good solution for this aside from
generating a fake mouse click event?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#19120; Package emacs. Full text available.

Message received at 19120 <at> debbugs.gnu.org:


Received: (at 19120) by debbugs.gnu.org; 20 Oct 2021 09:53:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 20 05:53:55 2021
Received: from localhost ([127.0.0.1]:52797 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1md8IF-0007hW-Ni
	for submit <at> debbugs.gnu.org; Wed, 20 Oct 2021 05:53:55 -0400
Received: from mail-wm1-f50.google.com ([209.85.128.50]:41913)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rpluim@HIDDEN>) id 1md8ID-0007hG-65
 for 19120 <at> debbugs.gnu.org; Wed, 20 Oct 2021 05:53:53 -0400
Received: by mail-wm1-f50.google.com with SMTP id
 d198-20020a1c1dcf000000b00322f53b9b89so8812292wmd.0
 for <19120 <at> debbugs.gnu.org>; Wed, 20 Oct 2021 02:53:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :mime-version:content-transfer-encoding;
 bh=24N87uOyFWNXWttNirjotUYoml3GfUUTSBW3aKoVwC0=;
 b=R4vCtqAvviUrOlnxht24tU6YLQCeXYT+6CemZw0uA5G8twVXuAzGjUi+rUqIqjrraB
 dfXZs3Ugh/2x7woki7Km2mh9NF5ggE3hTHZwPkSAQyz51FHjwU+PZU8DB1QBxHq5c5PC
 9dStxSAFG/KY0YveIxsh+nT3uwNxIpxWhY9TdYvKixm10g9Y1YHMLEiRwFSVCMmXHXL1
 27EupW79I/xAQdStbNcSgk1h7vq1ekOjrxFuFvsEl17gqrzqsZQEY3V3PyONniYf81w0
 k7TVTJxZwQQa7N0htQIjAp0DxNYbEkHDeJuUe348HvJ09nHuI17hfvoHUFguAJ4yi5pl
 bfzQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:mime-version:content-transfer-encoding;
 bh=24N87uOyFWNXWttNirjotUYoml3GfUUTSBW3aKoVwC0=;
 b=DhPKWsNViVscOrW6W4uPi7U2IJ2H7T9+wX+58SNaiRoBlmC4vC4xn9dIClHT8PlEsg
 o/UsYgT8/GhBBgztqoToQmtcyScrc1D73Tce8vbHT5cc8brT6nDNuqxXwTbQ9KVlGXMz
 tZsBw4eU+S9Z8sv4FLk/suwSsyH5QFyYdqaQK33muLO9cLFTgm4z7riqHGG3R5loe7uo
 f1rF4Z9Eu6NZ8ScE8Z9kl496BjChbMwuXduBXCGbO88BDIJkmJcsQ2vXa4anFlQylkyS
 Tz9Gd0uV1JjaVV6bVnjUU7nM8jDqwZg2rFaj+qrXtYldfSKFUWJu+D7rJDyFcdz38E0V
 RXMA==
X-Gm-Message-State: AOAM533nwqDToC8rK5ISYb6L5pgrruHMsyMV0uS2kAuv8Sp1enoXYdv/
 7pNu8+cxDuqntTdKY6jzLLo=
X-Google-Smtp-Source: ABdhPJxVsHT67hePim3TqE+P5hxWlaPTJNcSyMMRHOoGMFFwDxV0SMg+95CkZEtBnEmICK0Pk7RnTw==
X-Received: by 2002:a1c:2541:: with SMTP id l62mr12343031wml.11.1634723627083; 
 Wed, 20 Oct 2021 02:53:47 -0700 (PDT)
Received: from rltb ([82.66.8.55])
 by smtp.gmail.com with ESMTPSA id a2sm1711907wrq.9.2021.10.20.02.53.46
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 20 Oct 2021 02:53:46 -0700 (PDT)
From: Robert Pluim <rpluim@HIDDEN>
To: Po Lu <luangruo@HIDDEN>
Subject: Re: bug#19120: 25.0.50; macosx: f10 does NOT go to the menu bar
References: <m2389dvnuy.fsf@HIDDEN>
 <BBF5D66E-0F65-42F2-84D8-566044A3000B@HIDDEN>
 <CAFsbZ7Y3KFGNDH35eAdh6etmBhV_dqFXKWLByCxEcSLnLkPJdw@HIDDEN>
 <700A6A05-B019-4B80-9CBC-880F58EEEE5A@HIDDEN>
 <m2h9siigta.fsf@HIDDEN>
 <8C6577F7-44BC-4BD7-B1A8-082FB5014C02@HIDDEN>
 <87pms0csf2.fsf@HIDDEN>
Date: Wed, 20 Oct 2021 11:53:45 +0200
In-Reply-To: <87pms0csf2.fsf@HIDDEN> (Po Lu via's message of "Wed, 20 Oct
 2021 10:59:45 +0800")
Message-ID: <87v91s2f9y.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 19120
Cc: sds@HIDDEN, 19120 <at> debbugs.gnu.org, "Jan D." <jan.h.d@HIDDEN>,
 alan@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

>>>>> On Wed, 20 Oct 2021 10:59:45 +0800, Po Lu via "Bug reports for GNU Em=
acs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> said:

    reports> "Jan D." <jan.h.d@HIDDEN> writes:
    >> He fakes a keyclick on the apple menu.  Not that hard to do, patches=
 welcome.

    reports> I think I may have found a cleaner solution to this.  But ther=
e is one
    reports> problem: only the code for GNUstep utilizing [NSMenu display] =
has been
    reports> tested.

    reports> I don't know if the Cocoa-specific code will work.  Sam, pleas=
e test the
    reports> attached change, thanks.

    reports> Alan, how does this look to you?  Do you think it will work?

It doesn=CA=BCt crash, and performActionForItemAtIndex is called, but it
doesn=CA=BCt actually cause anything to happen (on macOS).

Robert
--=20




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#19120; Package emacs. Full text available.

Message received at 19120 <at> debbugs.gnu.org:


Received: (at 19120) by debbugs.gnu.org; 20 Oct 2021 03:00:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 19 23:00:04 2021
Received: from localhost ([127.0.0.1]:52400 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1md1pj-00035t-N4
	for submit <at> debbugs.gnu.org; Tue, 19 Oct 2021 23:00:04 -0400
Received: from sonic316-21.consmr.mail.ne1.yahoo.com ([66.163.187.147]:45059)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1md1ph-00034s-MJ
 for 19120 <at> debbugs.gnu.org; Tue, 19 Oct 2021 23:00:02 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1634698796; bh=/8hPmi793V7vPj8Iitw2ZEjrrR4IPWwoiJmjoWtw+zk=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To;
 b=D+DeKAXodA0reIEoHj4RwGZ9YTWFngRywvAwN6hJqihtkQomU6NmwkUrWc0AqVS4HUYnOlwIG8lU9ZC6VBBLY3L2HUsJj6DhlRSyxuOGKX0d5bg4ytkSmb4pBfp6+3itqyUZK6/d0eAdn1dchOgSiwVGySLUDCW8rKjYZ15CnKNM09LcplsGokUqGsilBsWfczaXYNz/dVyEm6QM7s1b1B0uOvb8EMLocr+4jheKyl4xA36X+CaDX5CN/GQl33axlo1u6qSt3KhGetYnv56Ty7xrzrAtwR7+A/QCF/udg+LdXlOgvDiZcUEhTg5SpTvLD/5+aMGa8llX3eQDlIDpxw==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1634698796; bh=7gESDbuxgxsIzDxk0sjVx+9nt2h8oSNQwhmv0eNNemY=;
 h=X-Sonic-MF:From:To:Subject:Date:From:Subject;
 b=uIX9ZOYOSctMCQCaileQAQGdtiLPkVGBYG5XFLjtcS+nWlOxVbTgCE3Sxx0G5/JemkHU5W7K67IGJE144xHggOx+TGpFdbvQvMB3eailG/Pa8UWi02TwV6hf2/g5IJjLOzoL19l5mFwG3Ujpx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SBh_D7vJwPqhJGq_n9
 VaqcO50wAb5SF4Xk2JcsU7Q8.gnf4.0Vn947Ozi7TWFG4_aR2JxL_PuFWW7AofwX9k6rlUTrXhPS
 n_7yjQu4uMsOlEz_IRs00ohNATuiboNLvRFTynYhg8xVBdByyGDPKVGA17lnowSqXtU5OLlW6ykf
 z9_M9A4t7ezo3QdTckYKHD6g_NnRf28sU42DXJVlBem5D8f.MgTInGaS0HEDrt9BquQHFqs8AFVK
 7hqYKuUnAvEzab_GoxCBJjGFkNTORdTnu.9WHVeBtdSx.mCzIj_WvqVkTvw9XJPHpk176gnLJyrO
 xjU56UBb982bVB0HTlkJKw0g_AiJFTH7uQ29pHqsXyKybnkwIrz6NY6cKKueGQuyMu2dT_1Zwhco
 Q10HJpjhQoJg7dH7pNMVOmfRbfUX1oORm17G1s27S1xjv
X-Sonic-MF: <luangruo@HIDDEN>
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic316.consmr.mail.ne1.yahoo.com with HTTP; Wed, 20 Oct 2021 02:59:56 +0000
Received: by kubenode501.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP
 Server) with ESMTPA ID b6d27b5ed41392a77a8eb372d23870aa; 
 Wed, 20 Oct 2021 02:59:50 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
To: "Jan D." <jan.h.d@HIDDEN>
Subject: Re: bug#19120: 25.0.50; macosx: f10 does NOT go to the menu bar
References: <m2389dvnuy.fsf@HIDDEN>
 <BBF5D66E-0F65-42F2-84D8-566044A3000B@HIDDEN>
 <CAFsbZ7Y3KFGNDH35eAdh6etmBhV_dqFXKWLByCxEcSLnLkPJdw@HIDDEN>
 <700A6A05-B019-4B80-9CBC-880F58EEEE5A@HIDDEN>
 <m2h9siigta.fsf@HIDDEN>
 <8C6577F7-44BC-4BD7-B1A8-082FB5014C02@HIDDEN>
Date: Wed, 20 Oct 2021 10:59:45 +0800
In-Reply-To: <8C6577F7-44BC-4BD7-B1A8-082FB5014C02@HIDDEN> (Jan D.'s
 message of "Sun, 19 Apr 2015 09:44:36 +0200")
Message-ID: <87pms0csf2.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Mailer: WebService/1.1.19116
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 4841
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 19120
Cc: 19120 <at> debbugs.gnu.org, sds@HIDDEN, alan@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain

"Jan D." <jan.h.d@HIDDEN> writes:

> He fakes a keyclick on the apple menu.  Not that hard to do, patches welcome.

I think I may have found a cleaner solution to this.  But there is one
problem: only the code for GNUstep utilizing [NSMenu display] has been
tested.

I don't know if the Cocoa-specific code will work.  Sam, please test the
attached change, thanks.

Alan, how does this look to you?  Do you think it will work?


--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment;
 filename=0001-Support-opening-the-toolkit-menu-bar-on-NS.patch

From 4e3fe6b4c0027dada181892c019e49f8003612fe Mon Sep 17 00:00:00 2001
From: Po Lu <luangruo@HIDDEN>
Date: Wed, 20 Oct 2021 10:54:27 +0800
Subject: [PATCH] Support opening the toolkit menu bar on NS

* src/nsmenu.m (ns_activate_menubar, Fns_open_menubar): New functions.
* src/nsterm.m (ns_create_terminal): Add activate_menubar_hook.
* lisp/menu-bar.el (menu-bar-open): Use ns-menu-bar-open on Nextstep.
---
 lisp/menu-bar.el |  8 +++++---
 src/nsmenu.m     | 41 ++++++++++++++++++++++++++++++++++++++++-
 src/nsterm.m     |  1 +
 3 files changed, 46 insertions(+), 4 deletions(-)

diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el
index 980ba2fcd1..2ef24cf111 100644
--- a/lisp/menu-bar.el
+++ b/lisp/menu-bar.el
@@ -2659,9 +2659,10 @@ menu-bar-open
 this is the numeric argument to the command.
 This function decides which method to use to access the menu
 depending on FRAME's terminal device.  On X displays, it calls
-`x-menu-bar-open'; on Windows, `w32-menu-bar-open'; otherwise it
-calls either `popup-menu' or `tmm-menubar' depending on whether
-`tty-menu-open-use-tmm' is nil or not.
+`x-menu-bar-open'; on Windows, `w32-menu-bar-open';
+on NS, `ns-menu-bar-open'; otherwise it calls either `popup-menu'
+or `tmm-menubar' depending on whether `tty-menu-open-use-tmm'
+is nil or not.
 
 If FRAME is nil or not given, use the selected frame."
   (interactive
@@ -2670,6 +2671,7 @@ menu-bar-open
     (cond
      ((eq type 'x) (x-menu-bar-open frame))
      ((eq type 'w32) (w32-menu-bar-open frame))
+     ((eq type 'ns) (ns-menu-bar-open frame))
      ((and (null tty-menu-open-use-tmm)
 	   (not (zerop (or (frame-parameter nil 'menu-bar-lines) 0))))
       ;; Make sure the menu bar is up to date.  One situation where
diff --git a/src/nsmenu.m b/src/nsmenu.m
index 333a8b50a1..359a9c3bc8 100644
--- a/src/nsmenu.m
+++ b/src/nsmenu.m
@@ -1451,7 +1451,30 @@ - (NSRect) frame
 
 @end  /* EmacsTooltip */
 
+void
+ns_activate_menubar (struct frame *frame)
+{
+  if (frame != SELECTED_FRAME ()
+      || !FRAME_EXTERNAL_MENU_BAR (frame))
+    return;
 
+  block_input ();
+  NSApplication *app = [NSApplication sharedApplication];
+  NSMenu *menu = [app mainMenu];
+  for (NSMenuItem *item in [menu itemArray])
+    {
+      if ([item hasSubmenu])
+	{
+#ifdef NS_IMPL_GNUSTEP
+	  [[item submenu] display];
+#else
+	  [menu performActionForItemAtIndex: [menu indexOfItem: item]];
+#endif
+	  break;
+	}
+    }
+  unblock_input ();
+}
 
 /* ==========================================================================
 
@@ -1883,7 +1906,6 @@ - (Lisp_Object)runDialogAt: (NSPoint)p
 
 @end
 
-
 /* ==========================================================================
 
     Lisp definitions
@@ -1906,6 +1928,22 @@ - (Lisp_Object)runDialogAt: (NSPoint)p
   return popup_activated () ? Qt : Qnil;
 }
 
+DEFUN ("ns-menu-bar-open", Fns_menu_bar_open, Sns_menu_bar_open, 0, 1, "i",
+       doc: /* Start key navigation of the menu bar in FRAME.
+This initially opens the first menu bar item and you can then navigate with the
+arrow keys, select a menu entry with the return key or cancel with the
+escape key.  If FRAME has no menu bar this function does nothing.
+
+If FRAME is nil or not given, use the selected frame.  */)
+  (Lisp_Object frame)
+{
+  struct frame *f = decode_window_system_frame (frame);
+
+  ns_activate_menubar (f);
+
+  return Qnil;
+}
+
 /* ==========================================================================
 
     Lisp interface declaration
@@ -1917,6 +1955,7 @@ - (Lisp_Object)runDialogAt: (NSPoint)p
 {
   defsubr (&Sns_reset_menu);
   defsubr (&Smenu_or_popup_active_p);
+  defsubr (&Sns_menu_bar_open);
 
   DEFSYM (Qdebug_on_next_call, "debug-on-next-call");
 }
diff --git a/src/nsterm.m b/src/nsterm.m
index e0b7143e29..cd322b1fce 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -5071,6 +5071,7 @@ static Lisp_Object ns_new_font (struct frame *f, Lisp_Object font_object,
   terminal->delete_frame_hook = ns_destroy_window;
   terminal->delete_terminal_hook = ns_delete_terminal;
   terminal->change_tab_bar_height_hook = ns_change_tab_bar_height;
+  terminal->activate_menubar_hook = ns_activate_menubar;
   /* Other hooks are NULL by default.  */
 
   return terminal;
-- 
2.31.1


--=-=-=--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#19120; Package emacs. Full text available.
Severity set to 'wishlist' from 'normal' Request was from Alan Third <alan@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 19120 <at> debbugs.gnu.org:


Received: (at 19120) by debbugs.gnu.org; 19 Apr 2015 07:44:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 19 03:44:50 2015
Received: from localhost ([127.0.0.1]:60397 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YjjuM-0002AJ-2A
	for submit <at> debbugs.gnu.org; Sun, 19 Apr 2015 03:44:50 -0400
Received: from mailfe07.swip.net ([212.247.154.193]:47468 helo=swip.net)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <jan.h.d@HIDDEN>) id 1YjjuH-0002A3-C1
 for 19120 <at> debbugs.gnu.org; Sun, 19 Apr 2015 03:44:46 -0400
X-T2-Spam-Status: No, hits=-0.0 required=5.0 tests=BAYES_40
Received: from hosdjarv.se (account mj138573@HIDDEN [46.59.42.57] verified)
 by mailfe07.swip.net (CommuniGate Pro SMTP 5.4.4)
 with ESMTPA id 588360550; Sun, 19 Apr 2015 09:44:37 +0200
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
Subject: Re: bug#19120: 25.0.50; macosx: f10 does NOT go to the menu bar
From: "Jan D." <jan.h.d@HIDDEN>
In-Reply-To: <m2h9siigta.fsf@HIDDEN>
Date: Sun, 19 Apr 2015 09:44:36 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <8C6577F7-44BC-4BD7-B1A8-082FB5014C02@HIDDEN>
References: <m2389dvnuy.fsf@HIDDEN>
 <BBF5D66E-0F65-42F2-84D8-566044A3000B@HIDDEN>
 <CAFsbZ7Y3KFGNDH35eAdh6etmBhV_dqFXKWLByCxEcSLnLkPJdw@HIDDEN>
 <700A6A05-B019-4B80-9CBC-880F58EEEE5A@HIDDEN> <m2h9siigta.fsf@HIDDEN>
To: sds@HIDDEN
X-Mailer: Apple Mail (2.2098)
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 19120
Cc: 19120 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)


> 14 apr 2015 kl. 22:41 skrev Sam Steingold <sds@HIDDEN>:
>=20
> Hi,
>=20
>> * Jan D. <wna.u.q@HIDDEN> [2015-04-12 10:04:09 +0200]:
>>=20
>>> still, it would be nice to be able to tell emacs to pass certain =
keys to the OS.
>>> it _can_ be done on w32, so why not here too?
>>=20
>> W32 and Cocoa are different API:s?
>=20
> I think it is done here:
> http://www.math.s.chiba-u.ac.jp/~mituharu/emacs-mac.git
> by YAMAMOTO Mitsuharu.

He fakes a keyclick on the apple menu.  Not that hard to do, patches =
welcome.

	Jan D.





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#19120; Package emacs. Full text available.

Message received at 19120 <at> debbugs.gnu.org:


Received: (at 19120) by debbugs.gnu.org; 14 Apr 2015 20:41:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 14 16:41:17 2015
Received: from localhost ([127.0.0.1]:56469 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Yi7e1-0005T4-1s
	for submit <at> debbugs.gnu.org; Tue, 14 Apr 2015 16:41:17 -0400
Received: from mail-qk0-f182.google.com ([209.85.220.182]:33868)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <sam.steingold@HIDDEN>) id 1Yi7dy-0005Ss-Uw
 for 19120 <at> debbugs.gnu.org; Tue, 14 Apr 2015 16:41:15 -0400
Received: by qkgx75 with SMTP id x75so36144067qkg.1
 for <19120 <at> debbugs.gnu.org>; Tue, 14 Apr 2015 13:41:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=sender:from:to:cc:subject:in-reply-to:references:user-agent
 :return-receipt-to:reply-to:date:message-id:mime-version
 :content-type; bh=gkDo1wRAwvabRRd4t4FTHHmneVlK1lG6QRgbgop1vk4=;
 b=zgVcUOMvUpyegcORBcNkBk4W/ipjAfm9MPIC+BI1HXPYnChrjAV+26+ez4IZKvpMKV
 d3GvYTngw7Ve4rJ942jYRGHVxJjGxDU7ynEHYW4xUekEt3HGCg0QTUJ7QQerujsVi3iH
 2qK8xQXdEPAR3pbT2uvSP6AnOPYtm6J/atkUSwg10q2h7LNDxbplgBO1xWhlXrONgCdT
 bL8e5ckHGfN1iDFTfUcjnREcnM2lkL84yCi3rFKYriu5XEgjMljKYi/8Qg6F3ASsYpAi
 RuMkaEI3dwj+9RQZCzwLt8vA6nX7rS59aAjsPqyTZxwUCZcnL7KZ2VPsiN9Y0QPMAY1L
 CrMQ==
X-Received: by 10.55.16.139 with SMTP id 11mr44933259qkq.79.1429044067361;
 Tue, 14 Apr 2015 13:41:07 -0700 (PDT)
Received: from sds-MacBook-Pro.local ([66.9.135.66])
 by mx.google.com with ESMTPSA id 75sm1531002qhw.41.2015.04.14.13.41.06
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Tue, 14 Apr 2015 13:41:06 -0700 (PDT)
From: Sam Steingold <sds@HIDDEN>
To: "Jan D." <jan.h.d@HIDDEN>
Subject: Re: bug#19120: 25.0.50; macosx: f10 does NOT go to the menu bar
In-Reply-To: <700A6A05-B019-4B80-9CBC-880F58EEEE5A@HIDDEN> (Jan D.'s
 message of "Sun, 12 Apr 2015 10:04:09 +0200")
References: <m2389dvnuy.fsf@HIDDEN>
 <BBF5D66E-0F65-42F2-84D8-566044A3000B@HIDDEN>
 <CAFsbZ7Y3KFGNDH35eAdh6etmBhV_dqFXKWLByCxEcSLnLkPJdw@HIDDEN>
 <700A6A05-B019-4B80-9CBC-880F58EEEE5A@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (darwin)
X-Attribution: Sam
X-Disclaimer: You should not expect anyone to agree with me.
Date: Tue, 14 Apr 2015 16:41:05 -0400
Message-ID: <m2h9siigta.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 19120
Cc: 19120 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: sds@HIDDEN
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

Hi,

> * Jan D. <wna.u.q@HIDDEN> [2015-04-12 10:04:09 +0200]:
>
>> still, it would be nice to be able to tell emacs to pass certain keys to the OS.
>> it _can_ be done on w32, so why not here too?
>
> W32 and Cocoa are different API:s?

I think it is done here:
http://www.math.s.chiba-u.ac.jp/~mituharu/emacs-mac.git
by YAMAMOTO Mitsuharu.

-- 
Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1347
http://www.childpsy.net/ http://think-israel.org http://www.memritv.org
http://camera.org http://ffii.org http://mideasttruth.com http://memri.org
If money were measured in piles, I would have had a pit of it.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#19120; Package emacs. Full text available.

Message received at 19120 <at> debbugs.gnu.org:


Received: (at 19120) by debbugs.gnu.org; 12 Apr 2015 08:04:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 12 04:04:22 2015
Received: from localhost ([127.0.0.1]:53643 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YhCsO-0001gZ-VO
	for submit <at> debbugs.gnu.org; Sun, 12 Apr 2015 04:04:21 -0400
Received: from mailfe06.swip.net ([212.247.154.161]:52222 helo=swip.net)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <jan.h.d@HIDDEN>) id 1YhCsL-0001gH-Bm
 for 19120 <at> debbugs.gnu.org; Sun, 12 Apr 2015 04:04:19 -0400
X-T2-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00
Received: from hosdjarv.se (account mj138573@HIDDEN [46.59.42.57] verified)
 by mailfe06.swip.net (CommuniGate Pro SMTP 5.4.4)
 with ESMTPA id 584953881; Sun, 12 Apr 2015 10:04:09 +0200
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
Subject: Re: bug#19120: 25.0.50; macosx: f10 does NOT go to the menu bar
From: "Jan D." <jan.h.d@HIDDEN>
In-Reply-To: <CAFsbZ7Y3KFGNDH35eAdh6etmBhV_dqFXKWLByCxEcSLnLkPJdw@HIDDEN>
Date: Sun, 12 Apr 2015 10:04:09 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <700A6A05-B019-4B80-9CBC-880F58EEEE5A@HIDDEN>
References: <m2389dvnuy.fsf@HIDDEN>
 <BBF5D66E-0F65-42F2-84D8-566044A3000B@HIDDEN>
 <CAFsbZ7Y3KFGNDH35eAdh6etmBhV_dqFXKWLByCxEcSLnLkPJdw@HIDDEN>
To: Sam Steingold <sds@HIDDEN>
X-Mailer: Apple Mail (2.2098)
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 19120
Cc: 19120 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

Hi.

> 12 apr 2015 kl. 09:29 skrev Sam Steingold <sds@HIDDEN>:
>=20
> Yes, _I_ did that implementation. :-)

:-)

> still, it would be nice to be able to tell emacs to pass certain keys =
to the OS.
> it _can_ be done on w32, so why not here too?
>=20

W32 and Cocoa are different API:s?

	Jan D.

> On Sat, Apr 11, 2015 at 5:15 AM, Jan D. <jan.h.d@HIDDEN> wrote:
>> Hi.
>>=20
>> There is a sort of implementation of this in trunk.  It opens the =
menu bar menus as a popup, but does not activate the menu bar like on X. =
 It seems to be hard to do in NS.
>>=20
>>        Jan D.
>>=20
>>> 20 nov 2014 kl. 17:27 skrev Sam Steingold <sds@HIDDEN>:
>>>=20
>>> In GNU Emacs 25.0.50.5 (x86_64-apple-darwin14.0.0, NS appkit-1343.16 =
Version 10.10.1 (Build 14B25))
>>> of 2014-11-19 on sds-MacBook-Pro.local
>>> Repository revision: f437176169cf1722f99938845c35eb40bf139b2d
>>> Windowing system distributor `Apple', version 10.3.1343
>>> Configured using:
>>> `configure --with-ns'
>>>=20
>>> <f10> runs the command menu-bar-open
>>> when I hit f10 I get the menu with 2 items ("search with google" and
>>> "add to itunes as a spoken track") near the reg/yellow/green buttons =
in
>>> the upper left corner.
>>> I do _not_ get the actual menu bar
>>> =
(Emacs/File/Edit/Options/Buffers/Tools/Field/Message/Text/Attacments/Help)=

>>>=20
>>>=20
>>> Configured features:
>>> IMAGEMAGICK ACL GNUTLS LIBXML2 ZLIB
>>>=20
>>> Important settings:
>>> value of $LANG: C
>>> locale-coding-system: utf-8-unix
>>>=20
>>> Major mode: iESS
>>>=20
>>> Minor modes in effect:
>>> diff-auto-refine-mode: t
>>> rcirc-track-minor-mode: t
>>> which-function-mode: t
>>> url-handler-mode: t
>>> show-paren-mode: t
>>> desktop-save-mode: t
>>> shell-dirtrack-mode: t
>>> tooltip-mode: t
>>> global-eldoc-mode: t
>>> eldoc-mode: t
>>> electric-indent-mode: t
>>> mouse-wheel-mode: t
>>> menu-bar-mode: t
>>> file-name-shadow-mode: t
>>> global-font-lock-mode: t
>>> font-lock-mode: t
>>> blink-cursor-mode: t
>>> auto-composition-mode: t
>>> auto-encryption-mode: t
>>> auto-compression-mode: t
>>> column-number-mode: t
>>> line-number-mode: t
>>>=20
>>> Recent messages:
>>> Quit
>>> Executing SQL command...
>>> Quit [2 times]
>>> Executing SQL command...done
>>> Mark saved where search started
>>> C-c C-t is undefined [2 times]
>>> C-c C-l r is undefined
>>> Scanning for dabbrevs...done [2 times]
>>> dabbrev--substitute-expansion: Search failed: "Advertising"
>>> Executing SQL command...done
>>>=20
>>> Load-path shadows:
>>> None found.
>>>=20
>>> Features:
>>> (shadow bbdb-message mailalias cookie1 nnir emacsbug sendmail
>>> smerge-mode pp ispell log-edit pcvs-util vc-bzr vc-sccs vc-svn =
vc-cvs
>>> vc-rcs tramp tramp-compat tramp-loaddefs trampver grep cal-move =
cal-x
>>> cal-china cal-bahai cal-islam cal-julian holidays hol-loaddefs =
cal-iso
>>> cal-hebrew lunar solar cal-dst appt diary-lib diary-loaddefs =
cal-menu
>>> calendar cal-loaddefs jka-compr eieio-opt speedbar sb-image ezimage
>>> dframe find-func apropos inf-lisp cl-indent skeleton sort gnus-cite
>>> smiley shr mm-archive gnus-bcklg mule-util url-expand url-util
>>> url-methods gnus-async gnus-dup qp mail-extr gnus-ml hl-line =
help-mode
>>> debug dabbrev disp-table misearch multi-isearch spam spam-stat =
gnus-uu
>>> yenc nndraft nnmh gnus-agent gnus-srvr gnus-score score-mode =
nnvirtual
>>> gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig mailcap
>>> utf-7 gnus-cache gnus-sum time-stamp bbdb-gnus gnutls network-stream
>>> starttls nntp gnus-group gnus-undo gnus-start gnus-cloud nnimap =
nnmail
>>> mail-source tls utf7 netrc nnoo parse-time gnus-spec gnus-int =
gnus-range
>>> gnus-win remember image-mode info js cperl-mode conf-mode dired-aux
>>> cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align =
cc-engine
>>> make-mode tex-mode sh-script smie python json message rfc822 mml =
mml-sec
>>> mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045
>>> ietf-drums gmm-utils mailheader bug-reference dired vc-hg vc-dir =
ewoc vc
>>> vc-dispatcher sql view vc-git diff-mode easy-mmode pig-mode add-log
>>> package epg-config midnight warnings gnus gnus-ems nnheader =
mail-utils
>>> wid-edit bbdb-mua bbdb-com crm mailabbrev bbdb-loaddefs bbdb =
bbdb-site
>>> timezone rcirc server which-func imenu url-handlers url-parse
>>> auth-source cl-macs eieio byte-opt bytecomp byte-compile cl-extra =
cconv
>>> eieio-core gnus-util mm-util mail-prsvr password-cache url-vars =
paren
>>> help-at-pt desktop frameset cus-start cus-load ido ess-toolbar =
ess-mouse
>>> mouseme thingatpt browse-url ess-menu ess-swv ess-noweb
>>> ess-noweb-font-lock-mode ess-bugs-l essd-els ess-sas-d ess-sas-l
>>> ess-sas-a shell pcomplete ess-sta-d ess-sta-l cc-vars cc-defs
>>> make-regexp ess-sp6-d ess-sp3-d ess-julia ess-r-d compile =
ess-tracebug
>>> format-spec ess-roxy advice help-fns hideshow ess-help ess-developer
>>> ess-r-args ess-s-l ess ess-inf comint ansi-color ring ess-mode
>>> ess-noweb-mode ess-utils ess-custom executable easymenu ess-compat
>>> ess-site cl gv cl-loaddefs cl-lib time-date tooltip eldoc electric
>>> uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar =
dnd
>>> fontset image regexp-opt fringe tabulated-list newcomment elisp-mode
>>> lisp-mode prog-mode register page menu-bar rfn-eshadow timer select
>>> scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame =
cham
>>> georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
>>> korean japanese hebrew greek romanian slovak czech european ethiopic
>>> indian cyrillic chinese case-table epa-hook jka-cmpr-hook help =
simple
>>> abbrev minibuffer nadvice loaddefs button faces cus-face macroexp =
files
>>> text-properties overlay sha1 md5 base64 format env code-pages mule
>>> custom widget hashtable-print-readable backquote =
make-network-process
>>> cocoa ns multi-tty emacs)
>>>=20
>>> Memory information:
>>> ((conses 16 681614 96441)
>>> (symbols 48 70959 0)
>>> (miscs 40 7667 2548)
>>> (strings 32 200638 5512)
>>> (string-bytes 1 5201413)
>>> (vectors 16 54443)
>>> (vector-slots 8 919902 43141)
>>> (floats 8 942 2302)
>>> (intervals 56 27513 7)
>>> (buffers 976 140))
>>>=20
>>> --
>>> Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1343
>>> http://www.childpsy.net/ http://openvotingconsortium.org
>>> http://americancensorship.org http://dhimmi.org =
http://thereligionofpeace.com
>>> If Microsoft wrote poetry, it would have patented dactyl and =
anapest.
>>>=20
>>>=20
>>=20
>=20
>=20
>=20
> --=20
> Sam Steingold <http://sds.podval.org> <http://www.childpsy.net/>





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#19120; Package emacs. Full text available.

Message received at 19120 <at> debbugs.gnu.org:


Received: (at 19120) by debbugs.gnu.org; 12 Apr 2015 07:29:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 12 03:29:14 2015
Received: from localhost ([127.0.0.1]:53639 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YhCKP-0000n1-He
	for submit <at> debbugs.gnu.org; Sun, 12 Apr 2015 03:29:14 -0400
Received: from mail-pa0-f46.google.com ([209.85.220.46]:35208)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <sam.steingold@HIDDEN>) id 1YhCKM-0000mK-LL
 for 19120 <at> debbugs.gnu.org; Sun, 12 Apr 2015 03:29:12 -0400
Received: by pabtp1 with SMTP id tp1so68171206pab.2
 for <19120 <at> debbugs.gnu.org>; Sun, 12 Apr 2015 00:29:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:sender:in-reply-to:references:date:message-id:subject
 :from:to:cc:content-type;
 bh=sTumH6PFConhoGJWYa1+mEcPK2mRIaIPIxT23hFvB9s=;
 b=04YYgVZMN+A0HpSJ4lAVImorefmMWb87lTuzbOGS9xsj11lH3OL1O/W8QSS9ZYneDC
 ExEN1cGT/io5Lr1TVRZ8cfmTuanfT1rgYJHmJ3kRcEDsNmjvlRItF9IDwcw5G+boZgSv
 LjyrGg5dkQceASfC9Km/1ErLuZaLVvwMBJmbwZDUyESLo1gdfBS0LiPPKF+ZcjbaocwH
 AUGMDHd8AzMwRWjxSb+gtwazPgAM4dBg7G4CuGtCNZYo+I5mjD/aZXr+hkcyehqelqoz
 Z/pcoPOwclzZZqj/nNZIOND84nORyZd8vP1nN6xHWUSN3WiHkJN1urHMaFqVjmn0c5Gu
 l/SQ==
MIME-Version: 1.0
X-Received: by 10.70.89.102 with SMTP id bn6mr1058224pdb.48.1428823744459;
 Sun, 12 Apr 2015 00:29:04 -0700 (PDT)
Received: by 10.70.126.73 with HTTP; Sun, 12 Apr 2015 00:29:04 -0700 (PDT)
In-Reply-To: <BBF5D66E-0F65-42F2-84D8-566044A3000B@HIDDEN>
References: <m2389dvnuy.fsf@HIDDEN>
 <BBF5D66E-0F65-42F2-84D8-566044A3000B@HIDDEN>
Date: Sun, 12 Apr 2015 03:29:04 -0400
X-Google-Sender-Auth: N5ZSubtr_iTL_QQ-TvGfHZ94Ws8
Message-ID: <CAFsbZ7Y3KFGNDH35eAdh6etmBhV_dqFXKWLByCxEcSLnLkPJdw@HIDDEN>
Subject: Re: bug#19120: 25.0.50; macosx: f10 does NOT go to the menu bar
From: Sam Steingold <sds@HIDDEN>
To: "Jan D." <jan.h.d@HIDDEN>
Content-Type: text/plain; charset=UTF-8
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 19120
Cc: 19120 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

Yes, _I_ did that implementation. :-)
still, it would be nice to be able to tell emacs to pass certain keys to the OS.
it _can_ be done on w32, so why not here too?

On Sat, Apr 11, 2015 at 5:15 AM, Jan D. <jan.h.d@HIDDEN> wrote:
> Hi.
>
> There is a sort of implementation of this in trunk.  It opens the menu bar menus as a popup, but does not activate the menu bar like on X.  It seems to be hard to do in NS.
>
>         Jan D.
>
>> 20 nov 2014 kl. 17:27 skrev Sam Steingold <sds@HIDDEN>:
>>
>> In GNU Emacs 25.0.50.5 (x86_64-apple-darwin14.0.0, NS appkit-1343.16 Version 10.10.1 (Build 14B25))
>> of 2014-11-19 on sds-MacBook-Pro.local
>> Repository revision: f437176169cf1722f99938845c35eb40bf139b2d
>> Windowing system distributor `Apple', version 10.3.1343
>> Configured using:
>> `configure --with-ns'
>>
>> <f10> runs the command menu-bar-open
>> when I hit f10 I get the menu with 2 items ("search with google" and
>> "add to itunes as a spoken track") near the reg/yellow/green buttons in
>> the upper left corner.
>> I do _not_ get the actual menu bar
>> (Emacs/File/Edit/Options/Buffers/Tools/Field/Message/Text/Attacments/Help)
>>
>>
>> Configured features:
>> IMAGEMAGICK ACL GNUTLS LIBXML2 ZLIB
>>
>> Important settings:
>>  value of $LANG: C
>>  locale-coding-system: utf-8-unix
>>
>> Major mode: iESS
>>
>> Minor modes in effect:
>>  diff-auto-refine-mode: t
>>  rcirc-track-minor-mode: t
>>  which-function-mode: t
>>  url-handler-mode: t
>>  show-paren-mode: t
>>  desktop-save-mode: t
>>  shell-dirtrack-mode: t
>>  tooltip-mode: t
>>  global-eldoc-mode: t
>>  eldoc-mode: t
>>  electric-indent-mode: t
>>  mouse-wheel-mode: t
>>  menu-bar-mode: t
>>  file-name-shadow-mode: t
>>  global-font-lock-mode: t
>>  font-lock-mode: t
>>  blink-cursor-mode: t
>>  auto-composition-mode: t
>>  auto-encryption-mode: t
>>  auto-compression-mode: t
>>  column-number-mode: t
>>  line-number-mode: t
>>
>> Recent messages:
>> Quit
>> Executing SQL command...
>> Quit [2 times]
>> Executing SQL command...done
>> Mark saved where search started
>> C-c C-t is undefined [2 times]
>> C-c C-l r is undefined
>> Scanning for dabbrevs...done [2 times]
>> dabbrev--substitute-expansion: Search failed: "Advertising"
>> Executing SQL command...done
>>
>> Load-path shadows:
>> None found.
>>
>> Features:
>> (shadow bbdb-message mailalias cookie1 nnir emacsbug sendmail
>> smerge-mode pp ispell log-edit pcvs-util vc-bzr vc-sccs vc-svn vc-cvs
>> vc-rcs tramp tramp-compat tramp-loaddefs trampver grep cal-move cal-x
>> cal-china cal-bahai cal-islam cal-julian holidays hol-loaddefs cal-iso
>> cal-hebrew lunar solar cal-dst appt diary-lib diary-loaddefs cal-menu
>> calendar cal-loaddefs jka-compr eieio-opt speedbar sb-image ezimage
>> dframe find-func apropos inf-lisp cl-indent skeleton sort gnus-cite
>> smiley shr mm-archive gnus-bcklg mule-util url-expand url-util
>> url-methods gnus-async gnus-dup qp mail-extr gnus-ml hl-line help-mode
>> debug dabbrev disp-table misearch multi-isearch spam spam-stat gnus-uu
>> yenc nndraft nnmh gnus-agent gnus-srvr gnus-score score-mode nnvirtual
>> gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig mailcap
>> utf-7 gnus-cache gnus-sum time-stamp bbdb-gnus gnutls network-stream
>> starttls nntp gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail
>> mail-source tls utf7 netrc nnoo parse-time gnus-spec gnus-int gnus-range
>> gnus-win remember image-mode info js cperl-mode conf-mode dired-aux
>> cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine
>> make-mode tex-mode sh-script smie python json message rfc822 mml mml-sec
>> mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045
>> ietf-drums gmm-utils mailheader bug-reference dired vc-hg vc-dir ewoc vc
>> vc-dispatcher sql view vc-git diff-mode easy-mmode pig-mode add-log
>> package epg-config midnight warnings gnus gnus-ems nnheader mail-utils
>> wid-edit bbdb-mua bbdb-com crm mailabbrev bbdb-loaddefs bbdb bbdb-site
>> timezone rcirc server which-func imenu url-handlers url-parse
>> auth-source cl-macs eieio byte-opt bytecomp byte-compile cl-extra cconv
>> eieio-core gnus-util mm-util mail-prsvr password-cache url-vars paren
>> help-at-pt desktop frameset cus-start cus-load ido ess-toolbar ess-mouse
>> mouseme thingatpt browse-url ess-menu ess-swv ess-noweb
>> ess-noweb-font-lock-mode ess-bugs-l essd-els ess-sas-d ess-sas-l
>> ess-sas-a shell pcomplete ess-sta-d ess-sta-l cc-vars cc-defs
>> make-regexp ess-sp6-d ess-sp3-d ess-julia ess-r-d compile ess-tracebug
>> format-spec ess-roxy advice help-fns hideshow ess-help ess-developer
>> ess-r-args ess-s-l ess ess-inf comint ansi-color ring ess-mode
>> ess-noweb-mode ess-utils ess-custom executable easymenu ess-compat
>> ess-site cl gv cl-loaddefs cl-lib time-date tooltip eldoc electric
>> uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd
>> fontset image regexp-opt fringe tabulated-list newcomment elisp-mode
>> lisp-mode prog-mode register page menu-bar rfn-eshadow timer select
>> scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham
>> georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
>> korean japanese hebrew greek romanian slovak czech european ethiopic
>> indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple
>> abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files
>> text-properties overlay sha1 md5 base64 format env code-pages mule
>> custom widget hashtable-print-readable backquote make-network-process
>> cocoa ns multi-tty emacs)
>>
>> Memory information:
>> ((conses 16 681614 96441)
>> (symbols 48 70959 0)
>> (miscs 40 7667 2548)
>> (strings 32 200638 5512)
>> (string-bytes 1 5201413)
>> (vectors 16 54443)
>> (vector-slots 8 919902 43141)
>> (floats 8 942 2302)
>> (intervals 56 27513 7)
>> (buffers 976 140))
>>
>> --
>> Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1343
>> http://www.childpsy.net/ http://openvotingconsortium.org
>> http://americancensorship.org http://dhimmi.org http://thereligionofpeace.com
>> If Microsoft wrote poetry, it would have patented dactyl and anapest.
>>
>>
>



-- 
Sam Steingold <http://sds.podval.org> <http://www.childpsy.net/>




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#19120; Package emacs. Full text available.

Message received at 19120 <at> debbugs.gnu.org:


Received: (at 19120) by debbugs.gnu.org; 11 Apr 2015 09:15:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 11 05:15:44 2015
Received: from localhost ([127.0.0.1]:52844 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YgrVv-0006aW-UD
	for submit <at> debbugs.gnu.org; Sat, 11 Apr 2015 05:15:44 -0400
Received: from mailfe06.swip.net ([212.247.154.161]:49927 helo=swip.net)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <jan.h.d@HIDDEN>) id 1YgrVr-0006a7-50
 for 19120 <at> debbugs.gnu.org; Sat, 11 Apr 2015 05:15:41 -0400
X-T2-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00
Received: from hosdjarv.se (account mj138573@HIDDEN [46.59.42.57] verified)
 by mailfe06.swip.net (CommuniGate Pro SMTP 5.4.4)
 with ESMTPA id 584791367; Sat, 11 Apr 2015 11:15:31 +0200
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
Subject: Re: bug#19120: 25.0.50; macosx: f10 does NOT go to the menu bar
From: "Jan D." <jan.h.d@HIDDEN>
In-Reply-To: <m2389dvnuy.fsf@HIDDEN>
Date: Sat, 11 Apr 2015 11:15:30 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <BBF5D66E-0F65-42F2-84D8-566044A3000B@HIDDEN>
References: <m2389dvnuy.fsf@HIDDEN>
To: sds@HIDDEN
X-Mailer: Apple Mail (2.2098)
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 19120
Cc: 19120 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

Hi.

There is a sort of implementation of this in trunk.  It opens the menu =
bar menus as a popup, but does not activate the menu bar like on X.  It =
seems to be hard to do in NS.

	Jan D.

> 20 nov 2014 kl. 17:27 skrev Sam Steingold <sds@HIDDEN>:
>=20
> In GNU Emacs 25.0.50.5 (x86_64-apple-darwin14.0.0, NS appkit-1343.16 =
Version 10.10.1 (Build 14B25))
> of 2014-11-19 on sds-MacBook-Pro.local
> Repository revision: f437176169cf1722f99938845c35eb40bf139b2d
> Windowing system distributor `Apple', version 10.3.1343
> Configured using:
> `configure --with-ns'
>=20
> <f10> runs the command menu-bar-open
> when I hit f10 I get the menu with 2 items ("search with google" and
> "add to itunes as a spoken track") near the reg/yellow/green buttons =
in
> the upper left corner.
> I do _not_ get the actual menu bar
> =
(Emacs/File/Edit/Options/Buffers/Tools/Field/Message/Text/Attacments/Help)=

>=20
>=20
> Configured features:
> IMAGEMAGICK ACL GNUTLS LIBXML2 ZLIB
>=20
> Important settings:
>  value of $LANG: C
>  locale-coding-system: utf-8-unix
>=20
> Major mode: iESS
>=20
> Minor modes in effect:
>  diff-auto-refine-mode: t
>  rcirc-track-minor-mode: t
>  which-function-mode: t
>  url-handler-mode: t
>  show-paren-mode: t
>  desktop-save-mode: t
>  shell-dirtrack-mode: t
>  tooltip-mode: t
>  global-eldoc-mode: t
>  eldoc-mode: t
>  electric-indent-mode: t
>  mouse-wheel-mode: t
>  menu-bar-mode: t
>  file-name-shadow-mode: t
>  global-font-lock-mode: t
>  font-lock-mode: t
>  blink-cursor-mode: t
>  auto-composition-mode: t
>  auto-encryption-mode: t
>  auto-compression-mode: t
>  column-number-mode: t
>  line-number-mode: t
>=20
> Recent messages:
> Quit
> Executing SQL command...
> Quit [2 times]
> Executing SQL command...done
> Mark saved where search started
> C-c C-t is undefined [2 times]
> C-c C-l r is undefined
> Scanning for dabbrevs...done [2 times]
> dabbrev--substitute-expansion: Search failed: "Advertising"
> Executing SQL command...done
>=20
> Load-path shadows:
> None found.
>=20
> Features:
> (shadow bbdb-message mailalias cookie1 nnir emacsbug sendmail
> smerge-mode pp ispell log-edit pcvs-util vc-bzr vc-sccs vc-svn vc-cvs
> vc-rcs tramp tramp-compat tramp-loaddefs trampver grep cal-move cal-x
> cal-china cal-bahai cal-islam cal-julian holidays hol-loaddefs cal-iso
> cal-hebrew lunar solar cal-dst appt diary-lib diary-loaddefs cal-menu
> calendar cal-loaddefs jka-compr eieio-opt speedbar sb-image ezimage
> dframe find-func apropos inf-lisp cl-indent skeleton sort gnus-cite
> smiley shr mm-archive gnus-bcklg mule-util url-expand url-util
> url-methods gnus-async gnus-dup qp mail-extr gnus-ml hl-line help-mode
> debug dabbrev disp-table misearch multi-isearch spam spam-stat gnus-uu
> yenc nndraft nnmh gnus-agent gnus-srvr gnus-score score-mode nnvirtual
> gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig mailcap
> utf-7 gnus-cache gnus-sum time-stamp bbdb-gnus gnutls network-stream
> starttls nntp gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail
> mail-source tls utf7 netrc nnoo parse-time gnus-spec gnus-int =
gnus-range
> gnus-win remember image-mode info js cperl-mode conf-mode dired-aux
> cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align =
cc-engine
> make-mode tex-mode sh-script smie python json message rfc822 mml =
mml-sec
> mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045
> ietf-drums gmm-utils mailheader bug-reference dired vc-hg vc-dir ewoc =
vc
> vc-dispatcher sql view vc-git diff-mode easy-mmode pig-mode add-log
> package epg-config midnight warnings gnus gnus-ems nnheader mail-utils
> wid-edit bbdb-mua bbdb-com crm mailabbrev bbdb-loaddefs bbdb bbdb-site
> timezone rcirc server which-func imenu url-handlers url-parse
> auth-source cl-macs eieio byte-opt bytecomp byte-compile cl-extra =
cconv
> eieio-core gnus-util mm-util mail-prsvr password-cache url-vars paren
> help-at-pt desktop frameset cus-start cus-load ido ess-toolbar =
ess-mouse
> mouseme thingatpt browse-url ess-menu ess-swv ess-noweb
> ess-noweb-font-lock-mode ess-bugs-l essd-els ess-sas-d ess-sas-l
> ess-sas-a shell pcomplete ess-sta-d ess-sta-l cc-vars cc-defs
> make-regexp ess-sp6-d ess-sp3-d ess-julia ess-r-d compile ess-tracebug
> format-spec ess-roxy advice help-fns hideshow ess-help ess-developer
> ess-r-args ess-s-l ess ess-inf comint ansi-color ring ess-mode
> ess-noweb-mode ess-utils ess-custom executable easymenu ess-compat
> ess-site cl gv cl-loaddefs cl-lib time-date tooltip eldoc electric
> uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar =
dnd
> fontset image regexp-opt fringe tabulated-list newcomment elisp-mode
> lisp-mode prog-mode register page menu-bar rfn-eshadow timer select
> scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame =
cham
> georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
> korean japanese hebrew greek romanian slovak czech european ethiopic
> indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple
> abbrev minibuffer nadvice loaddefs button faces cus-face macroexp =
files
> text-properties overlay sha1 md5 base64 format env code-pages mule
> custom widget hashtable-print-readable backquote make-network-process
> cocoa ns multi-tty emacs)
>=20
> Memory information:
> ((conses 16 681614 96441)
> (symbols 48 70959 0)
> (miscs 40 7667 2548)
> (strings 32 200638 5512)
> (string-bytes 1 5201413)
> (vectors 16 54443)
> (vector-slots 8 919902 43141)
> (floats 8 942 2302)
> (intervals 56 27513 7)
> (buffers 976 140))
>=20
> --=20
> Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1343
> http://www.childpsy.net/ http://openvotingconsortium.org
> http://americancensorship.org http://dhimmi.org =
http://thereligionofpeace.com
> If Microsoft wrote poetry, it would have patented dactyl and anapest.
>=20
>=20





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#19120; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 20 Nov 2014 16:28:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 20 11:28:02 2014
Received: from localhost ([127.0.0.1]:39714 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1XrUaO-0002er-T8
	for submit <at> debbugs.gnu.org; Thu, 20 Nov 2014 11:28:01 -0500
Received: from eggs.gnu.org ([208.118.235.92]:49346)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <sam.steingold@HIDDEN>) id 1XrUaM-0002ei-C1
 for submit <at> debbugs.gnu.org; Thu, 20 Nov 2014 11:27:59 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <sam.steingold@HIDDEN>) id 1XrUaI-0003l3-81
 for submit <at> debbugs.gnu.org; Thu, 20 Nov 2014 11:27:58 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:53268)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <sam.steingold@HIDDEN>) id 1XrUaI-0003kt-3p
 for submit <at> debbugs.gnu.org; Thu, 20 Nov 2014 11:27:54 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:51019)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <sam.steingold@HIDDEN>) id 1XrUaE-00028D-4G
 for bug-gnu-emacs@HIDDEN; Thu, 20 Nov 2014 11:27:54 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <sam.steingold@HIDDEN>) id 1XrUa7-0003eL-Oc
 for bug-gnu-emacs@HIDDEN; Thu, 20 Nov 2014 11:27:50 -0500
Received: from mail-qc0-x22f.google.com ([2607:f8b0:400d:c01::22f]:46474)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <sam.steingold@HIDDEN>)
 id 1XrUa0-0003b4-Dz; Thu, 20 Nov 2014 11:27:36 -0500
Received: by mail-qc0-f175.google.com with SMTP id b13so2630308qcw.34
 for <multiple recipients>; Thu, 20 Nov 2014 08:27:36 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=sender:from:to:subject:user-agent:return-receipt-to:reply-to:date
 :message-id:mime-version:content-type;
 bh=1y/vCUIRFLSqedB+15Nh55rIjIqc5zuUhRs62RpgHtw=;
 b=S/gQ5NDAmHl52l7zZGy42/rlQF+BXlsznyxcgf3/DJ0UjV+mu+62EmIOaqe+2tF553
 XBI9LBR0ti6pnvR5rOyKoUwu2HQnWj8O8+JbyUkkJ4BepGqLWK6HgzX2DJMS4A15t9fl
 uKo82i7RrlFkhHUdSkxG8rgT8WywkN4DKVn38EmvpA7zkYmfPMNpk3fYb4HPaQm4A3YZ
 h3ePjAbQ3fESREsuSG9BTAwdKHv312RWOWBMM5lKSvRHQLlJlAs3Do6oYSMQRg0lkHjs
 UIGFBiIg6WLHdp1PrsJf0tdfJVVZF+bz+jbu8in4So/ZWXhUjF8YrTS3sR87OO1srD9Z
 /R8g==
X-Received: by 10.224.3.134 with SMTP id 6mr62659665qan.87.1416500855839;
 Thu, 20 Nov 2014 08:27:35 -0800 (PST)
Received: from sds-MacBook-Pro.local ([66.9.135.66])
 by mx.google.com with ESMTPSA id 37sm2341516qgg.42.2014.11.20.08.27.33
 for <multiple recipients>
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Thu, 20 Nov 2014 08:27:34 -0800 (PST)
From: Sam Steingold <sds@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 25.0.50; macosx: f10 does NOT go to the menu bar
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (darwin)
X-Attribution: Sam
X-Disclaimer: You should not expect anyone to agree with me.
Date: Thu, 20 Nov 2014 11:27:33 -0500
Message-ID: <m2389dvnuy.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: sds@HIDDEN
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

In GNU Emacs 25.0.50.5 (x86_64-apple-darwin14.0.0, NS appkit-1343.16 Version 10.10.1 (Build 14B25))
 of 2014-11-19 on sds-MacBook-Pro.local
Repository revision: f437176169cf1722f99938845c35eb40bf139b2d
Windowing system distributor `Apple', version 10.3.1343
Configured using:
 `configure --with-ns'

<f10> runs the command menu-bar-open
when I hit f10 I get the menu with 2 items ("search with google" and
"add to itunes as a spoken track") near the reg/yellow/green buttons in
the upper left corner.
I do _not_ get the actual menu bar
(Emacs/File/Edit/Options/Buffers/Tools/Field/Message/Text/Attacments/Help)


Configured features:
IMAGEMAGICK ACL GNUTLS LIBXML2 ZLIB

Important settings:
  value of $LANG: C
  locale-coding-system: utf-8-unix

Major mode: iESS

Minor modes in effect:
  diff-auto-refine-mode: t
  rcirc-track-minor-mode: t
  which-function-mode: t
  url-handler-mode: t
  show-paren-mode: t
  desktop-save-mode: t
  shell-dirtrack-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t

Recent messages:
Quit
Executing SQL command...
Quit [2 times]
Executing SQL command...done
Mark saved where search started
C-c C-t is undefined [2 times]
C-c C-l r is undefined
Scanning for dabbrevs...done [2 times]
dabbrev--substitute-expansion: Search failed: "Advertising"
Executing SQL command...done

Load-path shadows:
None found.

Features:
(shadow bbdb-message mailalias cookie1 nnir emacsbug sendmail
smerge-mode pp ispell log-edit pcvs-util vc-bzr vc-sccs vc-svn vc-cvs
vc-rcs tramp tramp-compat tramp-loaddefs trampver grep cal-move cal-x
cal-china cal-bahai cal-islam cal-julian holidays hol-loaddefs cal-iso
cal-hebrew lunar solar cal-dst appt diary-lib diary-loaddefs cal-menu
calendar cal-loaddefs jka-compr eieio-opt speedbar sb-image ezimage
dframe find-func apropos inf-lisp cl-indent skeleton sort gnus-cite
smiley shr mm-archive gnus-bcklg mule-util url-expand url-util
url-methods gnus-async gnus-dup qp mail-extr gnus-ml hl-line help-mode
debug dabbrev disp-table misearch multi-isearch spam spam-stat gnus-uu
yenc nndraft nnmh gnus-agent gnus-srvr gnus-score score-mode nnvirtual
gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig mailcap
utf-7 gnus-cache gnus-sum time-stamp bbdb-gnus gnutls network-stream
starttls nntp gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail
mail-source tls utf7 netrc nnoo parse-time gnus-spec gnus-int gnus-range
gnus-win remember image-mode info js cperl-mode conf-mode dired-aux
cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine
make-mode tex-mode sh-script smie python json message rfc822 mml mml-sec
mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045
ietf-drums gmm-utils mailheader bug-reference dired vc-hg vc-dir ewoc vc
vc-dispatcher sql view vc-git diff-mode easy-mmode pig-mode add-log
package epg-config midnight warnings gnus gnus-ems nnheader mail-utils
wid-edit bbdb-mua bbdb-com crm mailabbrev bbdb-loaddefs bbdb bbdb-site
timezone rcirc server which-func imenu url-handlers url-parse
auth-source cl-macs eieio byte-opt bytecomp byte-compile cl-extra cconv
eieio-core gnus-util mm-util mail-prsvr password-cache url-vars paren
help-at-pt desktop frameset cus-start cus-load ido ess-toolbar ess-mouse
mouseme thingatpt browse-url ess-menu ess-swv ess-noweb
ess-noweb-font-lock-mode ess-bugs-l essd-els ess-sas-d ess-sas-l
ess-sas-a shell pcomplete ess-sta-d ess-sta-l cc-vars cc-defs
make-regexp ess-sp6-d ess-sp3-d ess-julia ess-r-d compile ess-tracebug
format-spec ess-roxy advice help-fns hideshow ess-help ess-developer
ess-r-args ess-s-l ess ess-inf comint ansi-color ring ess-mode
ess-noweb-mode ess-utils ess-custom executable easymenu ess-compat
ess-site cl gv cl-loaddefs cl-lib time-date tooltip eldoc electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd
fontset image regexp-opt fringe tabulated-list newcomment elisp-mode
lisp-mode prog-mode register page menu-bar rfn-eshadow timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese hebrew greek romanian slovak czech european ethiopic
indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple
abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process
cocoa ns multi-tty emacs)

Memory information:
((conses 16 681614 96441)
 (symbols 48 70959 0)
 (miscs 40 7667 2548)
 (strings 32 200638 5512)
 (string-bytes 1 5201413)
 (vectors 16 54443)
 (vector-slots 8 919902 43141)
 (floats 8 942 2302)
 (intervals 56 27513 7)
 (buffers 976 140))

-- 
Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1343
http://www.childpsy.net/ http://openvotingconsortium.org
http://americancensorship.org http://dhimmi.org http://thereligionofpeace.com
If Microsoft wrote poetry, it would have patented dactyl and anapest.




Acknowledgement sent to sds@HIDDEN:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#19120; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 24 Oct 2021 07:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.