From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#53322: 28.0.91; "C-h c" errors out for menu-bar clicks Date: Wed, 19 Jan 2022 22:15:50 +0200 Message-ID: <83zgnrqy6h.fsf@gnu.org> References: <83y23eutnq.fsf@gnu.org> <83v8yiurjw.fsf@gnu.org> <8635ljy5vw.fsf@mail.linkov.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2908"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 53322@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 19 21:16:44 2022 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 1nAHNs-0000Yd-1b for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 19 Jan 2022 21:16:44 +0100 Original-Received: from localhost ([::1]:41116 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nAHNr-0002tC-2G for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 19 Jan 2022 15:16:43 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:59646) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAHNC-0002O7-7o for bug-gnu-emacs@gnu.org; Wed, 19 Jan 2022 15:16:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34399) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nAHNB-0001rB-UL for bug-gnu-emacs@gnu.org; Wed, 19 Jan 2022 15:16:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nAHNB-0001p3-Qa for bug-gnu-emacs@gnu.org; Wed, 19 Jan 2022 15:16:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Jan 2022 20:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53322 X-GNU-PR-Package: emacs Original-Received: via spool by 53322-submit@debbugs.gnu.org id=B53322.16426233616997 (code B ref 53322); Wed, 19 Jan 2022 20:16:01 +0000 Original-Received: (at 53322) by debbugs.gnu.org; 19 Jan 2022 20:16:01 +0000 Original-Received: from localhost ([127.0.0.1]:55535 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAHNA-0001ol-Lm for submit@debbugs.gnu.org; Wed, 19 Jan 2022 15:16:00 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58896) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAHN8-0001oX-T2 for 53322@debbugs.gnu.org; Wed, 19 Jan 2022 15:15:59 -0500 Original-Received: from [2001:470:142:3::e] (port=50130 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAHN3-0001qk-1V; Wed, 19 Jan 2022 15:15:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=vBc04I8drm50azHKBsUhVLxMsP8oF3hiRqHE4AAjISA=; b=BqlEsuj4ObAu mNDoVtopZIKQVp989aFtYajvDBA27vEVl0XIq74y94514N29L6RXzNpkJaV9x0mV6xbcxLwrm//fY s+nPLWc8iNFzyZ6U+LVC9GwtH7EwtXt1JxR2BWP3S2g/0HUL1VbpqkWWmFJDuI22c221TJDNOtyTB a0W/EFIS09qirEnCh1eGLrYTGGGVjboSwXjDuYkuVbGH/7IO6DtmBL9sN3f4Y++gdQ51xhLV93qLR plaGpq2F2LEIBu+4cQd+Hc9zMPXj5F/xGQFeFtPb3nLfsyvX9IJhfjndBW67FbVUaBZnFZd3EEDrF 0GagxlQPxCPOvtfXx0qq5Q==; Original-Received: from [87.69.77.57] (port=4617 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAHN3-0003G4-1F; Wed, 19 Jan 2022 15:15:53 -0500 In-Reply-To: <8635ljy5vw.fsf@mail.linkov.net> (message from Juri Linkov on Wed, 19 Jan 2022 20:30:31 +0200) 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:224630 Archived-At: > From: Juri Linkov > Cc: 53322@debbugs.gnu.org > Date: Wed, 19 Jan 2022 20:30:31 +0200 > > > * lisp/help.el (help--analyze-key): Use posn-set-point instead of > > mouse-set-point that runs the hook mouse-leave-buffer-hook via > > mouse-minibuffer-check. Using posn-set-point also unnecessitates > > extra conditions added in bug#51421. > > > > The sad part is that the "unnecessary extra conditions" added in > > bug#51421 fixed the very problem that your change now reintroduced. > > > > Did you test that change with the original recipe which was solved in > > bug#51421? Did it work for you back then? > > Naturally, I tested this change with the original recipe from bug#51421. > And it did work then as well as it's working now. I don't understand > where is the problem? I reported the problem: it's posn-set-point that barfs when the event is outside of the text area. The menu-bar menus have some of their items (the first ones) at coordinates that are outside of the text area, assuming the tool bar and/or the tab bar are displayed. So posn-set-point barfs.