GNU bug report logs - #81651
30.2; Avoid showing "Select" sub-menu when region is already selected in context-menu-region

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; Reported by: Charles Choi <kickingvegas@HIDDEN>; dated Tue, 18 Aug 2026 18:45:03 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

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


Received: (at 81651) by debbugs.gnu.org; 19 Aug 2026 11:26:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Aug 19 07:26:51 2026
Received: from localhost ([127.0.0.1]:35304 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wweRW-0000OU-Sn
	for submit <at> debbugs.gnu.org; Wed, 19 Aug 2026 07:26:51 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:45074)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1wweRT-0000OG-Io
 for 81651 <at> debbugs.gnu.org; Wed, 19 Aug 2026 07:26:48 -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 1wweRO-0005jT-5o; Wed, 19 Aug 2026 07:26:42 -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=OfqjSDUgk5T7oyw0J4DeJ+ra9AIcAXkeoFbtb7TBGrw=; b=TdkVb3KlKLIppI6qufZ7
 waXuEYCDWpoKImQmwUPwKp3Bcnw7vYy661Mt4vKpZGXcDTMH/iMWnJRdhn0wrJeRWgU8dboVB99mF
 9iPtkxSRVYJWF02Bmjoz8ZizFZBMkE6qu29q55Ruev9AB+EmNG/VL07/Iq0lXDJsiKIZGuc8fOCc+
 eL7zX5W3xX+UN8cofqjbCIPWt0x8vMqMWTphDffAoIRubMKkI14s8/n3jMjyf3v7cyC5oXDhtZUuG
 SaEi9l4JmWTc4jPILILrJD/Jc2345ZdRUqtNwZpRd4GniZY7mGVZhSg53DQwxGDg9weWYCIWaNu3k
 vQJY0KHCuqUDCw==;
Date: Wed, 19 Aug 2026 14:26:39 +0300
Message-Id: <8633wa2vww.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Charles Choi <kickingvegas@HIDDEN>
In-Reply-To: <22688903-451E-4549-9FB5-BCA7F11FEF77@HIDDEN> (message from
 Charles Choi on Tue, 18 Aug 2026 13:19:24 -0700)
Subject: Re: bug#81651: 30.2; Avoid showing "Select" sub-menu when region is
 already selected in context-menu-region
References: <904FCD36-285D-4473-B2BE-6252BB17DB7A@HIDDEN>
 <864igr2qp7.fsf@HIDDEN> <22688903-451E-4549-9FB5-BCA7F11FEF77@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 81651
Cc: 81651 <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 (-)

> From: Charles Choi <kickingvegas@HIDDEN>
> Date: Tue, 18 Aug 2026 13:19:24 -0700
> Cc: 81651 <at> debbugs.gnu.org
> 
> > 
> > IOW, I don't think I understand why you see a bug here, or why this
> > enhancement would be a significant improvement.  Can you explain more?
> 
> 
> This enhancement request is based on the opinion that it is better to show the most relevant context sensitive items on a context menu and no more. The logic behind my request is the presumption that the selection made has already been done with intent, that the user does _not_ want to alter the extent of the selection with the context menu.
> 
> Granted, as with all things UI, this is subjective. But I’ve raised this issue as it was raised to me from my work on Anju.
> 
> https://github.com/kickingvegas/anju/issues/174

Understood, thanks.

I'll wait for others to chime in and voice their opinions, but for now
I'm not convinced we should do what you propose.  The current menu is
not too large, and the advantage of showing those other menu items is
that the users could easily change their minds about what they
intended to do, without locking themselves up to using the existing
selection.  More choices is not a disadvantage, in general, as long as
there aren't too many of them.




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

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


Received: (at 81651) by debbugs.gnu.org; 18 Aug 2026 20:19:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Aug 18 16:19:47 2026
Received: from localhost ([127.0.0.1]:55992 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wwQHj-0005tP-Kz
	for submit <at> debbugs.gnu.org; Tue, 18 Aug 2026 16:19:47 -0400
Received: from mail-pf1-x432.google.com ([2607:f8b0:4864:20::432]:46396)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <kickingvegas@HIDDEN>)
 id 1wwQHg-0005sB-Rr
 for 81651 <at> debbugs.gnu.org; Tue, 18 Aug 2026 16:19:45 -0400
