From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 24 13:23:15 2014 Received: (at submit) by debbugs.gnu.org; 24 Jul 2014 17:23:15 +0000 Received: from localhost ([127.0.0.1]:36933 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XAMjW-00031n-Vr for submit@debbugs.gnu.org; Thu, 24 Jul 2014 13:23:15 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57295) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XAMjQ-00031B-8X for submit@debbugs.gnu.org; Thu, 24 Jul 2014 13:23:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XAMjA-0000ce-6Y for submit@debbugs.gnu.org; Thu, 24 Jul 2014 13:22:59 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:37516) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAMjA-0000cR-3X for submit@debbugs.gnu.org; Thu, 24 Jul 2014 13:22:48 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58877) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAMj0-0001FX-OF for bug-gnu-emacs@gnu.org; Thu, 24 Jul 2014 13:22:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XAMir-0000UH-E6 for bug-gnu-emacs@gnu.org; Thu, 24 Jul 2014 13:22:38 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:34101) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAMir-0000Tw-7d for bug-gnu-emacs@gnu.org; Thu, 24 Jul 2014 13:22:29 -0400 Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s6OHMRU7005428 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 24 Jul 2014 17:22:28 GMT Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85]) by ucsinet22.oracle.com (8.14.5+Sun/8.14.5) with ESMTP id s6OHMOR5022380 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 24 Jul 2014 17:22:26 GMT Received: from abhmp0007.oracle.com (abhmp0007.oracle.com [141.146.116.13]) by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s6OHMOgf011930; Thu, 24 Jul 2014 17:22:24 GMT MIME-Version: 1.0 Message-ID: <4aea5d8d-c60c-4213-ad3d-1f701b50792a@default> Date: Thu, 24 Jul 2014 10:22:23 -0700 (PDT) From: Drew Adams To: bug-gnu-emacs@gnu.org Subject: 24.4.50; Restore simplicity of (put 'self-insert-command 'delete-selection 'kill) X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6691.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit Cc: Juri Linkov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) This is a followup to bug #13312, whose status is "Fixed in version 24.4". The #13312 bug thread included this exchange between me and Juri Linkov: >From me: -------- > But when you want put `kill' as the `delete-selection' property > then it's better to use this code: > (put 'self-insert-command 'delete-selection > (lambda () > (and (not (run-hook-with-args-until-success > =09=09 'self-insert-uses-region-functions)) > =09 'kill))) Maybe so, but that is not at all what the `delete-selection-mode' doc & comments tell users. If this is a new requirement/guideline, then it needs to be documented. But I wonder why this must now be so. In the past, a user could just put `kill' as the property. The code does not seem so clean now. One of the benefits of the `delsel.el' design (and yes, along with those benefits come also some disadvantages) is its simplicity for users. This seems to go against that. Is it really necessary? Isn't there another way to accomplish the same thing (whatever that is), so we can keep the simple and clean design for users? What was the reason for introducing `self-insert-uses-region-functions'? It seems it was only for `electric-pair-mode'. IIRC, I wasn't too happy with that hack when it was done. Now it seems to be dirtying (complicating) `delsel.el'. Isn't there a better way? But again, we should probably be discussing this elsewhere, since it does not seem to be only about this bug. ... Users should be able to `put' a single, understandable symbol as the `delete-selection' property value. They should not need to fiddle with obscure lambda forms (or symbols whose names are not simple to understand). Symbol `kill' is simple - it says that you want the region to be killed. This simplicity was the case before (`delsel.el' is old and simple). Someone introduced `electric-pair-mode', and then someone else complained about its interaction with `delete-selection-mode'. The fix for that should not have involved screwing `delete-selection-mode', as seems to be the case so far. Juri's reply: ------------- I think (run-hook-with-args-until-success 'self-insert-uses-region-functions) could be moved to the body of `delete-selection-helper'. Then the users again will enjoy the simplicity of (put 'self-insert-command 'delete-selection t) and (put 'self-insert-command 'delete-selection 'kill) To which I replied: "That sounds good. Thank you, Juri." This new bug is about getting that fixed, IOW, restoring the ability to use a simple `put' to configure `delete-selection-mode' behavior for a given command, rather than having to jump through hoops with incomprehensible lambda forms in the `put' value. IOW not make users do things like this: > (put 'self-insert-command 'delete-selection > (lambda () > (and (not (run-hook-with-args-until-success > =09=09 'self-insert-uses-region-functions)) > =09 'kill))) In GNU Emacs 24.4.50.1 (i686-pc-mingw32) of 2014-06-28 on ODIEONE Bzr revision: 117431 rgm@gnu.org-20140628015517-eku6hj8mpgcvfnso Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --prefix=3D/c/Devel/emacs/snapshot/trunk --enable-checking=3Dyes,glyphs 'CFLAGS=3D-O0 -g3' LDFLAGS=3D-Lc:/Devel/emacs/lib 'CPPFLAGS=3D-DGC_MCHECK=3D1 -Ic:/Devel/emacs/include'' From debbugs-submit-bounces@debbugs.gnu.org Wed May 11 11:02:29 2022 Received: (at 18100) by debbugs.gnu.org; 11 May 2022 15:02:29 +0000 Received: from localhost ([127.0.0.1]:38109 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nonrA-0007n6-RZ for submit@debbugs.gnu.org; Wed, 11 May 2022 11:02:29 -0400 Received: from quimby.gnus.org ([95.216.78.240]:42630) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nonr8-0007mp-DK for 18100@debbugs.gnu.org; Wed, 11 May 2022 11:02:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=iWyqh8aAyOc2RVjJcQgPnb8eJadDlQeeam99aQXh3YU=; b=Ev9YEIf36IhWxCeB3Ba+5eiHEi 0tJxKGdDruL5ogE2Q6m8hnHApw8UnmUIUBs4fbuvHdR6tA07z3AGC/oiijuXOj35CHhzYvu12TCyX zzPJwxe7ckbXUhaOnDFBI/AETjsY5CUdsYZBILBEFjh52Fz+uuhEFRoioTLyS5DxGtsc=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nonqy-00013U-UD; Wed, 11 May 2022 17:02:19 +0200 From: Lars Ingebrigtsen To: Drew Adams Subject: Re: bug#18100: 24.4.50; Restore simplicity of (put 'self-insert-command 'delete-selection 'kill) References: <4aea5d8d-c60c-4213-ad3d-1f701b50792a@default> X-Now-Playing: Joni Mitchell's _Travelogue (1)_: "Slouching Towards Bethlehem (based on a poem by W.B. Yeats)" Date: Wed, 11 May 2022 17:02:16 +0200 In-Reply-To: <4aea5d8d-c60c-4213-ad3d-1f701b50792a@default> (Drew Adams's message of "Thu, 24 Jul 2014 10:22:23 -0700 (PDT)") Message-ID: <87k0as6rk7.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Drew Adams writes: > This new bug is about getting that fixed, IOW, restoring the ability to > use a simple `put' to configure `delete-selection-mode' behavior for a > given command, rather than having to jump through h [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 18100 Cc: Juri Linkov , 18100@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Drew Adams writes: > This new bug is about getting that fixed, IOW, restoring the ability to > use a simple `put' to configure `delete-selection-mode' behavior for a > given command, rather than having to jump through hoops with > incomprehensible lambda forms in the `put' value. IOW not make users do > things like this: > >> (put 'self-insert-command 'delete-selection >> (lambda () >> (and (not (run-hook-with-args-until-success >> 'self-insert-uses-region-functions)) >> 'kill))) This was somewhat rewritten in 2015, and there's now a delete-selection-uses-region-p. So this would be simpler to express now: (put 'self-insert-command 'delete-selection (lambda () (and (delete-selection-uses-region-p) 'kill))) And I think that's sufficient here, and I'm therefore closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed May 11 11:02:32 2022 Received: (at control) by debbugs.gnu.org; 11 May 2022 15:02:32 +0000 Received: from localhost ([127.0.0.1]:38112 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nonrE-0007nN-30 for submit@debbugs.gnu.org; Wed, 11 May 2022 11:02:32 -0400 Received: from quimby.gnus.org ([95.216.78.240]:42644) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nonrC-0007mv-2c for control@debbugs.gnu.org; Wed, 11 May 2022 11:02:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=IA4KC2flEJx1SmVzZozz0anK3K/zWj7g0QwUMJ3mLRo=; b=oPYoHezml8nnZDA5P719bgMUyP ZXxSCb11VbfmIozzmf16VniAi0d68SH1gvxkESrjoAP+fMo9JAXhGviwm1WYFE15sa4uww/ZXN8pM ddNwD9AzvbKZsmKwFp84bMFeS1bXmGLRa45fBILI1sRH/GGh7TrgscvczgM2mcBq9y88=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nonr4-00013e-EQ for control@debbugs.gnu.org; Wed, 11 May 2022 17:02:24 +0200 Date: Wed, 11 May 2022 17:02:21 +0200 Message-Id: <87ilqc6rk2.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #18100 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 18100 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 18100 quit From debbugs-submit-bounces@debbugs.gnu.org Wed May 11 16:09:14 2022 Received: (at 18100) by debbugs.gnu.org; 11 May 2022 20:09:14 +0000 Received: from localhost ([127.0.0.1]:38595 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nose1-0000cg-QE for submit@debbugs.gnu.org; Wed, 11 May 2022 16:09:14 -0400 Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:38878) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nosdx-0000cV-C9 for 18100@debbugs.gnu.org; Wed, 11 May 2022 16:09:12 -0400 Received: from pps.filterd (m0246629.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 24BInLr9019308; Wed, 11 May 2022 20:09:08 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=Ax1s0cTUyNFa2MdyPwT+TjXULn8KthCErBxlfsec754=; b=HsmlG0+ouegUVZN1u+Ns/xDNSxsDUzFuSLBt0s2gpYPMjnhMnTFf1JlJwTTrdeycbjHu Lwq6XLO95ky/B3QZ166hb1VoGqf+4sn2/PG/SO6dJKn3PB9q8q0kE6fiCq3W7HWduGQ5 4p50Ky9xMq2sgmiItxQZXNf6cVRuE0e5S4QlZr3+JvzGMq2mtrDzTJQjK/Zsxj1wfqnq C9wcRumRSG6nyyq0TbFZpp+rEoL9aPqQTZsCn+evQKblRDhdchiznYxRMS4mYK2nAzVa zvFupuyf3VxAZwgtdUld4y99ve5w7NdnllKO/UvLWLS6yrq6LNwrFQfaPS5WJnZw+PYN QA== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3fwgn9tgvr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 11 May 2022 20:09:07 +0000 Received: from pps.filterd (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (8.16.1.2/8.16.1.2) with SMTP id 24BK5hOp026294; Wed, 11 May 2022 20:09:03 GMT Received: from nam04-mw2-obe.outbound.protection.outlook.com (mail-mw2nam08lp2177.outbound.protection.outlook.com [104.47.73.177]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com with ESMTP id 3fwf74s9bj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 11 May 2022 20:09:03 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=egWikC7AFAIRLEy1eqAu3Uel1pUhK7mslz2wkqmMmY5VrCU3j+wtGR/LHz1vG/r28mbKcDkl+8dHZ7a3lWKqA/0a4H6K6xcKAHZL/Isx1TMwMsI0iuaBSbxiqziupTdiljiTmVtzy1aoKteMjqeFQzQqrqikHVHefUOi7Sv1SOjWNxbbr7xm9l5NOsx6Z6B4onhnnl/gTA9iJr6YU0IuIxavMGYJESvZotr+2Mxp+Hkbl5teYFpZ+XXLw3JZE3vmVz7pBd1lZq6ejNv/6WujRuVnu0TD6ZI0i5BfGBHqqt6+SuJh6ZsGYHxEnH3I1kkDnOmThAufiNEfpMdBbl+cEw== 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=Ax1s0cTUyNFa2MdyPwT+TjXULn8KthCErBxlfsec754=; b=Y9AhbzwbQXiE2llFvniVGRgNLT53FJcwrynLY/rSE/wi+TROV75ZDgX/DTQWGEE5N8gL/fMVyWuabJrdV/Xc0osIIsLQbgCxVolZ/eA4TS7cjkni7JIcGT4xN6Vx6G43vciPg2uCZWnAvcLP5ZsLCPbW1M25cQDWJbcWwWALu7+SRDRAFRi4JsUUB2sdkFxt7eKHHRulImKnqymrn0VRqm0B8viLzuGabRj+P7r163agwPY721naMNWxzW957KbMuRaqnTNYIHO0RpT/hc44ZXZZhWp20/eaVx15MDsvhx7iDEwWRC7ADhaEgt5Fmtc81fhr/3yvaAjBIfWx6hbbgQ== 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=Ax1s0cTUyNFa2MdyPwT+TjXULn8KthCErBxlfsec754=; b=ZgjivXtRH8OPIQVBhu92ouCT2NDTKyWGhw3nDUlh98s5dBe9sdJrbtjoG5DojMqs9I0TT30pd0HwPRqeyaWifudVfoJo8Q30M8OrcYsXgW3EW8f/o13n+I3SMOE/UqhhjqLZ7qehPWrabbkMKvC/mC+PGytR1SwBysn1yXrNMZg= Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by CY4PR1001MB2295.namprd10.prod.outlook.com (2603:10b6:910:40::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5206.27; Wed, 11 May 2022 20:09:01 +0000 Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::a0e7:5f38:ab50:5123]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::a0e7:5f38:ab50:5123%9]) with mapi id 15.20.5227.023; Wed, 11 May 2022 20:09:01 +0000 From: Drew Adams To: Lars Ingebrigtsen Subject: RE: [External] : Re: bug#18100: 24.4.50; Restore simplicity of (put 'self-insert-command 'delete-selection 'kill) Thread-Topic: [External] : Re: bug#18100: 24.4.50; Restore simplicity of (put 'self-insert-command 'delete-selection 'kill) Thread-Index: AQHYZUgo4VbTevxsxUevm0fL9uUWWa0aGNHg Date: Wed, 11 May 2022 20:09:01 +0000 Message-ID: References: <4aea5d8d-c60c-4213-ad3d-1f701b50792a@default> <87k0as6rk7.fsf@gnus.org> In-Reply-To: <87k0as6rk7.fsf@gnus.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 88b7b74b-4fc1-482e-3b5f-08da338a173b x-ms-traffictypediagnostic: CY4PR1001MB2295:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 1oKpHatkjTQBI2H99EAJCybfw1abKzRZF2HhsR9vtTsMMYcdZ0Ou4ee+oeiru6eqp5kLK6AGjtvZKtkzWbsNpff7o8EqlibeKFMaJru5NDoxNyvVAPmusUoc6p4tKuo13Sooo/aYGm84KHneDMoglXBjpQ4K6N5rAcNEIqB6yXXVGzIc/Q8/037sfQruVq1IghDID3v1GoFb5tjAGbtYraGhk8RkCDolSIplV8e+hMJ1itktQ2s0dHAm5k1tJUAQMbazf3OsrxGeb8kao+4RFXfgLn0oGzScvJnj8ho3igNrh8utwcvebvABF1ckGE+lhUqEYIKtGjobudWUPLjv8kAAgq3smRQ5Lj9OydYWCvdXCDptaraudngoHKrBvqJsnKEBZvfkUDCG96o2QrMPsM0U1z5hEmV7puGEVSuoePdEBuOy2SNxjB1kk+a5BPwGI5LEUaeYfmsto7MLqTshGvhsIwdsLUIxv6v6RXcwrS9kASEpnUISZyN/gOUSUZm1YzAu6AB/r5wz84IIkE71GQDWtLmDFcdRsuKgRPYnMr57FaKf/noQPhHOtCZpyzgrYuIGUYKViaKqygx7zrlCYmEskKehqVmNMwV15z630Q70NsxkiQONluUoB28bLrgWgdUmWj6aMkv7uINpbXOlaJZao3rK8Ru/vK4UOvIQInum2qZseLhGZWjCkF3lBvSVZjBT6Aqsd5P70MplVDi3kw== 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:(13230001)(366004)(7696005)(8676002)(6506007)(33656002)(83380400001)(76116006)(66556008)(66946007)(66446008)(66476007)(2906002)(4326008)(122000001)(186003)(26005)(71200400001)(44832011)(9686003)(86362001)(316002)(64756008)(8936002)(508600001)(55016003)(38070700005)(52536014)(5660300002)(54906003)(38100700002)(6916009); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exch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UxnP5jVg=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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: 88b7b74b-4fc1-482e-3b5f-08da338a173b X-MS-Exchange-CrossTenant-originalarrivaltime: 11 May 2022 20:09:01.4138 (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: MUtyB0M09udyOSR1BqYqfoggfXeeQoSg79aJgdF45Ts5m0HjGnDjisRhMPjURQXpc4bv9lyPJ9O4QoUamz1cyg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR1001MB2295 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.486, 18.0.858 definitions=2022-05-11_07:2022-05-11, 2022-05-11 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 malwarescore=0 suspectscore=0 phishscore=0 spamscore=0 bulkscore=0 mlxscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2202240000 definitions=main-2205110086 X-Proofpoint-GUID: _0Qc30G3C9Z2UrVKIApOXDM0gcL3Iu5e X-Proofpoint-ORIG-GUID: _0Qc30G3C9Z2UrVKIApOXDM0gcL3Iu5e X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 18100 Cc: Juri Linkov , "18100@debbugs.gnu.org" <18100@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > This was somewhat rewritten in 2015, and there's now a > delete-selection-uses-region-p. So this would be > simpler to express now: > (put 'self-insert-command 'delete-selection > (lambda () (and (delete-selection-uses-region-p) > 'kill))) >=20 > And I think that's sufficient here, and I'm therefore closing this bug > report. Perhaps you didn't read the bug thread. Or perhaps you did, but decided to ignore it and reply to something unrelated. The bug: ___ Maybe so, but that is not at all what the `delete-selection-mode' doc & comments tell users. If this is a new requirement/guideline, then it needs to be documented. But I wonder why this must now be so. In the past, a user could just put `kill' as the property. The code does not seem so clean now. One of the benefits of the `delsel.el' design ... is its simplicity for users. This seems to go against that. Is it really necessary? Isn't there another way to accomplish the same thing (whatever that is), so we can keep the simple and clean design for users? ... =20 Users should be able to `put' a single, understandable symbol as the `delete-selection' property value. They should not need to fiddle with obscure lambda forms (or symbols whose names are not simple to understand). Symbol `kill' is simple - it says that you want the region to be killed. ... This new bug is about restoring the ability to use a simple `put' to configure `delete-selection-mode' behavior for a given command, rather than having to jump through hoops with incomprehensible lambda forms in the `put' value. ___ All of that is still relevant. The bug wasn't fixed. Just another "wont-fix". Please own up to that, here and elsewhere. This doesn't go in the "fix" column. It's not "Done". Not at all. From debbugs-submit-bounces@debbugs.gnu.org Thu May 12 13:08:21 2022 Received: (at 18100) by debbugs.gnu.org; 12 May 2022 17:08:21 +0000 Received: from localhost ([127.0.0.1]:42146 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npCIX-00052v-Bi for submit@debbugs.gnu.org; Thu, 12 May 2022 13:08:21 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:45291) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npCIV-00052T-EP for 18100@debbugs.gnu.org; Thu, 12 May 2022 13:08:19 -0400 Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 27519C000D; Thu, 12 May 2022 17:08:10 +0000 (UTC) From: Juri Linkov To: Drew Adams Subject: Re: [External] : Re: bug#18100: 24.4.50; Restore simplicity of (put 'self-insert-command 'delete-selection 'kill) Organization: LINKOV.NET References: <4aea5d8d-c60c-4213-ad3d-1f701b50792a@default> <87k0as6rk7.fsf@gnus.org> Date: Thu, 12 May 2022 19:56:40 +0300 In-Reply-To: (Drew Adams's message of "Wed, 11 May 2022 20:09:01 +0000") Message-ID: <861qwyg053.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 18100 Cc: Lars Ingebrigtsen , "18100@debbugs.gnu.org" <18100@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.5 (-) > Users should be able to `put' a single, > understandable symbol as the `delete-selection' > property value. They should not need to fiddle > with obscure lambda forms (or symbols whose names > are not simple to understand). Symbol `kill' is > simple - it says that you want the region to be killed. What symbol name do you propose? From debbugs-submit-bounces@debbugs.gnu.org Thu May 12 13:30:28 2022 Received: (at 18100) by debbugs.gnu.org; 12 May 2022 17:30:28 +0000 Received: from localhost ([127.0.0.1]:42197 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npCdw-0005g3-6h for submit@debbugs.gnu.org; Thu, 12 May 2022 13:30:28 -0400 Received: from mx0b-00069f02.pphosted.com ([205.220.177.32]:14888) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npCdu-0005fv-Aa for 18100@debbugs.gnu.org; Thu, 12 May 2022 13:30:27 -0400 Received: from pps.filterd (m0246631.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 24CFGQJR003183; Thu, 12 May 2022 17:30: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=NDUmqKHdwZk/oFSUwf4ehMKER9doCbduuVuO86TdCWI=; b=eN75VPjzszM9jVhX9J3IwAmaIFsGl16PYOHHE3TinPDfndOEJeOZfj4Gg4+amoGGH97h t318DbDlqT3ndRE6WZSlelDxfZTiPvfreaeAeGUio9IwLKSXNnuagfVt1AOUVCiFFLnJ cex7S3srlEbCnMe0dBdjfA6+Yiwgru3exVzyFzcBD2+44bbH4IpEmO3+74l7jj3iSMbz rPHCo9T3tQujfaK6kUkiUsxQg2CURz9FDHi9BMy1YP8j0XqWIvP/e6iwViClY7aj73qi 6R1eq93lhimi8DvG4gm4ENBCuAmxDoS+YeQwKv8nfxL097E/CzMs/QhrjxMzL7bns0m8 ng== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3g0a04mfjh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 12 May 2022 17:30:25 +0000 Received: from pps.filterd (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (8.16.1.2/8.16.1.2) with SMTP id 24CHFjKN011494; Thu, 12 May 2022 17:30:24 GMT Received: from nam11-bn8-obe.outbound.protection.outlook.com (mail-bn8nam11lp2170.outbound.protection.outlook.com [104.47.58.170]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com with ESMTP id 3fwf75v9yj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 12 May 2022 17:30:24 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BBLuA4FVejRN8KqA/+T8ZZN7lTVeKSAnBGWKt2n3i3WBtwAAdFi3hcOOmjS7p5W6fuBvIwkl2Kly6C8Cnv2pdDk3bvl8HPmVfkKC4dNBJzBbeRY4UrXT5rY1j4WNM6uOYXD5QbUGgB39coMG7zyBcD9KqyZy5I59AV2a8pIwrcznLVEQpaNgWZY1QscPX2gfnlMauqani2qN21shPwbc/PvH+w17m5JLxLTF1d9t2DnUwDYu36gwFW9hHBPXxEuWt3eQ+Ak4dUi50i/dwlKo3x+parJsnio0NYlN1mnqrFgolcePCdoe+5n63Lx9IYT9rJw+HGmFg+dOwiOt5qAfZQ== 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=NDUmqKHdwZk/oFSUwf4ehMKER9doCbduuVuO86TdCWI=; b=bf4KKc0boq6lmDrE4290y73fUl9iUt6T3Xbu/Oq3XCjUyLP1ki0PtN+KK44M2hbDeumt4ENFXQv/55mBfAUFMhQLNB6O7L7LNstvRtt8h/fE90GD541JgShp3EW36x8ZLaWuPjWZ7CYiICnQjuZayTIeFmL0xZwzQgMWsUJAHUhduYyQQeDurb9pT4lrja5qD5MLpB5cCowuJIgMbRfSXOvR+2Ph5hoQjhigGJjt4OdInHnaJtnH4RqlF7d6KvXfwsVUt7BktKiuORUz6TCaYcST2UjTts1oIGZDId9bYbW8g482HbmcFdMQCEPEFUSg4VAJBSaZccnsfMEERdMwFQ== 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=NDUmqKHdwZk/oFSUwf4ehMKER9doCbduuVuO86TdCWI=; b=D6OxvdhjCgV8cNngd3hn3nQa+IYg1dZtnoX+dOvpUHkJSmdw0o564DySrN/4sN06iR59eNA7mhHDjUW2AEp/O+zAhyrrtLgCDYDREF+EQKfbtDVaIemqdUdBp+5tb/3LXdHWOJ5HA0+3MG16QHr7dwb3pGR9bclZZSfwNYObFPg= Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by CY4PR10MB1991.namprd10.prod.outlook.com (2603:10b6:903:122::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5250.14; Thu, 12 May 2022 17:30:22 +0000 Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::a0e7:5f38:ab50:5123]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::a0e7:5f38:ab50:5123%9]) with mapi id 15.20.5227.024; Thu, 12 May 2022 17:30:22 +0000 From: Drew Adams To: Juri Linkov Subject: RE: [External] : Re: bug#18100: 24.4.50; Restore simplicity of (put 'self-insert-command 'delete-selection 'kill) Thread-Topic: [External] : Re: bug#18100: 24.4.50; Restore simplicity of (put 'self-insert-command 'delete-selection 'kill) Thread-Index: AQHYZiLjiKj4FFbvi0urkXHjvSc1aq0bfqYg Date: Thu, 12 May 2022 17:30:21 +0000 Message-ID: References: <4aea5d8d-c60c-4213-ad3d-1f701b50792a@default> <87k0as6rk7.fsf@gnus.org> <861qwyg053.fsf@mail.linkov.net> In-Reply-To: <861qwyg053.fsf@mail.linkov.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: b0bf54f4-0b46-410c-2d31-08da343d17a2 x-ms-traffictypediagnostic: CY4PR10MB1991:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: /+/rbVdERRVWF29LudeMV5/blOFbbztCRsj+hD931i9bHXG2qeJDKkMnNJdEumPPDu3g0BFtmq8olAdQlUwJztQiUGZJTE7k75lQJwEhJa6u4TIEFDWQRYxKf5VurunN6ZUWQ/AvMlbEUs6t4CEIEzCV1/TfdAC5DIVtYErmj//dmcMD6YGPEf8u/UZ7be1CuWDU8Wz425jQjd9WC/fFWF1k8V8EWrDjoWH62IhQSqmeWgiMLGG7xTHyS53QiMO+ntJAs+tk77kMU3hvXrTq6Xgm//1/BHFr2aHXUts1eB1ukrLehmsDww1mY4B8/oKefQSy8R7j86AawUD0cqknmQyukve8uQyb0wfqaXim8Qe80u3R61qIcNHIM7V8oI91UeYLh+YMmXpV/AdlV3C0smxG6KKjWeY12IMQjH89HvWpWYhFt+iBb090KlZ+0VnV7aILHfBhRjXw9vP0HifQh9KycvAFvMxkiJnwRVhP8Ugj2DTkPUHOc27L8uviDfnwmls16vRTo+LAInXrMQQgZ6AR12RctkR+YO7mon1Qt83ry9gS4JJIw1mvY1lHHYvdDWdV2YcCg2U5DG+xeCweUvzRVW5f4MpTxjqDoP5ISMSyfmwo/YtnZvFbsgdvuvKWCyOEnc2uJ4fG1pPLR7BAIdg8XxB7DOdpKPiDP+a3dHQC5ZyBex732oJEjvb9kKmmuhWdi9N10aN5e5oTNwvC0w== 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:(13230001)(366004)(64756008)(76116006)(66946007)(66556008)(66446008)(66476007)(86362001)(2906002)(8676002)(44832011)(122000001)(52536014)(38070700005)(4326008)(8936002)(7696005)(5660300002)(38100700002)(71200400001)(186003)(508600001)(9686003)(26005)(55016003)(6506007)(83380400001)(54906003)(316002)(6916009)(33656002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?fATApas3e6GZQHlQSBGMgINE102+bPkeuSnlDq0aA2oX/HBeMdQMM0yjl0GS?= =?us-ascii?Q?flFeIm4LwA6DkuKTtnsPd52LiPW3LGotoXmtBzSLkgQxq7CUmlTJajMSkBK5?= =?us-ascii?Q?lTkCdQWWX2YVQoDjsbtTjIWbDCcYp739krEZztEigWHERKnu07tdP8kq6RFv?= =?us-ascii?Q?waUkwfpmnpU5NOaboa7ta6n2gDw95NdrVrnvFYWAhxcCQERbAeFkOeRLaPzL?= =?us-ascii?Q?docCY1xMkQrXQuXUB4e13wDZBDBV5xuS6KwKEJujqN6LpUAF0V58qxlGEviT?= =?us-ascii?Q?PBKtqSGrFN2sKYONh65GXrGDRWwhyBcfLXGXzwRJ68uKKI9teXicq/tbVlZs?= =?us-ascii?Q?FQZXBECe6qPN1p3gM8dQuLfP/sYfl7wE1PJaf0xSbV/KIhCq0enTHyrORl0V?= =?us-ascii?Q?2Hg6vzjBhxwXVexj45ru+jCRY3zkc7PhddEGJ7TlO3RrfhkRCWTBteH/JT+W?= =?us-ascii?Q?daq6oI8Pk/mvOo5iwQ4ua4IscTo7DkuDrJ8HkXPUOWlGXXMxFxTzKhgsz2Mg?= =?us-ascii?Q?3tqRwrJLCHLfPv1OWHwJ5tmmTDAr2o5sbmUmRuv5kNxlYuIFb4V2MDcbJ93C?= =?us-ascii?Q?Be3T+kdVGX/u0TGA56NJOd1XwrrL266f8ee8wvCzYqO5tgVSBkV9SVkWr0a2?= =?us-ascii?Q?fUNlsWRkcCp+q4o/HmvHNX8nnjfc1cSlZlfbVHetr3ryb5aKZZPFKW3uqacj?= =?us-ascii?Q?w1cfrlYX3H5vmwIIP5xCtQMSjulnYDwfvw1/ZvcMxZxjBB8sN+xgOSJPnY8f?= =?us-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eX05AbdQP3psWowkI68xKPp+ITH++CV?= =?us-ascii?Q?izoi/uduWH80s1nbFvaejKKG6vME7MRZcUvUbsb9a5yzsxGU0vz/PN3PDGeO?= =?us-ascii?Q?T2vVaaFigQ=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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: b0bf54f4-0b46-410c-2d31-08da343d17a2 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 May 2022 17:30:21.9875 (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: xfVUj/hnHzbULmUGVtisFa7nbHv0QIp1MmMuMp4KgzVmPu2ZpK29DxIoPU7tO2XbTlUzfehj2FuT0Pg6w/Xqww== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR10MB1991 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.486, 18.0.858 definitions=2022-05-12_10:2022-05-12, 2022-05-12 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 malwarescore=0 suspectscore=0 phishscore=0 spamscore=0 bulkscore=0 mlxscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2202240000 definitions=main-2205120080 X-Proofpoint-GUID: HQdqJ94XYDyBT5yTgrfyje6sgM_qQeKm X-Proofpoint-ORIG-GUID: HQdqJ94XYDyBT5yTgrfyje6sgM_qQeKm X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 18100 Cc: Lars Ingebrigtsen , "18100@debbugs.gnu.org" <18100@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > > Users should be able to `put' a single, > > understandable symbol as the `delete-selection' > > property value. They should not need to fiddle > > with obscure lambda forms (or symbols whose names > > are not simple to understand). Symbol `kill' is > > simple - it says that you want the region to be killed. >=20 > What symbol name do you propose? Dunno. See the other symbols used. (I don't recall - what was wrong with `kill'?) The "doc" should of course cover what such a symbol means, especially if it's not obvious. The "doc" covers each symbol explicitly. From the Commentary: ;; Commands which will delete the selection need a 'delete-selection ;; property on their symbols; commands which insert text but don't ;; have this property won't delete the selection. It can be one of ;; the values: ;; `yank' ;; For commands which do a yank; ensures the region about to be ;; deleted isn't immediately yanked back, which would make the ;; command a no-op. ;; `supersede' ;; Delete the active region and ignore the current command, ;; i.e. the command will just delete the region. This is for ;; commands that normally delete small amounts of text, like ;; a single character -- they will instead delete the whole ;; active region. ;; `kill' ;; `kill-region' is used on the selection, rather than ;; `delete-region'. (Text selected with the mouse will typically ;; be yankable anyhow.) ;; t ;; The normal case: delete the active region prior to executing ;; the command which will insert replacement text. ;; FUNCTION ;; For commands which need to dynamically determine this behavior. ;; FUNCTION should take no argument and return one of the above ;; values, or nil. In the latter case, FUNCTION should itself ;; do with the active region whatever is appropriate." From unknown Fri Jun 20 07:22:32 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 10 Jun 2022 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator