Eli Zaretskii <eliz@HIDDEN>
to control <at> debbugs.gnu.org.
Full text available.Received: (at 81376) by debbugs.gnu.org; 8 Jul 2026 12:58:15 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 08 08:58:15 2026 Received: from localhost ([127.0.0.1]:39133 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1whRqw-0005QF-To for submit <at> debbugs.gnu.org; Wed, 08 Jul 2026 08:58:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44466) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1whRqs-0005PU-O6; Wed, 08 Jul 2026 08:58:12 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1whRqn-0001Fz-Bv; Wed, 08 Jul 2026 08:58:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=th1IVhjA7lxaVq5j8P3S+X0/tnBoT+UzWoGFq6XMCn0=; b=S413PYD+UTvu37WEAJnn Bl/uAX+J17V1ucIrOBJkYMWPbLgADpMez44fTBt6L5mnGBvHo54xcfiowFUxJy5WObchE2cteIXpm wOLI/RWR1EhcqGlWu5uJ6ERpnwDWlN9AtqE3EU+E9vcviaNRZLXZ9MwpRpF6JQs29fyvll9Yqcrdy aDR/nlgtgz8YtJGCjV+hSMBegEpE/Q1e8vCDWZf+pf7E3/5kkk5lHJkERp9HM+pIxP5pBEN9ilAHv +oJlyIdxRtpY1/1X5WI0Y3WM+YycucX6RMmhWu9zG3ZBgMIE7h0N8k41L6TOXrylytgzXZViGX1WM KsZY8XvLbPooZA==; Date: Wed, 08 Jul 2026 15:58:01 +0300 Message-Id: <8633xt7i5i.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Johann =?utf-8?Q?H=C3=B6chtl?= <johann.hoechtl@HIDDEN> In-Reply-To: <CAH4isRynHeCjY1YMmKjgQzuTODrpzuV+ePJrvcfVcmOmL1CC8g@HIDDEN> (message from Johann =?utf-8?Q?H=C3=B6chtl?= on Wed, 8 Jul 2026 12:44:14 +0200) Subject: Re: bug#81376: tui context-menu-mode mouse-3 causes immediate action References: <CAH4isRynHeCjY1YMmKjgQzuTODrpzuV+ePJrvcfVcmOmL1CC8g@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 81376 Cc: 81376 <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: -3.3 (---) tags 81376 notabug thanks > From: Johann Höchtl <johann.hoechtl@HIDDEN> > Date: Wed, 8 Jul 2026 12:44:14 +0200 > > I tried this with a very recent Emacs build of master on Windows TUI but the behavior certainly exists with other > recent emacs releases. Didn't test on Linux console. > > Steps to reproduce: > > emacs -nw -Q > M-x context-menu-mode > mouse-3 click and release > > The first entry in the context menu is highlighted and with mouse-3 release executed. I personally find this > counterintuitive. I didn't find a detailed description if this is the intended behaviour but as Undo ist in many > cases the first entry of context menu, this causes the buffer to alter. > > I would expect that mouse-3-down just opens the context menu, but a mouse-3-up wouldn't immediately > execute the then highlighted entry in the context menu. This is not specific to MS-Windows. The TTY menus are based on the code which was written for the X build without any toolkit. What you see is how popup menus work there. You need to remember not to release the mouse button until you make sure the mouse pointer is on the item you want, because releasing the button executes the item's binding in a popup menu. This is not a bug.
bug-gnu-emacs@HIDDEN:bug#81376; Package emacs.
Full text available.Received: (at submit) by debbugs.gnu.org; 8 Jul 2026 10:44:40 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 08 06:44:39 2026 Received: from localhost ([127.0.0.1]:38165 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1whPld-0002bx-71 for submit <at> debbugs.gnu.org; Wed, 08 Jul 2026 06:44:39 -0400 Received: from lists1p.gnu.org ([2001:470:142::17]:34646) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <johann.hoechtl@HIDDEN>) id 1whPla-0002aW-1F for submit <at> debbugs.gnu.org; Wed, 08 Jul 2026 06:44:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <johann.hoechtl@HIDDEN>) id 1whPlU-0001HP-KN for bug-gnu-emacs@HIDDEN; Wed, 08 Jul 2026 06:44:28 -0400 Received: from mail-yw1-x112b.google.com ([2607:f8b0:4864:20::112b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <johann.hoechtl@HIDDEN>) id 1whPlT-0003en-7m for bug-gnu-emacs@HIDDEN; Wed, 08 Jul 2026 06:44:28 -0400 Received: by mail-yw1-x112b.google.com with SMTP id 00721157ae682-80bb8287d99so7755257b3.1 for <bug-gnu-emacs@HIDDEN>; Wed, 08 Jul 2026 03:44:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1783507466; cv=none; d=google.com; s=arc-20260327; b=W8r6CiSFxqQ4QCx2mdjW6KGwXeP9G/mgTy8YrlJ/Fg0lHigjjhPk86lN+gdmIgFYjQ xaHq6SVQ6JnhpNzTTTCnWdxTnVHYFwUnt/THpz+aEZttFhntsYA2qPWuzrT2ZUADoImw nI8YAGoLV7VNRLqiWqtcAfjpXyRrIRxqFAw17otxGl7K+sOpYtS11C9nAIvLIbtoOAyv ihpBHWAmu+71vggyp7AK2N1Je2W3SEGq2UNzOW03N5Th5A2QOsEuA07wRYWjE+eP/Jga e3HmocsEt0F562/fbApq1ndwCT1ii3gi6BiPO5TvYc+ouAhYcJn9rf77eLR9Z5mKIHuw 50ZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=to:subject:message-id:date:from:mime-version:dkim-signature; bh=AT3i+EaTQLm3NNIapMhAx6cVj0OUGJLEoi4MGyetgAY=; fh=+R8aXOFVnuBbN1nRXJJI02Ia//JUQJmLW/Uk/VaA0ag=; b=dptCfYrdDvuqcnxkd1tAHpU16Ex16Sp74jEKq8UOAJKADNR7B+5HcOIP5UI759LeBs Ass9BskiiSF93v0xS1228NhB5d//4SJjV9eYYV9u/EOLssZeIfus1YQFhI7yqDRVsj3A z6AQhyo3m+Ln+14PYDQYacvUSgc5lqcZqEsQShqDkk8VHp6S5fM/F9LSUuXDQLEDeVbm GJSPsJIfC3FvEgftYleKRe4fRQjnVZsOH7xpEI7azqzyWf1vGuUr2PtNAQoqrFE8baqq ywCtGcUAboRMIYIlXZb9XyzrSWZZ7ly2GZcqoz25wYKCAImz3n2FuwfA6EBO5SZVRmqI Wv4A==; darn=gnu.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1783507466; x=1784112266; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=AT3i+EaTQLm3NNIapMhAx6cVj0OUGJLEoi4MGyetgAY=; b=cRAWbpjR3+I58W7iO1J6tV2I3VbuB2eerlsltSmVyw9YSlIbzJYuJ5gH+2GL+1+/6m 5/tbiM4sKXsk64+m+omLxamc802BtBy6AQzaiFHi9PTSC754oPZc525XSHjVvPLzdkYC k7kyG85IzjjEw3fCQ5nKcBtguq5PEJBcB1yRGnoP0FhNvsKfsjC3f+9mZLedUx/YvQgw N2QXoM2U6i7elcOrWU622cYsFHdaoFfq6rq5Lpvh1hagqzZqRCzIwe1cXhNj5HHfX8DZ 0IBTuoKHnok+d2fNo4fQktxkeuYpyLZ1mZyY+l2Zs+EYeBveAsVw7zgJ6k5gRRw27viV rgsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783507466; x=1784112266; h=to:subject:message-id:date:from:mime-version:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=AT3i+EaTQLm3NNIapMhAx6cVj0OUGJLEoi4MGyetgAY=; b=fb2z4P4aDFmI+71PiX4s1YrR8dkw5L59IdkOeUzuvBrmVGSKw6LglrecTZ/dexYxaG P8RxF/alHDhVkxHlZaDaflQTfI86kjun8V8PIze5w61iCdbC9CH3seRpFgcqXKTUs5CI TRm3yY3it/aXx/f6urSDr8pZ0JY8ZSmhDC/g6rRUXiNXr8zJp+DDV8oWRQbPfiGWAiwi 1DQSwKHBKAuoYfHiThjF3csbId0HkL64vAglPTUf8wSwEjVMJWkr0KoZNW2QbYO7AlnT xI87DHw+zDJzVjRfnlQduDJp4rOsTKi73aQXiAo/DWH0JwlPnD15EqdNsCB/8penAGN2 +cJw== X-Gm-Message-State: AOJu0YwkRGIs+toPlH2UGApdB6dQDFzf/XEo2r7Lm5muZMYniXxOBoj0 IVkY6mNTvQKbzKHbRkezI7gsVYfY4VZYInDGFEARCm6wEk91NaMtDqF404gQAlH/Use4oFVKqHY pkGI8yfwfJdyeVrCaCCxY67XFAJ6B7zdC X-Gm-Gg: AfdE7cmullHhnLhj5tjIJOKAYcfG9x0/A4Z640TccYCuA2b7pd3DJqEjNjtitD1XsAJ rhdxQtx0KtuYkTxEgO4i/5OAV9gKE5o2bNCK1LZHmgvrgJnM33t/dWnQFVK1OuzzAnNTvXw1kq1 +jyK+WdmLK0B/D3R8OMZiCL/ht/zleXGor2URFDwgtaHfNFqBzT/vl7uhICnWtdpXGFh6c+Ym7a Ijhg69wT0Fed9g13HlPZGPQTChN0hBSkOxJjDKtxcdwno4ekjfS5BmF72VbdoCU+S3PxiRMdXbt HnRjJyg0vQmsqM0ELkwBIkS6InKkFnCthdCpal7/vGLLnNhAtAKE/XZB/3k= X-Received: by 2002:a05:690c:6389:b0:7fe:bd7:9cae with SMTP id 00721157ae682-81dbe54fa4cmr15542627b3.44.1783507465771; Wed, 08 Jul 2026 03:44:25 -0700 (PDT) MIME-Version: 1.0 From: =?UTF-8?Q?Johann_H=C3=B6chtl?= <johann.hoechtl@HIDDEN> Date: Wed, 8 Jul 2026 12:44:14 +0200 X-Gm-Features: AVVi8Cd4tiBfZb5Kza7oqrSAZj8nwIL7vnN8BGlpNDrlgXkvJiefKz4Rkvs2Vww Message-ID: <CAH4isRynHeCjY1YMmKjgQzuTODrpzuV+ePJrvcfVcmOmL1CC8g@HIDDEN> Subject: tui context-menu-mode mouse-3 causes immediate action To: bug-gnu-emacs@HIDDEN Content-Type: multipart/alternative; boundary="000000000000f3a01206561730ec" Received-SPF: pass client-ip=2607:f8b0:4864:20::112b; envelope-from=johann.hoechtl@HIDDEN; helo=mail-yw1-x112b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: I tried this with a very recent Emacs build of master on Windows TUI but the behavior certainly exists with other recent emacs releases. Didn't test on Linux console. Steps to reproduce: emacs -nw -Q M-x context-menu-mode mouse-3 click and release Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.0 FORGED_GMAIL_RCVD 'From' gmail.com does not match 'Received' headers 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (johann.hoechtl[at]gmail.com) -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org] 0.0 HTML_MESSAGE BODY: HTML included in message X-Debbugs-Envelope-To: submit 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 (+) --000000000000f3a01206561730ec Content-Type: text/plain; charset="UTF-8" I tried this with a very recent Emacs build of master on Windows TUI but the behavior certainly exists with other recent emacs releases. Didn't test on Linux console. Steps to reproduce: emacs -nw -Q M-x context-menu-mode mouse-3 click and release The first entry in the context menu is highlighted and with mouse-3 release executed. I personally find this counterintuitive. I didn't find a detailed description if this is the intended behaviour but as Undo ist in many cases the first entry of context menu, this causes the buffer to alter. I would expect that mouse-3-down just opens the context menu, but a mouse-3-up wouldn't immediately execute the then highlighted entry in the context menu. --000000000000f3a01206561730ec Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>I tried this with a very recent Emacs build of master= on Windows=C2=A0TUI but the behavior certainly exists with other recent em= acs releases. Didn't test on Linux console.</div><div><br></div><div>St= eps to reproduce:</div><div><br></div><div>emacs -nw -Q</div><div>M-x conte= xt-menu-mode</div><div>mouse-3 click and release</div><div><br></div><div><= br></div><div>The first entry in the context menu is highlighted and with m= ouse-3=C2=A0 release executed. I personally find this counterintuitive. I d= idn't find a detailed description if this is the intended behaviour but= as Undo ist in many cases the first entry of context menu, this causes the= buffer to alter.</div><div><br></div><div>I would expect that mouse-3-down= just opens the context menu, but a mouse-3-up wouldn't immediately exe= cute the then highlighted entry in the context menu.</div></div> --000000000000f3a01206561730ec--
Johann Höchtl <johann.hoechtl@HIDDEN>:bug-gnu-emacs@HIDDEN.
Full text available.bug-gnu-emacs@HIDDEN:bug#81376; Package emacs.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.