From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#52293: [External] : bug#52293: 29.0.50; [PATCH v3] Prevent further cases of duplicated separators in context menus Date: Fri, 17 Dec 2021 17:21:16 +0000 Message-ID: References: <8e9b29cd-8700-1a60-1d91-b6995d8f433a@gmail.com> <86czm0eue5.fsf@mail.linkov.net> <8c440269-262a-ba78-6630-d3f90c2fcc19@gmail.com> <86fsqwmig7.fsf@mail.linkov.net> <1c1995a2-c033-51c8-4aa6-7458ad07c75c@gmail.com> <86mtl3629t.fsf@mail.linkov.net> <83ilvrl4m2.fsf@gnu.org> <86y24mucz2.fsf@mail.linkov.net> <864k7agrur.fsf@mail.linkov.net> <86h7b9ybej.fsf@mail.linkov.net> <86czlw8scu.fsf@mail.linkov.net> <868rwj4rg9.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34889"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "jporterbugs@gmail.com" , "52293@debbugs.gnu.org" <52293@debbugs.gnu.org> To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 17 18:27:32 2021 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 1myH11-0008tr-Qv for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 17 Dec 2021 18:27:31 +0100 Original-Received: from localhost ([::1]:33668 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1myH10-0004HT-8a for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 17 Dec 2021 12:27:30 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:55744) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myGvi-0000iz-QE for bug-gnu-emacs@gnu.org; Fri, 17 Dec 2021 12:22:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57249) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1myGvi-00013n-IQ for bug-gnu-emacs@gnu.org; Fri, 17 Dec 2021 12:22:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1myGvi-0000fr-8U for bug-gnu-emacs@gnu.org; Fri, 17 Dec 2021 12:22:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 17 Dec 2021 17:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52293 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 52293-submit@debbugs.gnu.org id=B52293.16397616882544 (code B ref 52293); Fri, 17 Dec 2021 17:22:02 +0000 Original-Received: (at 52293) by debbugs.gnu.org; 17 Dec 2021 17:21:28 +0000 Original-Received: from localhost ([127.0.0.1]:40562 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myGvA-0000ew-9f for submit@debbugs.gnu.org; Fri, 17 Dec 2021 12:21:28 -0500 Original-Received: from mx0b-00069f02.pphosted.com ([205.220.177.32]:29232) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myGv7-0000el-Jd for 52293@debbugs.gnu.org; Fri, 17 Dec 2021 12:21:26 -0500 Original-Received: from pps.filterd (m0246630.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 1BHGXqbB022583; Fri, 17 Dec 2021 17:21:25 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2021-07-09; bh=/34lQPFDdE2L7vqzVN96tnHOwRCIHjLuv3ZLkrjAGRI=; b=yr3Tyky1AQtb/1b7WZz3V3Nzpq4JxgzmofaUDHmYpaJmXmW+XO3vJvA4VzSjhWOI32dH 2uV58bSNi4JR+6E7yDjSA3lQ/ZgNm7oDE7uHIr23EiC57KEDIBu3686eMMwA6HkLhD/L ANLnToNLOGAmxMXShdH2x6VHHJa6xM8tJvpGtaKTv/J0xbSp+0zm4AozIAJFpy/mwlc2 XUtcs3SoVeRDpx26N+i7fSNDquuWhWGYdKFxsF+HnjvFNwTcnmx0UMuQgxZgP3ZscxOn fBSREnEb6FcB8gjnK1bir8DRvksrOSJAfv0NbpKgQ+eaekr3uUTPDCH2QTwpzZGhMk8V yQ== Original-Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by mx0b-00069f02.pphosted.com with ESMTP id 3cykmcp741-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Dec 2021 17:21:21 +0000 Original-Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.1.2/8.16.1.2) with SMTP id 1BHHBuvq148408; Fri, 17 Dec 2021 17:21:19 GMT Original-Received: from nam04-mw2-obe.outbound.protection.outlook.com (mail-mw2nam08lp2173.outbound.protection.outlook.com [104.47.73.173]) by userp3020.oracle.com with ESMTP id 3cvnevt3fd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Dec 2021 17:21:19 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MQUrctrG0cHITERwwzPrrHVyPgd2W9dauidyd+YHlK3+9y1UPdHjcMN+QKKhkpTw8HD2BkO7DwEIhNTtet5S/hEjyzcJMCi58+OYGgWstgNeNsSV09tcSi092g3rIEjMkvoHC8vF/GH8L/IEJHyZrDJNnD7E3g8xuID6ro846F5ZQY7vh6aiQuWrahhzSvPf6MOS+ULi8f9Z1E95adhkKBQ/KN7XAAf20hOyyBB2OIQfzYWEMcHeuKKn5RgrpXrlzbIjwOMvADpyNwCy25KeqmD3GXiGusa1aBSAJ4M2GWHWyDNeY1xG8g663SyTOqX6/aab1Dw8JYAb7Q0Fi1ysLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=/34lQPFDdE2L7vqzVN96tnHOwRCIHjLuv3ZLkrjAGRI=; b=J2350snQHfHguVM7MMwm8StJfurG2VSkwiM7UJbdHJmNuhBnKwS3iE344lwhakohlJhali5cApXdLuIQVwAGLeHfk+kAP1eySPtxk/mtiLM7JknqD+fbdUYT+bfNa/JuM1wX3+AAfLmCqGP/WMCUlz7nR/abjcWxkqJf4MOzSD8irVP2Nq2+EmVz053dPdbvtz87FjIMU4enxGo/VG/i05DrHYWSFZBDaKF9UiP3+jraIbB84wrTzyQc0p8tsLvGJyHMexJeDTQL0GZT3c3mS0jx8sk1sjHQPm6Tk6pH8IjtZP7igHBPOg3y2mhXNUoYoEzUOtPeIMgRrMqhI2tvsw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/34lQPFDdE2L7vqzVN96tnHOwRCIHjLuv3ZLkrjAGRI=; b=MhWL+SAG/rmImDatnZ/6oKqgGH9nODUYI+/xq2+JP2JTuWPG1Npaan3wN+eLRkpqdeldAWs0Ct3V3ebDT99wGHwmPVlpr4tzO9lulbDJ2PlwMXd1OJtpJEg4YBrHxlJ/+F1rr7zxYVxACpK9GtzwhynJQ6jswuH1hF9YjA/kmRs= Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by BYAPR10MB2520.namprd10.prod.outlook.com (2603:10b6:a02:b1::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4801.14; Fri, 17 Dec 2021 17:21:16 +0000 Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::99a4:696f:5f30:36b3]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::99a4:696f:5f30:36b3%8]) with mapi id 15.20.4778.019; Fri, 17 Dec 2021 17:21:16 +0000 Thread-Topic: bug#52293: [External] : bug#52293: 29.0.50; [PATCH v3] Prevent further cases of duplicated separators in context menus Thread-Index: AQHX8yDBJQRwPMcnr0SyzVHGd8F6Rqw27Avw In-Reply-To: <868rwj4rg9.fsf@mail.linkov.net> Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8e09184e-83e2-4aac-90ef-08d9c181a26b x-ms-traffictypediagnostic: BYAPR10MB2520:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: mmoR1emAEgKlKfKOHAKtUrl0C6kiSpFFMb1edRL1B1JN89h/KfceKa9Ho+rKDq3y+F+pTD3lQ5jhxEm2lLKkZjttkFbkzjEqJirI7+DVPhRB5HMotR72UuYRVjnZcIqPyaOXZOYAj0N9zpb5Cb1W5RFDM6jKH8ONzqME0lvKzMQ/ktmxDkpm5S67Evu8fZzX/JoF/FDaiUEebfvXfIqTgNrKpgdHn2kzpOffFnHHEa5PauOVElMWB2vxwkbbyp3FcIRBwtvgFCalN4n608J9GQnjQ6/uj3iUXIIBEp7kzHxUXZlgcgwgxmjGZpMDqHH7qdUhgP5bg8fkbouTbm4Y+aNa4z61m2AzOg1fuklepEw+hj1mLUsAzfwyQ8T+FJA+T5jeWc0r4vu+GNND8k1nluYdz7zZuvyJvRNS/vbhdkfrooJNu5ssLbZVR74mJpHD2PgCQ8rDMPpr9mD3Cql09I6zcOyKVA33zd3N5icdp6SFZ8oXdtBgGpvzA7zPLXLqfEGQXKPOYS9AF7VvN+zo1Dx8Ewq7kcJIB6aBhjF9VAnxtv4rQcD7asgVDgDBHMJMfczeKZJw1kauVf6vPQ5nSobL3p+5xfMo4hPJwpKidIJ4/PWScXJnCqyB312IwRJbiP002NebVQ97NwtCCKkMwQhhcSkxGm9+2MpR5ha+ooiruCn5b72bL415jjkO5FXrOb0R7+opZQH/QvGsu7ewbw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR10MB5488.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(8676002)(52536014)(54906003)(8936002)(38070700005)(6916009)(76116006)(66946007)(508600001)(4326008)(6506007)(55016003)(186003)(316002)(122000001)(66446008)(33656002)(38100700002)(66556008)(64756008)(66476007)(2906002)(71200400001)(7696005)(26005)(5660300002)(44832011)(86362001)(9686003)(83380400001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: ZIVyLbz3Cwx7O+XZhFpUANVpDObNwjgG6h/6Y4mX1bU1ImPY6Gl07JkgWmL+COQc9sS7mRaW/p2tHkf18GjKMeL7mvus1diNCQrkAUwZfaRbd3qdN67JtEw+Mr6aZ+8ZmyP7N3DZ6rGBYqiVLLz3ocX0CyLIKggB91TgtlKP5XaPvA6+lRG2mrAoKgtTizvQtloFmWzrvz5XgBI4loBUpADH3mE0dWzlnEc3Bq6ELgpOB6/zSVgqjkpdKh0+nobOgZbT/qfgoU89sa6paOdR7j3qsHlCACCgePC9+KGV7Jo9y57VtN/+q/6Nzfh7asnFF0T2BZhKYmud45PSlfdwPShrvJTLGCaMvfiFMzjuosFsZjPUpuqOYmsJbtN4eWsWMjKWtnAs+XUJRpbkCw0x8OOLgVQmqBZ/zkJheW25x4gMlJL4Mq2RVhTFLgNGYjE7naCGLT6qdlrrPGVVL9PRR1upDpD+tq1gbRdMIeuv5OhMKFN6BFQ2JxjEMNWq6JjJMBzfDcZIM++slURsnMHRFvyW8KIPBjrvYheS287fjiGIE8mczp92d15ySlLs/lvnHSWoWRgKGNf4G3c12iLyuj7FIZKwRMWX5qvjPmL7sBjWcYXvuIDIzPH/mifJuIoz4dRTiS1tFwhupi4intgKgKh03xYcRhM5ihnu5JQ7IG9cbNQ8NReB7wDmUdKJ9Vg6cNIideZF1AySyg+mBzEAy6V+9kJQ7woWPK9g2zJMdwI9HeT4k18sa3oUkk 0KU6LHxuuJ0pG3jfJFFDtC67QzYctK881nwReGQBP4FpCNFRo6uz4Xgty+02AvaupLVOyi2GOeQR7pM5Yit6XWwsqhyTp0hdWr X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR10MB5488.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8e09184e-83e2-4aac-90ef-08d9c181a26b X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Dec 2021 17:21:16.9223 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 79G7JfQvKEVCp4FqUoh7uu2OW9m9dt5/mSZXtszKFuz6B80TFJIeG9iiqOoO2fd7tnWkWwdJLXu4OZmwiQCU3w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR10MB2520 X-Proofpoint-Virus-Version: vendor=nai engine=6300 definitions=10201 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 adultscore=0 malwarescore=0 bulkscore=0 spamscore=0 mlxlogscore=823 mlxscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2112170099 X-Proofpoint-ORIG-GUID: ymjSdM1CYsvTo_ZXb6I0td4oShbelytC X-Proofpoint-GUID: ymjSdM1CYsvTo_ZXb6I0td4oShbelytC 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:222578 Archived-At: > > If someone does want to use the mouse for selecting > > and deleting text, Emacs's mouse-3 behavior is great. >=20 > Not great, but bizarre. No other app uses such method > because of its limitations:=20 What you call a limitation is a strength. > while the currently default `mouse-3' > only kills selected text, using the context menu from > `mouse-3' allows to select more operations on the region - That argument applies to almost any key. We could replace any number of "limited" key bindings by a menu popup that makes you choose an action. That argument doesn't hold water. At best, you can reduce it to the argument that if Emacs imposed a popup menu then it would be like other apps, which users might be used to. That abstract argument has never been enough, _on its own_, to redefine Emacs behavior. Better to give Emacs users themselves that choice. Even better to give them that choice on the fly, not just with a user option, by combining Emacs's great `mouse-3' behavior with the possibility of popping up a context menu. > kill the region without adding it to the kill ring, > kill the region with adding it to the kill ring, > add the region to the kill ring without killing it, > replace the region by pasting other text, etc. You can put anything on a mouse-3 menu, of course. And with the region active it makes sense for such a menu to be region-specific or at least include actions specific to the region. (Which is what `mouse3.el' does, of course.)=20