Received: by mail-pf1-x432.google.com with SMTP id
 d2e1a72fcca58-8485ef63b68so269838b3a.1
 for <81651 <at> debbugs.gnu.org>; Tue, 18 Aug 2026 13:19:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20251104; t=1787084379; x=1787689179; darn=debbugs.gnu.org;
 h=to:references:message-id:content-transfer-encoding:cc:date
 :in-reply-to:from:subject:mime-version:content-type:from:to:cc
 :subject:date:message-id:reply-to:content-type;
 bh=2KH1atwIkq62GXCvNZySc8qu5pRJcS+GdSOGRqIS4Bw=;
 b=h6816VauZBrFe2EnT5ChrrWZzDNcE1FKrI4bw0cWnQUvg6SKXxEjxQrVdrsU3vmE+5
 kPS2RrRxkB2e5tyV2+hkcca5JBOh/rik+QVzoIffz+PvroNWJIuyVt4CnNUf4eDYj1c4
 k7LxZh3skjHfXOI4/cv9nNAKIgzwm1gEpiY8mz5Ty1OutKf3tiz1RB+5Rg7moAh5l5yd
 ThyMmwGD6kb4tj0A6q8njMbQaG3LlNQfKYn4te+NallSNuuPn0sPuVImElRsw3FNtwGG
 xR90BSFKdpusIEEvQX4VZ/T+n4MjqvLjYyJQmRKEID+LnXCNlYbX+NYY2JmIc23kczxR
 JhUg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20251104; t=1787084379; x=1787689179;
 h=to:references:message-id:content-transfer-encoding:cc:date
 :in-reply-to:from:subject:mime-version:content-type:x-gm-gg
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
 :content-type;
 bh=2KH1atwIkq62GXCvNZySc8qu5pRJcS+GdSOGRqIS4Bw=;
 b=Iq7wykc14Ogl1eCrgSGN61YfV4jZ1BJq6mZTC3b3vPFSyqsssWAlvg67AnUWaFyQal
 Zys4TREAxLID64+9oFT7BRA0pn4OU4rWzx2RAa7WzV1UC1hpGNqANs+vKiGlouMz4mfq
 t6hbKR0lm+WlioJvaUxMf5XvweKWZW2vazYa5XG/YZ8tByWZWZNtAB5UiwGRruTvflGw
 dT52rxulpV3BcMzmncyS8/+mEPO/pEBX6wy+yMF8KeouZBfJ/WQV0BGhs/cnGXC7rDQn
 aqWAn0NQwsQUJXydGH8nczy7GciZGE76r+phhkw0snDPR0ydZLNHRkRI0DclhmNhOa4p
 pYDA==
X-Gm-Message-State: AOJu0Ywke42Cb4udsmLQ8IKuK8NcP52ImIfkSZJ6inueNtVa0AheQ1Lf
 3fLveH2pYtXuo8HEaYstclYpmxeZzB9kecV81zO948+Mv65lTZ0Lf1ll9zcPZg==
X-Gm-Gg: AR+sD10Nt0xOkcq7HcPjyXclugyFdZjKGVE9cexVlgvV6n5r1PLHsX9qbdLwd4J6ZVz
 8zGc34qKiuzQoOgf9qRVSDMmP35Vkzxuj45stzQkfmvkm+/7yVfGTj9NPdPrvy1eOlHzU1XAERq
 4/CFJbaTqViy/XrZw8ahRzw+eo31Aw9i7uA1eSo0qi1/d2qODHiClzOrA9IyHc0juWKrjzEd1Wb
 539uYKz4RghhJLcPU6KxTcc2f7o5NkA5zyAapLP7tWSbWIYBlPZdz7ItwcxR02Wab+5X3zo7j8x
 3j+mmXDulhpNwxDl6P2IMbuLhbl/pQ5qLbiGtJ8x5fKStDDE9qq1rq2fiuwnPwVPRG5s5Mdaqvl
 YKgaNfj3W+WwyU1bLdxdwFr55sV18IXcV74pgGDFHrEIhcyplz01p7x5yP5vM0vrJhGebQlF4oe
 kCeJ/m5DG3GLd8ff2rm4/GmeV2JzuNF4rHpIVbVk1FdjJ8VERgENyUqa3fbFz2hfr/3x3ASEtAF
 t3lAJwid8tWYaaqRN9Y2guZ3A==
