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#52130: 27.2; Wrong default key binding for `mouse-drag-set-region' Date: Fri, 26 Nov 2021 22:09:32 +0000 Message-ID: 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="14795"; mail-complaints-to="usenet@ciao.gmane.io" To: 52130@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 26 23:11:12 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 1mqjR2-0003cY-Em for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 26 Nov 2021 23:11:12 +0100 Original-Received: from localhost ([::1]:40050 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mqjR0-0007eH-Er for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 26 Nov 2021 17:11:10 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:49510) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqjQs-0007e7-Ut for bug-gnu-emacs@gnu.org; Fri, 26 Nov 2021 17:11:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49135) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mqjQs-0003N8-MV for bug-gnu-emacs@gnu.org; Fri, 26 Nov 2021 17:11:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mqjQs-0005Bg-Hn for bug-gnu-emacs@gnu.org; Fri, 26 Nov 2021 17:11: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, 26 Nov 2021 22:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52130 X-GNU-PR-Package: emacs X-Debbugs-Original-To: "bug-gnu-emacs@gnu.org" Original-Received: via spool by submit@debbugs.gnu.org id=B.163796460219862 (code B ref -1); Fri, 26 Nov 2021 22:11:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 Nov 2021 22:10:02 +0000 Original-Received: from localhost ([127.0.0.1]:60681 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mqjPu-0005A8-4f for submit@debbugs.gnu.org; Fri, 26 Nov 2021 17:10:02 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:41400) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mqjPe-00059c-OT for submit@debbugs.gnu.org; Fri, 26 Nov 2021 17:10:01 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:49270) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqjPe-0007Jy-KI for bug-gnu-emacs@gnu.org; Fri, 26 Nov 2021 17:09:46 -0500 Original-Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:31010) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqjPa-00039x-BU for bug-gnu-emacs@gnu.org; Fri, 26 Nov 2021 17:09:44 -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 1AQL18DJ016608 for ; Fri, 26 Nov 2021 22:09:38 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : subject : date : message-id : content-type : content-transfer-encoding : mime-version; s=corp-2021-07-09; bh=AwuzE76VVuh+1jBKedyU6P1bGmYuwwpwqMvkKqs3amw=; b=bdnM57Yo9qbN8MiPOHaHbyiC5BKm02JvY/u7sy34srQOko9TkijnP0iAdxS5EgZ2+r7E 1mTM8lE5ftDIFjaXi/C6FVuIHt9w8chCwYlPo9ULdqhUiy7KkYFWr3Y94uPz9ycCA+pz Qt97ulriGTmJfcfRAFvngeaPijj9LLjMm5tTPpQxYUElVjr4jV5XS8zEhzjfP3jhmg5x oocrrIZYoxOrnb4upX2Zr3upm9kXhip2R9Kx/fBvcsJtfQsG+Bm6uWDRm+VSiuzmU/Xl 7kAYAgkqBmDYxL3AkNQ+0LcX7y2byCe50vYpKmLTlACEQWQnZAhP8aOhgCDPSutJflNf jA== Original-Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by mx0b-00069f02.pphosted.com with ESMTP id 3ck1vsh0pv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 26 Nov 2021 22:09:37 +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 1AQM5YMf081346 for ; Fri, 26 Nov 2021 22:09:34 GMT Original-Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2173.outbound.protection.outlook.com [104.47.57.173]) by aserp3020.oracle.com with ESMTP id 3ceruaexgc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 26 Nov 2021 22:09:34 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cPisId0iWv8viiqCd6YEEuFK1dAoBo3ULpWpTRyLXFLvP/zZeXkTCJvHmgvkiNbfO3Ip5Oygw5Ot62K+Mka9W1Ix1uyWHPSWCxUZ43f6PgbF91iyjU/C3HBxUuQNG4F5FexX52/icgv65hi4rMXy1W8fiCLCJIz4WFWsnVyYLkJyMg7Ow+KPWtXbDYTfX5wh4vWU4/nNTYS0ojEHFY+1DMf1Pc6BF5yzb4W+/dyergLsB5yEbJlDrC/LSOInfYsCRSteCuOmm+wVrziWtFj+3XmeY5igv5hOs7fzpkPXHzZE5Eq0XrdRr3WjGuMEm6Dl9xh1mzABs9CxW8BwKW8kTw== 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=AwuzE76VVuh+1jBKedyU6P1bGmYuwwpwqMvkKqs3amw=; b=ZgEadUk7IOsU3S6xWPDVxtsQvuQnKCyCvyNipNLf+zazJskEk4VAbvhut13gncvbEIub7jtK/MRoF87ByipylKxG7lxdltnH1jTh1id4ErYeAuOFRs7L5pid0qwpPJcp6QTlwfzMOax9AiBEpU4sPWvfbNXtt6QCT1u1enECs2NADQpoVmI4deoh+VMCpc92EJpt0fPiiWjGKd6+7b3QKrHVUf6U2g+D4rRnbEl3ZsXLBb1JnoBQ2groxoAAMUdOcFClg0OzVyaWXL3RBSyKC/MtwpAEQkY90zAz1um+Ip5MUQvhQN2jiEgP7hPdhg4U0KLKPQyex1/M9vkLDPAvGQ== 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=AwuzE76VVuh+1jBKedyU6P1bGmYuwwpwqMvkKqs3amw=; b=fI8Cp9cZyPCKLCgiy1HGzkYE0upZ5nHkuoHPqcnzDnzHK/hvUovDn/eibTOsO3CDJlnClHoHZEgHF9yhw/CAsboxNwiwR8uuiKOYItHr3+rhTwTcQ4E1fIuhSRTW690B2Fq7GJO5a995sLpz4drL//j50+VXgf5DXC93RJ0UkKE= Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by BY5PR10MB4130.namprd10.prod.outlook.com (2603:10b6:a03:201::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4713.19; Fri, 26 Nov 2021 22:09:32 +0000 Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::4588:646c:e330:8bc0]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::4588:646c:e330:8bc0%9]) with mapi id 15.20.4734.023; Fri, 26 Nov 2021 22:09:32 +0000 Thread-Topic: 27.2; Wrong default key binding for `mouse-drag-set-region' Thread-Index: AdfjEjhwG7vLqFZ5S+aLgq7RMeAGCg== Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ee24cc8b-12f4-47f1-363b-08d9b1296cb1 x-ms-traffictypediagnostic: BY5PR10MB4130: 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: oT1RyCK9ZOIh2vINMkstTW6bWDqWH1GCNhvjSI+ZsgcoXxtIJDkFfYU0VVfheJ/C7vHxS9QSZ/2iTuC1TcqwkwID6FHAPOEJc5nsto9AovmQtl9z+VhzXkNTkvvZCkDbp8eyWOZYGTSca6k2f3loQqHYpfsbSJDLUgyFcZFl0Ng3W6lee/TaKG7xuHPN7Ay/HqKRVjaOBZI0DT5ExnvqCHzoHZTXFycdFkTapS7lckJWiBUzxnErokWgakpwZbA2bcGBxxulUO/dez+AijO43SHv3NpbOi7ITK3IlY4+ETEQG9yR7G9s2TB3vaRN/Z2kPdUoH03Jtm4XtyJvM2hToXkFQ3XfxoA//2m95LryQf3yT3Gdc8uobxLk9qfubvv8bjAutt2BRKoFolBj5sNDvXFhWoP+KKIyGD7wRBckbhNbLXhMXUSdUiNCBzNLpnLDuUfx6YrG7Nk+1Lh0OJy8EVetjYvPYQwTToRjbelpiTZGSjMYUG2rA3tH6cw9rLGl1gnrkxIKWeHzsBUD3pJgLLsQDhB8ew2nM58nEN0FqDqEOpJlsGLANz6zN1WtwdCPtDa4QAzQe3cllKnSJ2Ska8bE4PUpAKNcYJpezIZy039Vm+5wF4qDLp+MfzHSebrjCZDl0LN3VNt4+yBQpNdZTGSoV9Ydnau/xTfsVxu++GV8M54QzR1JlvnwRyYmM480cut0scHP+TT4HemGFWKB8K/ZQ9ze0EV8+JGCEhZgnjk= 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)(55016003)(33656002)(7696005)(52536014)(76116006)(86362001)(8676002)(66946007)(66446008)(64756008)(66556008)(66476007)(316002)(26005)(6916009)(45080400002)(6506007)(38070700005)(508600001)(44832011)(122000001)(38100700002)(9686003)(5660300002)(186003)(8936002)(2906002)(71200400001)(81973001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: VH2seb43MD2/YfWo95BXTT9O366FUFm1G23zD6+0cQWRWqyTOV2Ksmg57DLNcELNfKVs6WBwTk4OjuLMz3ofILKJan2SA+ANx7t6nyNNx40mCvVIoTtNQ551mpmGioGWYOBquTRRPqc8LbUi0mHqQS+75hHJyUMpZhBSielPpQJIBWvi5GDXCDWF9kzOPDyz8RZysPCSb5Gwmf5CesbMlLWOnXWgRpaL0H/XmE9rzDXP3TrZOVsWk0wlablKizcz56ci2ik+E4izSapFB2Q3UDlm+Yt6oAE6PIGNzYldaQmN9S/EieqxYvKRTC133fJNv0VQXtZkuexjNhBvuBYuvNuyySANjvK0nIceeXXPMDsROLQkRoxT3QPDlCO4S4/PlMsh/OQ/RuqrEHZp9dJe9ARMl5CBALY1aIJSmmO7iXBt+FaXmMG1xZa/KmB2AepIK4j4G5mZhKzKwC9v1L4CIAkPx2xhjc5SLTWkkz44Mn3dLTr2khQETghY/w/l4QItG4he2p4aVT9lrq7pK7UgsW23nqpvVWp40E5maUW54d+y3OZE+BOSypRx0Qvofl8bebPX2UtbzHACReAcOB2g2CKMl8khB+DLvKzg6NVXeFTrO79qQl+mSRHd6HmgKsBTH12B/Ov8kUvGFn4q0fjYHa2jKFPWysbkn14s7av5ybD3iI7P/tKQz4h3dsndg6K+IYXuT9+Yl5iJeHGPsMkJK/gAL2Md7eBIvPhHjZtmK5ENP69QXwsJShmZpT 5mgnAK459Hto2iZE1Ntj+aC1WinNXFVtmSJMFm8i4yplgcJ2abQbav8vAsWdwEuUhDHP02WJNDeJV71zpZgs8evIEi7PGRClrt 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: ee24cc8b-12f4-47f1-363b-08d9b1296cb1 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Nov 2021 22:09:32.3849 (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: 52VVib1mboKDKZrvJze8LrwYUVAyaqoIt0HtHONqGFbsdO6ALYQqri5QF7zsfk+2FXYKdLk9i8PIIklSSuf7WQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR10MB4130 X-Proofpoint-Virus-Version: vendor=nai engine=6300 definitions=10180 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 mlxscore=0 spamscore=0 mlxlogscore=999 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2111260129 X-Proofpoint-GUID: 8SxGscOd-1JkDcnXdadnl7_Ny_Dt3jAO X-Proofpoint-ORIG-GUID: 8SxGscOd-1JkDcnXdadnl7_Ny_Dt3jAO Received-SPF: pass client-ip=205.220.165.32; envelope-from=drew.adams@oracle.com; helo=mx0a-00069f02.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:220889 Archived-At: FWIW, I object to the default key binding of `C-M-down-mouse-1 to `mouse-drag-region-rectangle'. This prefix should never have been given to that command. Why? Because: 1. There are no other rectangular-region commands on, or that will be put on, the same prefix (`C-M-'). 2. There are plenty of sets of related commands that it does make sense to put on that prefix (`C-M-'). 3. `rectangle-mark-mode' is on `C-x SPC'. This is the other rectangle command that involves the active region. And other rectangle commands that don't necessarily involve the active region are also on prefix key `C-x'. (Those other, non-active region rectangle commands are actually on `C-x r', but using that prefix for both rectangles and completely unrelated commands (e.g. bookmarks) is misguided, and I hope that mix will be abandoned someday.) I don't think that binding was well thought out. I'd like to see Emacs instead use these default bindings, on `C-x', for such behavior: (global-set-key [(control x) mouse-1] 'mouse-set-point) (global-set-key [(control x) down-mouse-1] 'mouse-drag-region-rectangle) Can we please remove the `C-M-' mouse-1 bindings default for mouse-1 rectangle definition, and replace them with `C-x' mouse-1 bindings? In GNU Emacs 27.2 (build 1, x86_64-w64-mingw32) of 2021-03-26 Repository revision: deef5efafb70f4b171265b896505b92b6eef24e6 Windowing system distributor `Microsoft Corp.', version 10.0.19042 Configured using: `configure --without-dbus --host=3Dx86_64-w64-mingw32 --without-compress-install 'CFLAGS=3D-O2 -static''