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: Tue, 14 Dec 2021 16:49:12 +0000 Message-ID: References: <86pmqa14fc.fsf@mail.linkov.net> <15eebcb1-b67a-8363-bc23-cf113913856f@gmail.com> <86h7bkhlo7.fsf@mail.linkov.net> <37047ada-fa33-88dd-5237-769611fec61b@gmail.com> <83wnkfw8ud.fsf@gnu.org> <86ilvysyq3.fsf@mail.linkov.net> <834k7ix4ij.fsf@gnu.org> <86pmq6taeb.fsf@mail.linkov.net> <83czm6unfs.fsf@gnu.org> <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> 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="3189"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "jporterbugs@gmail.com" , "52293@debbugs.gnu.org" <52293@debbugs.gnu.org> To: Eli Zaretskii , Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 14 17:50:35 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 1mxB0c-0000gc-Vb for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 14 Dec 2021 17:50:35 +0100 Original-Received: from localhost ([::1]:36438 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxB0c-0000Ln-2S for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 14 Dec 2021 11:50:34 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:46616) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxB07-0000Kp-9z for bug-gnu-emacs@gnu.org; Tue, 14 Dec 2021 11:50:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47852) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mxB06-0008FV-GC for bug-gnu-emacs@gnu.org; Tue, 14 Dec 2021 11:50:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mxB06-0007e9-DK for bug-gnu-emacs@gnu.org; Tue, 14 Dec 2021 11:50: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: Tue, 14 Dec 2021 16:50: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.163950055929333 (code B ref 52293); Tue, 14 Dec 2021 16:50:02 +0000 Original-Received: (at 52293) by debbugs.gnu.org; 14 Dec 2021 16:49:19 +0000 Original-Received: from localhost ([127.0.0.1]:59398 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mxAzO-0007d3-K2 for submit@debbugs.gnu.org; Tue, 14 Dec 2021 11:49:18 -0500 Original-Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:35322) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mxAzM-0007cv-Pz for 52293@debbugs.gnu.org; Tue, 14 Dec 2021 11:49:17 -0500 Original-Received: from pps.filterd (m0246627.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 1BEGYBxf017326; Tue, 14 Dec 2021 16:49:15 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=UJPC7JXqz4aI8bLBXwJxZSICAICS82dcwEkUJR6B+tc=; b=IVKdwehkGgKVoDJOjbOac+hGr23rEq2DBdgEztP6yw8lAEqJ7HwIUMM/hxPHB1JDeogl lWUI5ZfSes20tgX5pS77Dzc/ear7pgCeChtwrpBptb9XGIYeg1/S0VrRVhCHlsNQA7Wd cL5/Ko0LHXejaqrwWq96i6kO7eKjyI8KPNKs+H8hIgwMkKlBNHMnVEO1Y8fpQnJ5jYdO a9PpDdpBvpWRc0ijyFhweWhfbUeCdDTLqT8pqb5xUk6PObcGPlw6r8iqMJeIMcM9G04Z OEtzQ4J/XZRaa8+H7Gur6QYykcH2SV6qX5OYMvISNeMptdWq9ElQvwsgmQ/RF/fcZpbr yQ== Original-Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by mx0b-00069f02.pphosted.com with ESMTP id 3cx3py4c77-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 14 Dec 2021 16:49:15 +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 1BEGaTod188491; Tue, 14 Dec 2021 16:49:14 GMT Original-Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2176.outbound.protection.outlook.com [104.47.57.176]) by aserp3020.oracle.com with ESMTP id 3cxmrahw7p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 14 Dec 2021 16:49:14 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=elqCafugnEfaSeK9lUnBZGzsJ1Am5h2nqXzCE0EOZA7WciwcXTh004te/WZl0ToQ+Ke5K8mh5hQRzJ3bG3bi28sGH4bg3c22zuEtBHmJKTNKvl8Ry+YvYpjyuf7iA5nx6FrbIYAkRzq+9sBiNuYUWKRXLCkLrKW2VGHN8ig8/6uZhoYLvq1bpGvH0+8/Tn/YuXr772qm8vTy3jezJrNaemW0wvZulV0LUWIlEuNlQbuvynNgvnMGeEFF9B5CZlQeS6eruyLssdPwVklXZA2HgLXrJi7fM1/NduAWS3cPtQ1dRlx+msJWAGMYDDwqfj4HNxXXS9+sLg/IoUwb4Cnf/g== 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=UJPC7JXqz4aI8bLBXwJxZSICAICS82dcwEkUJR6B+tc=; b=E0OaRjd4+iG2W40y92h3IFrpkfjQdav7kbFfjf3oBE4K4db7Jnn62eyK5g/e8LjgFeWB4u/uEBr3nf+sB9W4fzRShuVaWB8/dyRhfJ8Ia/Ljdk4+5G7h5FuS7cA/7pm0//qM5SDoIkgfDRgtMolindRlw3GCi0VDPKS3JgpYj8kxOWA2CoUDNIsfG9tX/0kELLrSuMv3jynBCwoxHczV6KULNDbzuSM3pV/5k7johbN6bRjMLWyFx7i3FjIGAr/poHwWgeV7yCcYEs/JVzFpSoEm75NXupv0KewhI66mBD0SugfdZHNlh06cIPOm9uiy2hJSBzky1keZC4CxMjSOig== 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=UJPC7JXqz4aI8bLBXwJxZSICAICS82dcwEkUJR6B+tc=; b=rgf2F47DsebxrFGN1HGGgMWnBuW/PxmucHVW39Q+yndzkzcKhd8zgL/foVLEbWNupH9dZFKzLJqYP88Vk4X7QDbH5O6s3WDaOyb82TzN4hd7GxmpfzLF1vwefbuudr7zoO2gLjg/nPJmOdZvy1s0Ai2V5J8LttnWKm5cv1by820= Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by BYAPR10MB2694.namprd10.prod.outlook.com (2603:10b6:a02:b2::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4755.21; Tue, 14 Dec 2021 16:49:12 +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; Tue, 14 Dec 2021 16:49:12 +0000 Thread-Topic: bug#52293: [External] : bug#52293: 29.0.50; [PATCH v3] Prevent further cases of duplicated separators in context menus Thread-Index: AQHX8OvZyrH6lKtc5kOnXVtxAGV+uKwyMBQg In-Reply-To: <83ilvrl4m2.fsf@gnu.org> Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 60047b77-f282-4fb8-d96e-08d9bf21a82d x-ms-traffictypediagnostic: BYAPR10MB2694: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: oUDFQOtTpnmow1lYX2iOzyUDYZtAwRMLECbjuhdc0hJzjl8wZjKt+ii2XrAklf3uhGRhDvfsEl4Y9N0Y9cSPhEELIt5dRs/RCAk+w9Iiycy6260QI2JlENhQwRUsmEoCMj9MDsf8fgDTZ7RzdQHxB3XimZ79//a9qOlXEseOva0f5x14GhzQYuDnaRh+Gk12J3gDVCrY30UPZoG8ZQKOvgU4zI+8Ly5QGRGGF2J/JNLPecvJTZtefWZoNf53FV1d8l6RVprstFi3Xa8v9Z+b8xacm2M+v4GKZiEjwYsDfb/nYmxM502wGM/LEYe75DpIL+8yIO1dlRxos+kLAquoXdFwg2ZN41lF4l+7MPI2nd2sTYaX8wINXWxQ/YRpWJXT2jIXDfbEgHyXHl96trk9ZeFyKt4lXA9tHTvXt2VCqIMkthY0N7VBNRacIN8nvRoUDu4OsCgUIxwcKYJS29Kovt+qu/4Jjci/6CBauFZ6afQ6UOI3zoRUIZAljeAiHmBMYDi38velsrtDrn194g8/QZ+9uF51SO2n+t7Wi7RVph0MHi15y1/8h/nyk71jjM2Nlprt5DkiZmaQBa0mn08k4QSkUKsBI1E3ekms+ipqBiUGKCJ3/yPG8aWRJU0edDCws+Qm01a55AHrR2AlqJGf7jknJuYxENzG0My1qvtp9sC5tip5ECoANNmgFw7QrG8VQpRb9FvqOCwqcLV/i2iQiQ== 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)(5660300002)(76116006)(26005)(33656002)(55016003)(9686003)(71200400001)(66946007)(54906003)(66556008)(110136005)(4326008)(66446008)(86362001)(66476007)(2906002)(52536014)(186003)(8676002)(316002)(83380400001)(64756008)(7696005)(38070700005)(8936002)(6506007)(122000001)(44832011)(38100700002)(508600001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: DLd2zvJeb+fR4MC9sEEe7uGe1PtFdYBzu87fdlXJO1Vtii9aAtdVe2gqyZn/PqsDfkYrbyQt1/utI0ilyujgW47zp+QCUY+PZzdI4GfdUC7s2G89QA/f+LhVj5Lrfsyq2IxOOXX/wS4ZQcqjp7s5sQjaF9cDSRvsoHASBonCXmayPkCj3YVMQI2wsF5RxQFTuRVqumN3QLPEAfkL14xPJKkE3nxRjxWRvH7YA/Y+x4KHZLfIrSJ5OSvAjRLW36L1T4B8HZPIh912Q5RrQt39qlLTQWCj7+gIXo9p0SKBwux5QojM4eNfBXwHc7Q4tqDj0s3i6UrAwEYFIUxajCC+7YPXuF8GoJkc5N/Cjuz7s8mC4ih4qhpysbOO3s1A7IS5I2XRYx5oOUwMI6Gpq3O5HAnIcfyKByiOgOyIr1ZB1mB+GV3taUU0tApv0fuZr+mvAXYxIB1OeDsVjGB6h9zSqyl86uird4yAubPutEH5YMofl51SrakT7rJMhjkfO4JksR1T5Y7hSgwFpnO+a4BFFD0On/dP6qV9jM5YEpz1tv0dNrjidvkO1hFUVeyqhybwfVGCuukof68MdRZeYRVC822fef+pjClxIMC5RC3n9/kxTFxbYdK9pE+w2ie5GkArP3BdznaYc662nC+ZeKMPq7cUHLjPgH/p9c7rHA5MkuH998dCrJQ6/CaJ8/A5r1mg4cyAlZfao01UFmaG+4VYVdZ35RFLudqO+tOL6QhOhjvurGnOuXdScJXk5O klt7Xz4w2BlbfmKAWJJ/1yxLSF8QREKgKlGjuxmutf0NFIL+POxEnLKYi6SkIpac18PXdNAQi2cIOHcejFWO8GLboQOFCs1fxM 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: 60047b77-f282-4fb8-d96e-08d9bf21a82d X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Dec 2021 16:49:12.5101 (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: sh6HTKj7Ygfv4J4uDLKImi2lpzTCewUTliwx3snGNFbb11Ls4vf5kjHX1rJRbDCmY0ON9tI7SnnOPFSNJGkSSw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR10MB2694 X-Proofpoint-Virus-Version: vendor=nai engine=6300 definitions=10198 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 bulkscore=0 spamscore=0 mlxlogscore=598 suspectscore=0 adultscore=0 malwarescore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2112140092 X-Proofpoint-ORIG-GUID: eZkoItpFquoKHSXNav0I4woaXlMOS4tv X-Proofpoint-GUID: eZkoItpFquoKHSXNav0I4woaXlMOS4tv 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:222378 Archived-At: > > As Drew already noted, other menus have no such problem because > > they are static, and the authors can easily ensure that a single > > separator is used between submenus. >=20 > No, other menus aren't static, because Emacs adds and removes items to > some menus as we see fit. So I think this distinction is artificial > and incorrect. It is true that context menus are "more dynamic", so > to say, but that's not a fundamental distinction. To be clear, I never said that other menus are static. I said only that someone (for whatever reasons) might want to provide or allow consecutive separators, and that that should be possible. That's all. And I said that programmers can anyway make separators, like other menu items, conditional (e.g. invisible). And wrt Juri's context menus, I said I really don't care much what you do wrt separators. I've elsewhere expressed my displeasure in seeing context menus implemented in the way Emacs is doing that, but that was ignored. (I use my own approach to providing mouse-3 context menus, which allows the standard, longstanding Emacs mouse-3 behavior at the same time.) My posts in this thread were only a concern that automatic separator deletion be limited to context menus. It was confirmed that they are, which is good.