X-Received: by 2002:a05:6a21:6112:b0:3c3:954d:278d with SMTP id
 adf61e73a8af0-3ccff70fbddmr531798637.9.1787084378337; 
 Tue, 18 Aug 2026 13:19:38 -0700 (PDT)
Received: from smtpclient.apple ([2601:645:4300:a6:4e7:116e:5661:adfc])
 by smtp.gmail.com with ESMTPSA id
 5a478bee46e88-3267c385ec7sm18162193eec.20.2026.08.18.13.19.35
 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
 Tue, 18 Aug 2026 13:19:37 -0700 (PDT)
Content-Type: text/plain;
	charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.700.81.1.8\))
Subject: Re: bug#81651: 30.2; Avoid showing "Select" sub-menu when region is
 already selected in context-menu-region
From: Charles Choi <kickingvegas@HIDDEN>
In-Reply-To: <864igr2qp7.fsf@HIDDEN>
Date: Tue, 18 Aug 2026 13:19:24 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <22688903-451E-4549-9FB5-BCA7F11FEF77@HIDDEN>
References: <904FCD36-285D-4473-B2BE-6252BB17DB7A@HIDDEN>
 <864igr2qp7.fsf@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
X-Mailer: Apple Mail (2.3826.700.81.1.8)
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 81651
Cc: 81651 <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: 0.0 (/)

>=20
> IOW, I don't think I understand why you see a bug here, or why this
> enhancement would be a significant improvement.  Can you explain more?


This enhancement request is based on the opinion that it is better to =
show the most relevant context sensitive items on a context menu and no =
more. The logic behind my request is the presumption that the selection =
made has already been done with intent, that the user does _not_ want to =
alter the extent of the selection with the context menu.

Granted, as with all things UI, this is subjective. But I=E2=80=99ve =
raised this issue as it was raised to me from my work on Anju.

https://github.com/kickingvegas/anju/issues/174



All my best -

Charles



=E2=80=94
Charles Y. Choi, Ph.D.
kickingvegas@HIDDEN





> On Aug 18, 2026, at 12:07=E2=80=AFPM, Eli Zaretskii <eliz@HIDDEN> =
wrote:
>=20
> Why cannot we allow the user to select something other that he/she
> already selected?
>=20
> If they don't want to change the selection, they can easily choose
> some other item from the menu, cannot they?






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

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


Received: (at 81651) by debbugs.gnu.org; 18 Aug 2026 19:07:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Aug 18 15:07:10 2026
Received: from localhost ([127.0.0.1]:55422 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wwP9S-0000SJ-3I
	for submit <at> debbugs.gnu.org; Tue, 18 Aug 2026 15:07:10 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:42628)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1wwP9Q-0000Rx-2X
 for 81651 <at> debbugs.gnu.org; Tue, 18 Aug 2026 15:07:08 -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 1wwP9K-0003pO-Pr; Tue, 18 Aug 2026 15:07:02 -0400
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=F0NZjr2rNJhYAobtBFpJhpjSYu6ZRsZt9ADMtHpaij0=; b=nzYt8gJoSGp9
 5/cfCADFcDSmgk3UILhrOII6MXjq6KpiFk5tH5yxo9LVHBcLDoVQubzFYZX1beGz2VnUkQBTkLEub
 pFTWlrMD6yp4O0Z7MriXoZUFuBAE9MZ9T+57CVl6/AXtxzcdQnVMXUu85LTPK+QBXpN9sIvfgV1T1
 G20edMPvZ3zlM40He7/5Jw7PCy6K8LfD6tt3NBwcFw6OKtbERUzLYgtRSEWUm50+cUhyfHPpxfN2Z
 U6Hh6plryfjUp/NBbrUV3BuxKh/L0gW8lDPeF/temZbktJU0QrF1rStsq+Q8beoW8ENfPdqWwfcBg
 1dgD2TAPaQn653uhlx1eSw==;
