From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#69097: [PATCH] Add 'kill-region-or-word' command Date: Sun, 5 May 2024 17:08:36 +0000 Message-ID: References: <871q9g8z8k.fsf@posteo.net> <87wmob73ds.fsf@posteo.net> <861q6jji0i.fsf@gnu.org> <87o79n6uj6.fsf@posteo.net> <86v83vi2kr.fsf@gnu.org> <86seyzi2by.fsf@gnu.org> <87cyq26bt8.fsf@posteo.net> <864jbeixkt.fsf@gnu.org> <874jbe65u0.fsf@posteo.net> <8634qwkbtc.fsf@mail.linkov.net> <86h6fceij2.fsf@gnu.org> <86zft4jl5d.fsf@mail.linkov.net> <87plu05hcu.fsf@posteo.net> <86jzk8i48t.fsf@mail.linkov.net> Reply-To: Drew Adams 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="15118"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , "rms@gnu.org" , "69097@debbugs.gnu.org" <69097@debbugs.gnu.org> To: Juri Linkov , Philip Kaludercic Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 05 19:09:48 2024 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 1s3fMy-0003iA-CX for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 05 May 2024 19:09:48 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3fMt-0000UQ-LJ; Sun, 05 May 2024 13:09:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s3fMq-0000Tv-1p for bug-gnu-emacs@gnu.org; Sun, 05 May 2024 13:09:40 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s3fMp-0002vT-JB for bug-gnu-emacs@gnu.org; Sun, 05 May 2024 13:09:39 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s3fNC-0001sS-6T for bug-gnu-emacs@gnu.org; Sun, 05 May 2024 13:10:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 05 May 2024 17:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69097 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 69097-submit@debbugs.gnu.org id=B69097.17149289507203 (code B ref 69097); Sun, 05 May 2024 17:10:02 +0000 Original-Received: (at 69097) by debbugs.gnu.org; 5 May 2024 17:09:10 +0000 Original-Received: from localhost ([127.0.0.1]:60755 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3fML-0001s7-Iu for submit@debbugs.gnu.org; Sun, 05 May 2024 13:09:09 -0400 Original-Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:38224) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3fMH-0001s1-7T for 69097@debbugs.gnu.org; Sun, 05 May 2024 13:09:08 -0400 Original-Received: from pps.filterd (m0246629.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 44570FBs019883; Sun, 5 May 2024 17:08:39 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-2023-11-20; bh=eTFRTDhpQa5buSPyFyP94jqi77GQ0SOvjwD9z4WA7BI=; b=JYecYKMfXBarG6JUjL4gKc/l1grJ72Jq6IEWVcVADqnPS1qIArn/fgVHUNGNgXXpSSRp 58e0oe0KXA/yTspRGG/1NKAzdnplkLnS0q3nwGzIjUA5ErgKFiHIF0RYoadXFzbj6lnB B0I3gWPHgx+mVLTY6dcNzup4ZXhkTya2T8C0/3xHGaqTKSdoiLXVrYW1zHyEC+aovStW fCc3r1J5Hojbl5b/nl7BAZCWh3dF8/k9vFJZX0c4VXhWwNXsy7MHGuD+tIyQWotOq2X2 pEBIvP+Bu7wnZH67xViJEAl1No1f5MeLA6CgKDyAo2Lpdoi3mSFJXmNJw2oXpkiiF/KI 4g== Original-Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3xwcwbsd08-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 05 May 2024 17:08:39 +0000 Original-Received: from pps.filterd (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 445CVFkN006924; Sun, 5 May 2024 17:08:38 GMT Original-Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2041.outbound.protection.outlook.com [104.47.66.41]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3xwbf5syb1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 05 May 2024 17:08:38 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Zo0xm2nvFil8/IwVL1yv6Turkoc+n7u5DQHkjTiEYTM9IZtGyGy3P1/xPbyiJD/xJiTYvxdWpVHWQR0j9yLzZk6uOjy2EQMmDUiFXNlBhpVABRzkmzlFcsDoOK/gpFS0pF8DobwyzWEViC2f24er6S6/lQma+QAPKvZcV1QWMalwR0pdYQzJOZbJLWxPfLB9uL/5boGF87tGelxIoMPcFp13KpQdvSIW0kSoqc3obQRT+jYJz/FLZm2e9rZup0LJT+0PbUuNKCRNR+bUBLWJz+VzBc04sjvhknctd8UHPXJPAhsIRRPNNRDgE4uWXZOI22ReKaEkxY9sPH84HF8dNw== 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=eTFRTDhpQa5buSPyFyP94jqi77GQ0SOvjwD9z4WA7BI=; b=fG/ejZkiXYQLcwj+I98NBMasRV7yLIgSNcnFF9pLdLYDT/MWTD2jRN9iWUBWi/xSv4qhbgePfIYteu4z52wnfu1CnLM/dZnbrkphyaXo309ahvYnTAolQ/wtYX0yOqoQqM0ErOOW0PmjZDfdWwKAKvM4cvMLcHV+vzX+QpBXafBsuO2f7YmO+GM9xH7jnBVFjW3OHoCnnIeGF8J6m4PQ8OAG46EZODT5z5TMEsKY4LEBLBamnTx6S+9y3sEm/WnkqXFal76+QX8T0F/ioc6b2cB5RF5+cQrxidoPT3ewDctXP1jcEDoDmXu8JECK4vsFW+cUxYl6X/wT0zLG4hHE9Q== 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=eTFRTDhpQa5buSPyFyP94jqi77GQ0SOvjwD9z4WA7BI=; b=MDp7+Su+xlVb4nRNKzDT+Qgw/Zlap9U7eIN/5r5wgl8TodNw1w97Mzt5Zxa7xlbYJyibTFlDl+WDklK4dLM0lOUqRKjqpn8n2NTMQRJkVKajvrttyORKNyIgBfIXqOsPrMK2YXIw6iCeDnCtefduQJp/Xjf48lteEbITFOc6HHk= Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by BN0PR10MB4856.namprd10.prod.outlook.com (2603:10b6:408:12b::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.41; Sun, 5 May 2024 17:08:36 +0000 Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::380d:4e6d:faae:a72a]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::380d:4e6d:faae:a72a%7]) with mapi id 15.20.7544.039; Sun, 5 May 2024 17:08:36 +0000 Thread-Topic: [External] : bug#69097: [PATCH] Add 'kill-region-or-word' command Thread-Index: AQHanw2huP7OwQElcUG+493pm1jGCrGI3s/Q In-Reply-To: <86jzk8i48t.fsf@mail.linkov.net> Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SJ0PR10MB5488:EE_|BN0PR10MB4856:EE_ x-ms-office365-filtering-correlation-id: 27282eb8-0b15-4ce5-86d2-08dc6d260096 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230031|376005|366007|1800799015|38070700009; x-microsoft-antispam-message-info: DA6dBiLD6zfa2nGJlyCAiqAhUEEgX5CXanBlJcxDewHD0iKx9PQdwvkcu9wVbTDbCZvs9rbU0jSo4Qoc944dAxVSHchyRxjs8Rb1rDK4f/1Cj4gHwvoaVaiuhLoN22PQqDlN5jjhtfSEgpHffiuPrWS5uM2K0Rhp+K0l7t/sxEjFStRfTZ118PQGeJJAtN9qSAWBOs55znXMp4jLqrK8y2S5zFFjXGwcUrl2g1VBqYZJJXHn9VlgNaRfzvZlIiDNSwxxt8MjN2mG0nPLiZhLZ+5jqcD5ufXeEwPcGdyUvXlOnrN0BJtalauIOPoHYrqj01jKwAMIIqlpd1ev/+/XYEITdvGUJlHA6TteEJOYQ16XZr2+Xycp8frJgp4BrOg2bC0gCGYl8Qs+aTj56vKl/y2aCVZg9Joh4d59cbJbdCXNNNtZsmQaOSSXDFXURT3M7YY66xP6IqZCkUcNEzx+7Qr0gDWeBUwCo6dbaMdGGANgqVhFECdAFM9kvQb4hBiYPJIhTl+lUfCwE1ZsWBEPAFxjZmRnD5nx+PPQjYXI1ZPPfcmRGZMQLWL2HDLLO5Y38vLxfB6OSiEidEbtBEPBdweipDJQxKXW8iN2+OkOe69vrcVM1EQeYbunH9JAvS4zkpeYKzXSU2q14c4BV5RAR1jBYTGT6mUAJcoAc+WtJHrIt4inlIFjYetGSojbaCvMVChsLQMLbPVNFiqJ5ajunAZQSNJSmnuwS7PyZK3WvchzVWO/l7HEhL8dUvGRc yLDS/QgTq4/CpsFKQBbxnCHI+/nkeUS6ZduuGwZ2k8c8pxQiDnc5SwPMqXqUrqSrZSJLbk2Gl9h2u9zCvLsyt7BegMvIMXfXiQ 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:(13230031)(376005)(366007)(1800799015)(38070700009); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: 29kPGcLvu4A6NGxL0GK6KucG/cvbkroyMs7Y1h6WA2gn9W3nrEM5PUgYLEnzn32u482Wgz0QPUtQLRklv9cZ0XpjFoYfGV07BSKdBQ220+w91l2TYhXsIwvZK2zl0Il4+MQ2HEXAb131vNo8TVFTaNinti53cqyc45SMzOkZd1qKvfPQCZCmzBD+bxJb5CaffE3mrt//uOBAkWTIVQsZI4P3tdgQZRLBRh7hw5YDD9DmXCVujpzW13Yds33k4fAwrTrcK+uAT43UHo1YR4cFdlAIBLgCeW5fIOPFJSc0yA1NczOaNd6O80agPi8Y6RvvWfjh4mqSA0z/JyeE5pE4e6H85cDF2gyVS/+tvO6cVxj62iGxQf0mzaaw+oObT+zEvlllOslWtNA5FHCfOGFKcObYZ/XRs/YE0cfIWUqo40wgP7rhdgbtLyfKqCtfN5EaEq3K076bkXqewMFO93LdxIchjfIcbTdozXiRqzQTqirGaQfYrKi+IutXF6l6mlbRAZfLLna8UlP0933Fa9SY//n+Vn01kWg/hjoierwmhJpC6R9H+S/fZkUUCfH5Mw6q2+2GXH+WFFN7b4UJg8Y24lVMBSmoIyGnXTySou5oJ61YAW6/wTO+bGqa0TY11uxyUPvc9WJYoAw249rBOVIJA8Xt5ptWpEvs1/pT+1uZY/PznlrSYnZUOMa7VG3P+TZUDB1eIzIoI2PqtimKhJOhXPpdhIeL1F1LT991oOSv/zTCbPZXOrFS1BPh5W ZpjeT4fyvjTlhe+PeBZUimTBWwormp+/fHjMrhaTJMpV4/513adO2sclezwlKN4DiA0BBsBfcCP2UU2cTZptEpoCFnxjkxulrj X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: eCuAvByGV3fLGCOrnI2h2hVkcRhSQYDkbiuFOvHioX1GbyzpFwbAFg90yXjB9x6/oFlTtafIaGTc4SzLwKkG3Fzvil/aNKsio56svDEscUC1fx4jYjaHOV0oX6WhI7u6GM9nYPVN1H/OCogPrxJ+OGO+DF6dHbzCao/oOrzV2ZltMCgA3uvlj/Pr7F043MaJk2pgiGaTYP9Y5UinzV4sHwHAB6MOr6WnHZlEtUUwcX1oX2MPmOhez4VbkVxqrqkcTmjLeF9+k+TQPL8hFXiBN7F3xkZg93Z92z3X26jdTq2QsI5wxQalcHHT4WBLdLPcGfEbFB/DGVY+r2axjl//ELIiAgDYiP3CEjb6jTSzMptLjiyu7a1JMyHkqH7Vj6yG+hbCShxrKodiYjbh/7aYVVS6APJWje6S+UDiJj5K7cOjbvpPtCNAdO558+QpwQ+zRgB/9aROUPnbNKWkpIEKtpCQWidOFGvomI9kGQSavFP229Qzqv1xLqaBJRx2TXwgmS8Bh5vcBj/XiqWf30zljPMljQFBYxyJHuxYozaAGdyhKp+BM0qPOLRl9Q4+hLeDHFtHXfe404/UIcPMdCTcekvQXAAkiKf+6RAQ54KY9lQ= 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: 27282eb8-0b15-4ce5-86d2-08dc6d260096 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 May 2024 17:08:36.5567 (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: rMqoVPaPJ0Nx52gl3TMhZTYDUri5CK5tSokZJ0cKZM1aB9/w1L1KzP7/LTaM1apGWJjzlvduvfDJ0dtdd5rspA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN0PR10MB4856 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1011,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-05-05_11,2024-05-03_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 mlxlogscore=777 phishscore=0 spamscore=0 suspectscore=0 mlxscore=0 malwarescore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2404010000 definitions=main-2405050075 X-Proofpoint-GUID: D8xL5941d-oI34a45OjWKVgSOqZnsM5U X-Proofpoint-ORIG-GUID: D8xL5941d-oI34a45OjWKVgSOqZnsM5U 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:284524 Archived-At: > > Right, the initial command just merges `backward-kill-word' and > > `kill-region' into one. >=20 > There are two ways to merge: > 1. `backward-kill-word' into `kill-region' > 2. `kill-region' into `backward-kill-word' >=20 > I don't know why prefer one over another. Just please make the merge a _new_ command, and don't give it the longstanding key for either `kill-region' or `backward-kill-word'. Don't give it any key binding by default. That's the Emacs way, IMO. If people tend to bind it to some normally-taken key, such as `C-w' or `M-DEL' THEN raise the question of whether Emacs should change that binding by default.