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: Thu, 16 Dec 2021 17:51:13 +0000 Message-ID: References: <414be477-34d4-c777-f623-3e0e59c0dd08@gmail.com> <83o85mpaqb.fsf@gnu.org> <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> 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="5644"; 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 Thu Dec 16 18:52:54 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 1mxuw1-0001Dn-96 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 16 Dec 2021 18:52:53 +0100 Original-Received: from localhost ([::1]:59108 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxuvz-0000Bd-TY for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 16 Dec 2021 12:52:51 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52506) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxuvC-00079k-Hf for bug-gnu-emacs@gnu.org; Thu, 16 Dec 2021 12:52:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53328) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mxuvC-0006qw-9N for bug-gnu-emacs@gnu.org; Thu, 16 Dec 2021 12:52:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mxuvC-0006X0-8D for bug-gnu-emacs@gnu.org; Thu, 16 Dec 2021 12:52: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: Thu, 16 Dec 2021 17:52: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.163967708025039 (code B ref 52293); Thu, 16 Dec 2021 17:52:02 +0000 Original-Received: (at 52293) by debbugs.gnu.org; 16 Dec 2021 17:51:20 +0000 Original-Received: from localhost ([127.0.0.1]:36637 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mxuuW-0006Vl-9P for submit@debbugs.gnu.org; Thu, 16 Dec 2021 12:51:20 -0500 Original-Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:26184) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mxuuU-0006Va-1y for 52293@debbugs.gnu.org; Thu, 16 Dec 2021 12:51:19 -0500 Original-Received: from pps.filterd (m0246617.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 1BGHVJHe032175; Thu, 16 Dec 2021 17:51:16 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=7tOQRUl4vFBrMEltNmvDW9ho3IBEWBL/S261ZekAfPA=; b=JIcBE8Tt+VXArF6bygS+pIgVRUAvL5Jg30uNArK/Zy2r/16gHyUMUwbzz6sVdjW8uSQp Hi4T0clHuTgrscfrOv9kTVXqZfuFqmbfYc720HW/jQ5fXXleripwyuiuX3oJqcn3jOAv M6hRjfnV0cMpZli40pcsaBm8hsSx3vEbfycJQcp1yVT6jSSTMt1rjgBI6qMpUez71kMf CgvTptE/pLQbibscsB3hEyz4eKvLz2HL0T+wB9Oj8LSoqzwbXSTdH/wQbeRGvvhPYfz5 pzmSpxC4Th4v82ljK1SLeYmnblHtzdWku00wWi+hr5xFAK7ptxt6xrXmq6HIeZuRrhyD Zw== Original-Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by mx0b-00069f02.pphosted.com with ESMTP id 3cykm5bn61-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 16 Dec 2021 17:51:16 +0000 Original-Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.1.2/8.16.1.2) with SMTP id 1BGHoisr085496; Thu, 16 Dec 2021 17:51:15 GMT Original-Received: from nam12-bn8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2177.outbound.protection.outlook.com [104.47.55.177]) by aserp3020.oracle.com with ESMTP id 3cxmrdqpyh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 16 Dec 2021 17:51:15 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OouiSZ19DjaXtMEDsrL18i0B4Yj3kfe5mHvzzVoK4Ch0YHWo0fPGPYxJfHRDMjd8SwBU7oc2SnqYXkfQE8pF+I9qLbsJdp0GCOmvqxRRiTv9gdi8F29dVv2T6cuGfi/igq4FPb3tC2q7dWgHqOa0oUKsWNQSzVQWvx9GmpJO/GmlVVu29k/CTdMRz9C0LBjGipIWlSIc/QnlRdbhdjwOqLAg+fxdNXcfyWI5ihvP0AgHw4gAcv/WxS4rROg1clkKdATMFhIFzxYbMUpVNlMoScCt1ydOlhkYH7uE/Fca0T/i1xG1VL92QsbgmXDluYSAnHMVIG1OcvuzPmFLYShh8w== 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=7tOQRUl4vFBrMEltNmvDW9ho3IBEWBL/S261ZekAfPA=; b=l1/ajB9Vm4re35AKKPT0e0431487S9xqMXth4WfKhMiaVsGrLxEfICUbTBaefJ028RDYYR1nSGB3Tog3tRs9bBKqJQAPcUxOS7mKzsMTDKy9fSGMhoi6qD68w2vSQu8+1uYmOqQMimTW1NKK9RW15pjHrb/0Mrbel0tT2sSHdfxby2rZja7zv8Vn12CijqrVS9xAARxkMCxAI4FLiSPyzUoIHepcfoCujuNNkj+3y9PWhRE0IjA0v/1eXeCgtcMzuvcK/1hoLloNYcl71wCFnNHJNZjvgImFvJMpnC71eloOFVY1pcu2TtA92yz7n+i8vzLGKluTEJEr3igThomUEw== 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=7tOQRUl4vFBrMEltNmvDW9ho3IBEWBL/S261ZekAfPA=; b=xkxPjL0av47s8cqQSYsvpLo3A7Ry5RmSBp9MeHWVeHcKkE/FAulCJJiOh2MHdS095ZkPzaIlvz+sweStXqsnQA0IrE2zyJP5D5MtTTDINPWiXvHrjPYrJRF6Xr2kc60LiYVLftshidHXaNgyXHEr8YshTTRwPhe/dU8JxCVEcCg= Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by BYAPR10MB3462.namprd10.prod.outlook.com (2603:10b6:a03:121::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4801.14; Thu, 16 Dec 2021 17:51:13 +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.018; Thu, 16 Dec 2021 17:51:13 +0000 Thread-Topic: bug#52293: [External] : bug#52293: 29.0.50; [PATCH v3] Prevent further cases of duplicated separators in context menus Thread-Index: AQHX8qNNtRiFyd3SLkOaOPE7MrcHpqw1YiZA In-Reply-To: <86czlw8scu.fsf@mail.linkov.net> Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 013444d1-17b1-43f1-45bf-08d9c0bca6af x-ms-traffictypediagnostic: BYAPR10MB3462:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4502; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: MRzrULSxRrKwM4wov+tsAjFTnZSdQy3uPfwIVk8HAbDk+NCs+OJxvDkjurpneS/CTZzb9I6LOXeWgBSQfa2aPQz8jTjlMoAeWaVxNIKyY9meZAtxH/YLUemPRXX5CM0eR6rC/KToOJ+MVUL8qsy3XCEbo/UFa9T3d5pcgG2xyzBOnJt8yWwacvIM2LFGAm+3LIUYgpM1bKa6J5FpbZc9Iwit6JeelFeHPtVLIBE8+jeE6iw8sZUsQFaAsnG/bzynovmXh7I+KjalDizFIJRPLl0XMcJ68ZuU79Vk5oAlFtWYGuxBd8VpB9pi8U0fXBpcvqiyGw4OzDPukDDyzUrKXzk5BEwM1LegajOqpPbMbSSLH9HV/QSBi0sWqBNIEuw4YlMWAxLCBDvV2+NSCIFJPsz8ib66EDNQc1KUAMKnlVR4SFcAPJ9DgC5hjMg31PjXchPFw68AZXT5Op+AnNGkHtzNM9LRrt6AJCc+4WUvzE78HvEBzKNBZGWAnNnJkFi7ygGMOmP1xbznbsRhtyOj8MV2el0q6GqwGZ2LsOSvyLTIw64piJO/RGNlHUq4XuTrejy2bhWbj/cT7F2/5BVy/mTYFzx0KaNJpy59njSge+11Y3HAE+y7tDQjXpjJ2tA4O6jXqg7hF/yYB2J6kThCN6766QZSHUfKotXkpDzBxV4cZvDnbksRqsBYCLQwvc/JT0+7mpNOQ6CiUL203CBzuA== 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)(76116006)(66556008)(8676002)(5660300002)(508600001)(4326008)(55016003)(66446008)(64756008)(66946007)(122000001)(38100700002)(83380400001)(38070700005)(8936002)(186003)(66476007)(44832011)(71200400001)(6916009)(26005)(9686003)(6506007)(316002)(86362001)(7696005)(52536014)(54906003)(2906002)(33656002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: Zf8+kFEt3upVlI87AQXJpLk/Df7xvhJvSxt/4SXBiAftNctVvQVOLSIirnvYXLlF86RyMB+GGkXsUFKkmFXbNwS8fVvk3KCujm0QCASMV8kG5rFf/TCze59Wf01f4LPZ+dPJ18gFWw/isPD9gXkbUeul0Di2Zdm/vpHUopDaa/BgTz4fwEtctFdhuDkcvaWD5ojDt5KZkb4U6fXsneJ+BOP4pY0SxyIS/dV+I5ItYH4cGORX3SeZcRNT4riY07gcz0nqlqQAxpaQ6/I7dyITtJPKrhQHGUKfzpzcO0KMK5uHlrC0B5KSBE0rP83G06mcpEsDjycBxxMLjrbyydffGFyX0qjvlZr0Qo1q+bOlgM4WMeKukRETzRKl0zg1WLDIfGU7htfdsUO9TK5fj3p0tve+sha4zWTkzYHck3MemJHMfGFZCBsc7URcmHQOhdUMslEvHMSxrwxq9aAY3qBs/fFdELA0btzLnL6M/9iS1B0MziBryMfOxRnIuivl8H7bqE0nJfkaBj8tc5I4eRiUWW4nx5s7UvEuZtprPBes4LqnLF4ibPW1e+04QMRI4FtPM2okhinYxsfDXxy63Tj8RppeTMyuHnhL1qHG37E/JCqQdApJb77cB9ss2zr+O+fPrMbuuaxuMwU6whAndkkR/notGDdCLkX1HsGOkgomqnCeoqL/iVXaqs+CcQgSfoGg++HPGV9b6GiyGrR3m4fVT36i5eCQibi5Ht7kZ8h1V45kN2hBzKQeA1SJEb vbEEvpgaQq1X8L0olgFoILLm7KkYvnPOzzxOn1TAwDoM48bghOgP0p0N6IsRN+lOtLZcPptIqeRqKhj389mlBYNTbuDerCSJHG 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: 013444d1-17b1-43f1-45bf-08d9c0bca6af X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Dec 2021 17:51:13.0771 (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: MFki06suWQjzDeBqT+egwMGs+BWihkB1AyJX72kOR7NLWQbvkCrytgjbTs5/v5JFOghcwowVPNS3FDBIISFiHA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR10MB3462 X-Proofpoint-Virus-Version: vendor=nai engine=6300 definitions=10200 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 bulkscore=0 spamscore=0 mlxlogscore=999 suspectscore=0 adultscore=0 malwarescore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2112160099 X-Proofpoint-GUID: EHA3bLPv9cRfZ_Xe3-OCOSyvb2kCCur_ X-Proofpoint-ORIG-GUID: EHA3bLPv9cRfZ_Xe3-OCOSyvb2kCCur_ 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:222517 Archived-At: > >> Moreover, double-clicking mouse-3 is not convenient to use. > > > > I disagree. I'll bet it's what you're already > > doing when (if) you right-click `mouse-3' to > > kill selected text. I'll bet you do NOT use a > > second single-click. >=20 > No, I don't use `mouse-3' to kill selected text, > because it's easy to kill selected text > by choosing "Cut" from the context menu. Well, you were claiming, in general, that double-clicking is not convenient. Perhaps I should have said that I'll be that it's what most users who do use `mouse-3' to kill text do. It seems you're maybe not the best placed to propose that the traditional `mouse-3' behavior be shoved under a bus, and just replaced by a context menu, since you don't even use that traditional behavior. I've argued that Emacs has great mouse behavior, in particular wrt selection and deletion. That's comparing Emacs's mouse behavior with other mouse behavior. It's not comparing mouse behavior with no mouse. If someone does want to use the mouse for selecting and deleting text, Emacs's mouse-3 behavior is great. > > And anyway, it's not a double-click that brings > > up a menu - that continues to do what it's always > > done in Emacs: delete the active region. It's a > > _second single-click_ (at the same spot) that > > brings up the menu. >=20 > So there should be a delay longer than for double-click > before the second click pops up the context menu? Users define the time period for a double-click. They distinguish double-click from two clicks at the same place. Not a problem. You can set that period as brief as you like. > > (That's a design choice, so as to fit best with > > traditional Emacs behavior. Those two could be > > reversed: double-click to bring up menu, two > > single-clicks to delete region.) >=20 > Still inconvenient when double-click brings up menu. Your opinion's noted. And your preference is easily satisfied, as I explained. Perhaps you're arguing for your preference to be the _default_? (That's what you're apparently doing anyway, if your context-menu feature will, by default, _replace_ the traditional mouse-3 behavior, instead of being added and play well with that traditional behavior.) > > And again, there are simple user actions to get > > ONLY what you apparently prefer or ONLY what > > Emacs users are used to: > > > > . It's trivial to choose to always get a context > > menu instead (and yes, with a single click): > > just turn on option `mouse3-menu-always-flag'. >=20 > Maybe context menus should be enabled by default? Clearly that's what you think. I don't. Not now. Normally, we keep the default behavior when we add a new, alternative behavior. We add the new behavior as an option (opt-in). Then, after some experience and time and some user feedback, we might consider changing the default behavior. I say "normally". But we seem to no longer be in normal times. Dear Prudence ... won't you come out, to play?"