Date: Tue, 18 Aug 2026 22:07:00 +0300
Message-Id: <864igr2qp7.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Charles Choi <kickingvegas@HIDDEN>
In-Reply-To: <904FCD36-285D-4473-B2BE-6252BB17DB7A@HIDDEN> (message from
 Charles Choi on Tue, 18 Aug 2026 11:44:09 -0700)
Subject: Re: bug#81651: 30.2;
 Avoid showing "Select" sub-menu when region is already selected in
 context-menu-region
References: <904FCD36-285D-4473-B2BE-6252BB17DB7A@HIDDEN>
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 81651
Cc: 81651 <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 (-)

> From: Charles Choi <kickingvegas@HIDDEN>
> Date: Tue, 18 Aug 2026 11:44:09 -0700
> 
> 1 Title
> =======
> 
>   Enhancement Request: Avoid showing "Select" sub-menu when region is
>   already selected in context-menu-region

Thanks.

>   1. Launch Emacs with context-menu-mode enabled.
> 
>   2. In a writeable window, type in text and select it.
> 
>   3. Raise the context menu over the selected text.
> 
> 
> 5 Expected Result
> =================
> 
>   No "Select" sub-menu is displayed in the context menu.

Why cannot we allow the user to select something other that he/she
already selected?

If they don't want to change the selection, they can easily choose
some other item from the menu, cannot they?

IOW, I don't think I understand why you see a bug here, or why this
enhancement would be a significant improvement.  Can you explain more?




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

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


Received: (at 81651) by debbugs.gnu.org; 18 Aug 2026 19:04:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Aug 18 15:04:25 2026
Received: from localhost ([127.0.0.1]:55380 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wwP6n-00009I-6T
	for submit <at> debbugs.gnu.org; Tue, 18 Aug 2026 15:04:25 -0400
Received: from mout-p-101.mailbox.org ([80.241.56.151]:58984)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1wwP6k-00008A-0d
 for 81651 <at> debbugs.gnu.org; Tue, 18 Aug 2026 15:04:23 -0400
Received: from smtp2.mailbox.org (smtp2.mailbox.org
 [IPv6:2001:67c:2050:b231:465::2])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (No client certificate requested)
 by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4hPfJG2qD6z8vBG;
 Tue, 18 Aug 2026 21:04:14 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linkov.net; s=MBO0001; 
 t=1787079854;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=bpcFMqgbV5GVSk5xH7NZfNqx3g4mONedbQDzDXHNz1Y=;
 b=hS0MU58ezleVt6Wx6Pea34+xuoOela4sA50k/icIntnDwL4bdGOOsN6JQFXckV4lSpXEro
 Y8lynOBCS4QgKiEhxofLcFhtnOui4RU19ATKXtGVNKASnATgRlkiRNdaVXDHa8DEJPa6Py
 qrztPQVht+i9zojgDLfmhc4l42gLhHHmiBGwTOfyeHc0fMIKKE/csOvPB7knEPa9KBcSWg
 xC5IRMbWjSiMz4y3uemaOOjr2JoUNG0Z79wcVuL2Ddou+TgknNYFpFQnqntxe+vFT6P/hi
 35WIU/CRp5xRdX3Y/fOXOwh2g+c74qKrN2b6KxCxw8zU8s45hkVUfrtd8DBthw==
Authentication-Results: outgoing_mbo_mout; dkim=none;
 spf=pass (outgoing_mbo_mout: domain of juri@HIDDEN designates
 2001:67c:2050:b231:465::2 as permitted sender) smtp.mailfrom=juri@HIDDEN
From: Juri Linkov <juri@HIDDEN>
To: Charles Choi <kickingvegas@HIDDEN>
Subject: Re: bug#81651: 30.2; Avoid showing "Select" sub-menu when region is
 already selected in context-menu-region
In-Reply-To: <904FCD36-285D-4473-B2BE-6252BB17DB7A@HIDDEN>
Organization: LINKOV.NET
References: <904FCD36-285D-4473-B2BE-6252BB17DB7A@HIDDEN>
Date: Tue, 18 Aug 2026 21:59:10 +0300
Message-ID: <87ecfvz211.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Rspamd-Queue-Id: 4hPfJG2qD6z8vBG
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 81651
Cc: 81651 <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 (-)

>   Enhancement Request: Avoid showing "Select" sub-menu when region is
>   already selected in context-menu-region

I wonder why do you think that users might not want
to change the existing selection to select another thing?




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

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


Received: (at submit) by debbugs.gnu.org; 18 Aug 2026 18:44:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Aug 18 14:44:42 2026
Received: from localhost ([127.0.0.1]:55102 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wwOni-0006gZ-2B
	for submit <at> debbugs.gnu.org; Tue, 18 Aug 2026 14:44:42 -0400
Received: from lists1p.gnu.org ([2001:470:142::17]:54802)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <kickingvegas@HIDDEN>)
 id 1wwOne-0006fG-TJ
 for submit <at> debbugs.gnu.org; Tue, 18 Aug 2026 14:44:39 -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 <kickingvegas@HIDDEN>)
 id 1wwOnU-0000Xb-5T
 for bug-gnu-emacs@HIDDEN; Tue, 18 Aug 2026 14:44:31 -0400
Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <kickingvegas@HIDDEN>)
 id 1wwOnR-0007F6-Nr
 for bug-gnu-emacs@HIDDEN; Tue, 18 Aug 2026 14:44:26 -0400
