From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Gerd_M=C3=B6llmann?= Newsgroups: gmane.emacs.devel Subject: Re: Tip: tty mode-line popup menus Date: Tue, 10 Dec 2024 04:32:13 +0100 Message-ID: References: <87msh44j5x.fsf@iki.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22298"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Emacs Devel To: Petteri Hintsanen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Dec 10 04:33:14 2024 Return-path: Envelope-to: ged-emacs-devel@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 1tKqzp-0005Yr-LI for ged-emacs-devel@m.gmane-mx.org; Tue, 10 Dec 2024 04:33:13 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tKqz0-0002XR-U7; Mon, 09 Dec 2024 22:32:22 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tKqyz-0002Wv-3G for emacs-devel@gnu.org; Mon, 09 Dec 2024 22:32:21 -0500 Original-Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tKqyx-0005fH-1b for emacs-devel@gnu.org; Mon, 09 Dec 2024 22:32:20 -0500 Original-Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-434ab938e37so32584295e9.0 for ; Mon, 09 Dec 2024 19:32:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733801537; x=1734406337; darn=gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=RrShExXiu8yYLeF2/zxMGGvmbz9jF6VeOwsx+pEns1c=; b=APyvOT0DM1xtxo5Brh/wluoymGiS3IwnzwhaQe6oTuondMcpAyeK60Cf6VAZTNvKQl oFkF5MEf1CjnE2dKeBEX6UkLUe/ilRFbfDnGSYcieFp306KUassgX3eiQIFcGz5nQ7AS 8ZmtkXUfgXJwXV5L7If2JbCnrtEiRPKu7hGy8eLydbFtOvyMDg8yLsU/aTtFCLgt2Dog 4HDsbp7lIdOkm4C3iOauyoI0pvfEJCvsezpZFQOz4WbFkKPIV6RpBbnjqOCnjyGMv6Ng J+5QSBwTVwTOHfOdSLwS2nBY/7jl/FF73+w/2ZVklqXAIAb9CSFrBWVW2TC836BRV+da VyFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733801537; x=1734406337; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=RrShExXiu8yYLeF2/zxMGGvmbz9jF6VeOwsx+pEns1c=; b=v3YNQTNyOhSJ9nTAJe4O01XtitGpvAobSIKMBdbNRNoT37VL8VxHZDUvGuR4BK229h Ttc4XJg2UkPvin/D77dC7DTG8KXrnQZ2D+so7wyXoEk+YAsDkLkL9qnqU9FMNGuqcjDM a+3zLEpWeI3iezeGtfe+5NvKi96fgu+S7ivcG92YeGU4j+izvS0A5oGcxvO1Y+BFcgWa LQuHqd+NrtRYKQHMqtqBV4L4WVWPUxiZb6yd6XzkxjlntGpW5/kSco8B0qFxXXc1PNdT E00R6oJRQPIDUZ2YC2dcW0gT6R3NPvRMTKowdm1g2+OQbjpqqOHJmHW/cfp2f6m7idG/ 3sTA== X-Gm-Message-State: AOJu0Yxgf/pvoTu/x+hB0LYwX4bbFs+0R6OzGJPpQIoGHc57IEMZvuoU bXzc639laNor9HQD3AnSYzlN0QcFhOPUr42wfee5OwAFw09i+wH7mRbT5Glc X-Gm-Gg: ASbGncuQFsaZOUgiQjF2icUG4Qu9YHS/KaPZ/jW35wDZNAceSDidEJFZJXx/N9LBIr/ yQnaZjRA+Ql4wJZL2lSpHs/z8WmGfFvLLFPa21ywUT5EuAexqlJxLTjYYLWiHsUVbSLmwplCluV Ci2JTAjoGgvm+70agxTzYy8WCqaEjHBL5dc0vpe51df1BgH4DD/NYJY0FeUlBR69xYjIHmC/vXd SIE6Lq0s7oHIfcJbX5Id78MYiT7c8KFDBW3UTXnS85meNJk7VJZ5hfiktd/cOeFN4pi1w+gkwgb cRbhb9fbKO/9Rj+W5wqY0f0JtOtaAUSmq7elDlJ//qHYUTlfL5LT1XiKdvPRf88= X-Google-Smtp-Source: AGHT+IEmDMBDezSyD0G+ejLeKH30s1ggIRGsykYzm7Llq6rKkbgHuZL9Phz4m6vSdA7zwTm4q/0Hgg== X-Received: by 2002:a05:600c:4fc9:b0:434:a529:3b87 with SMTP id 5b1f17b1804b1-434ddeb53b9mr139446465e9.10.1733801536590; Mon, 09 Dec 2024 19:32:16 -0800 (PST) Original-Received: from pro2 (p200300e0b73a150089512521f002ebd0.dip0.t-ipconnect.de. [2003:e0:b73a:1500:8951:2521:f002:ebd0]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-386257de681sm14537634f8f.30.2024.12.09.19.32.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Dec 2024 19:32:15 -0800 (PST) In-Reply-To: <87msh44j5x.fsf@iki.fi> (Petteri Hintsanen's message of "Mon, 09 Dec 2024 23:54:02 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::331; envelope-from=gerd.moellmann@gmail.com; helo=mail-wm1-x331.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, 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-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:326267 Archived-At: Petteri Hintsanen writes: > Gerd M=C3=B6llmann writes: > >> I don't like the tty behavior. It is fiddly with a track pad, which I >> normally use, leading to inadvertent menu selections. > > There is a similar kind of behavior with normal (pull-down) tty menus as > well. If you do: > > $ emacs -nw Q > M-x xterm-mouse-mode RET > {click on Tools menu} > {click again on Tools menu (do not move the mouse between clicks)} > > then you will get grep command, and I'd say inadvertently. (Obviously > this was on xterm, but I suspect the same happens on other ttys.) > Yes, I can reproduce that here on macOS. > But if you move the mouse between clicks, even slightly, then the menu > selection is cleared, and you won't get grep command. The menu is > simply closed, as I'd expect. > > This has been itching me for quite some time, but not sufficiently > enough to make me write a patch. I'm not sure if this is a bug or > feature, anyway. Hard to believe that it's a feature. How about submitting a bug report with M-x report-emacs-bug? (And then writing a patch :-)).