Received: by mail-pf1-x435.google.com with SMTP id
 d2e1a72fcca58-8518d5ddaabso250736b3a.2
 for <bug-gnu-emacs@HIDDEN>; Tue, 18 Aug 2026 11:44:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20251104; t=1787078662; x=1787683462; darn=gnu.org;
 h=to:date:message-id:subject:mime-version:content-transfer-encoding
 :content-type:from:from:to:cc:subject:date:message-id:reply-to
 :content-type; bh=3q4op1zvY0msGx0VhRZ6yL64kHcL4bdGyVfj80nlMsU=;
 b=bYJsNGBx83BG7+c85dIrtGmt2+niC8f536y+x3vsy60LMH754BXopt9JrJkQNqNhlt
 4AjCNAFylGZ7Y5rQs+6QqoK4sGAvbOFwsjZqiT7FbGZdOmiFt8bchsBx7yKXCEwBtuQx
 xf+iMfL5wucywkzUg7b9ylefbFzH+R4OfyXJGEYgJl2gQ/cAUBxm9Hv1CVnq8vQJt0Vy
 E64J106nqGMmOsv9o+mk7No5CvvJphByZPsPTBwD1WBvVhF6Qf8M7eLz8ps+0RSWA/WR
 39zWPofoeNJJ/DZ+xKKlym2ugaio2rTyzoclhQWO2nv6awQJrpeA6vq9IGd5VwlML1M1
 rT7g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20251104; t=1787078662; x=1787683462;
 h=to:date:message-id:subject:mime-version:content-transfer-encoding
 :content-type:from:x-gm-gg:x-gm-message-state:from:to:cc:subject
 :date:message-id:reply-to:content-type;
 bh=3q4op1zvY0msGx0VhRZ6yL64kHcL4bdGyVfj80nlMsU=;
 b=Pe5BNuO672uMnJYJe6aHT/dxgFk209IPJes0Q4e5W/cZm9LaPchikj7lEdJd/RulaW
 HQzS+m9CGtCVS2+1qQS/SBMKTi8BMNRTqjHOrGXk2gH75KI2IT9edyPY7/tbDEzGhvcZ
 EenpQyyey0Db1ZOYrFlyy1Qo4cW0wKOJOnw1LkotYLBxP9fn5xaEkJPjQK2RGo27W1be
 8yCiOmgKL7zVWVaLPIsboLYhWL3ms5RfcoOui2c3bTqS3SVdNhCvoYtGvD1k+roksDpb
 +85+4KKoIfhBiYmyL0PjBXBdcPFYceAH1ubGgw2U7Aa3kBHLaLoJH7Fcrbm2nfNVAvRy
 KPjQ==
X-Gm-Message-State: AOJu0Yyv1tb510le60+JcUMq0862DtJRf1pKn7ChV94+fHbxktkZbO9d
 SRXB0RnhWjERnf1ldY1YhJ1KRRHuDvAhcbAYZWRHYuNMlxkNlTmyUo6ijiEKcQ==
X-Gm-Gg: AR+sD10H4agv3x93qMauc2wUvYsL7HdfDAW2oaTd8fQlpqXuoMDoCcoRrXp7l6GDAAy
 UrVRTd+Zkv2Di+Xan3gW3n844ao6PLfoG+/Wt9enBimHyPb/n8Q25XWEF/OWVRNOzoGzAdZEo6z
 MDs1w0jr0GQHrVRor2BCue8Eh4IwrUM2Wj4QcVJBhlVfVl/5tXvucOSs5Y1nbolNbqbELVSaZMw
 h5qhBHFjsNW5ajazErxOiFQegtcba4azEVT6CpKYnz7VFs+1BSgG40J8YewIFw0VulUIph4TWzH
 EKPARgczryYWJi4eSq49gDd/V46mmyxFv+ZmdtjfJJC2yVSvPfxd0ddPLSZHW68EMNUcq1TzthM
 DR6ZWozWHQ21Mg3qrrZyidgRvs9tMOmxcgN68bce5/gQvsPO8KOKbYu7eBUxGdBvMV+2c7E4Vpj
 B+6I2DmY7TnHi1+j2H/ti5oIb1v+Pk61TOWqRzWsBQgkQcBIGe4ihqzDH6uuSEeQWgnZUcMT22Y
 vPlMwUCnLpExg==
X-Received: by 2002:a05:6a21:a94:b0:3bf:b84c:2984 with SMTP id
 adf61e73a8af0-3cce34a035cmr14813509637.11.1787078662025; 
 Tue, 18 Aug 2026 11:44:22 -0700 (PDT)
Received: from smtpclient.apple ([2601:645:4300:a6:4e7:116e:5661:adfc])
 by smtp.gmail.com with ESMTPSA id
 5a478bee46e88-32678dcedf4sm19099402eec.5.2026.08.18.11.44.20
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
 Tue, 18 Aug 2026 11:44:20 -0700 (PDT)
From: Charles Choi <kickingvegas@HIDDEN>
Content-Type: text/plain;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.700.81.1.8\))
Subject: 30.2; Avoid showing "Select" sub-menu when region is already 
 selected in context-menu-region
Message-Id: <904FCD36-285D-4473-B2BE-6252BB17DB7A@HIDDEN>
Date: Tue, 18 Aug 2026 11:44:09 -0700
To: bug-gnu-emacs@HIDDEN
X-Mailer: Apple Mail (2.3826.700.81.1.8)
Received-SPF: pass client-ip=2607:f8b0:4864:20::435;
 envelope-from=kickingvegas@HIDDEN; helo=mail-pf1-x435.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-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: 1 Title ======= Enhancement Request: Avoid showing "Select"
 sub-menu when region is already selected in context-menu-region 2 Description
 ============= 
 Content analysis details:   (2.0 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -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]
 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 (kickingvegas[at]gmail.com)
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 1.0 SPF_SOFTFAIL           SPF: sender does not match SPF record (softfail)
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 (+)



1 Title
=3D=3D=3D=3D=3D=3D=3D

  Enhancement Request: Avoid showing "Select" sub-menu when region is
  already selected in context-menu-region


2 Description
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

  When context-menu-mode is enabled and the context menu is raised, a
  "Select" sub-menu is offered by the hook function context-menu-region.
  As of GNU Emacs 30.2, the "Select" sub-menu is always shown.

  An enhancement request is to change the condition of showing the
  "Select" sub-menu in the context menu only when no text is selected.
  The presumption is that when text is selected, the user-intended
  extent of the region is defined so no need to change the extent is
  necessary. This helps keep the context-menu selection small and
  focused on context.


3 Environment
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

  GNU Emacs 30.2 (build 2, aarch64-apple-darwin24.6.0, NS appkit-2575.70
  Version 15.7.7 (Build 24G720)) of 2026-06-30


4 Steps to Reproduce
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

  1. Launch Emacs with context-menu-mode enabled.

  2. In a writeable window, type in text and select it.

  3. Raise the context menu over the selected text.


5 Expected Result
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

  No "Select" sub-menu is displayed in the context menu.


6 Actual Result
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

  A "Select" sub-menu is displayed in the context menu.



=E2=80=94
Charles Y. Choi, Ph.D.
kickingvegas@HIDDEN









Acknowledgement sent to Charles Choi <kickingvegas@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#81651; 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: Wed, 19 Aug 2026 11:30:02 UTC

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