Received: (at 72282) by debbugs.gnu.org; 19 Aug 2024 06:58:41 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Aug 19 02:58:41 2024 Received: from localhost ([127.0.0.1]:57535 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sfwLh-0001uz-6c for submit <at> debbugs.gnu.org; Mon, 19 Aug 2024 02:58:41 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:57059) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1sfwLf-0001ue-GF for 72282 <at> debbugs.gnu.org; Mon, 19 Aug 2024 02:58:39 -0400 Received: by mail.gandi.net (Postfix) with ESMTPSA id CCF95240007; Mon, 19 Aug 2024 06:57:51 +0000 (UTC) From: Juri Linkov <juri@HIDDEN> To: Dan Jacobson <jidanni@HIDDEN> Subject: Re: bug#72282: History entries shouldn't have the exact region hardwired in In-Reply-To: <86v80tig7r.fsf@HIDDEN> (Juri Linkov's message of "Thu, 25 Jul 2024 21:12:44 +0300") Organization: LINKOV.NET References: <87o76m1ilb.1.fsf@HIDDEN> <86v80tig7r.fsf@HIDDEN> Date: Mon, 19 Aug 2024 09:49:13 +0300 Message-ID: <86y14thus6.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-GND-Sasl: juri@HIDDEN X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 72282 Cc: 72282 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) >> So maybe for all history items, they shouldn't have the exact region hardwired in. > > Currently this can be achieved with a 'declare' form, > but I don't know why this is not enabled consistently > for region arguments of more commands: > > diff --git a/lisp/simple.el b/lisp/simple.el > @@ -4944,6 +4944,9 @@ shell-command-on-region > The differences are especially prominent when the region includes > more than one line, i.e. when piping to a shell commands with embedded > newlines." > + (declare (interactive-args > + (start (use-region-beginning)) > + (end (use-region-end)))) > (interactive (let (string) > (unless (mark) > (user-error "The mark is not set now, so there is no region")) Unfortunately, with this patch the bootstrap fails with: Loading lisp/simple.el (source)... Error: error ("Eager macro-expansion failure: (void-function seq-position)") Eager macro-expansion failure: (void-function seq-position) because seq.el is loaded after simple.el.
bug-gnu-emacs@HIDDEN
:bug#72282
; Package emacs
.
Full text available.Received: (at 72282) by debbugs.gnu.org; 25 Jul 2024 18:22:58 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jul 25 14:22:58 2024 Received: from localhost ([127.0.0.1]:37746 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sX37B-0003TU-RV for submit <at> debbugs.gnu.org; Thu, 25 Jul 2024 14:22:58 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:46375) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1sX37A-0003TE-Ec for 72282 <at> debbugs.gnu.org; Thu, 25 Jul 2024 14:22:57 -0400 Received: by mail.gandi.net (Postfix) with ESMTPSA id 26D06C0002; Thu, 25 Jul 2024 18:22:20 +0000 (UTC) From: Juri Linkov <juri@HIDDEN> To: Dan Jacobson <jidanni@HIDDEN> Subject: Re: bug#72282: History entries shouldn't have the exact region hardwired in In-Reply-To: <87o76m1ilb.1.fsf@HIDDEN> (Dan Jacobson's message of "Thu, 25 Jul 2024 07:22:08 +0800") Organization: LINKOV.NET References: <87o76m1ilb.1.fsf@HIDDEN> Date: Thu, 25 Jul 2024 21:12:44 +0300 Message-ID: <86v80tig7r.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-GND-Sasl: juri@HIDDEN X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 72282 Cc: 72282 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) > (repeat-complex-command) > is great, except when used after > (shell-command-on-region) > in which case we will be repeating > (shell-command-on-region 2234 2892 ...) > instead of just > (shell-command-on-region REGION-START REGION-END ...) > in other words the previous exact region is hardwired into > the history. > > Yes, you might say well then just do `M-| <up> RET`. > Well that's harder to type than `<again>`, `<redo>`, `C-x M-:` or `C-x M-ESC`, > which are the bindings of repeat-complex-command. > > So maybe for all history items, they shouldn't have the exact region hardwired in. Currently this can be achieved with a 'declare' form, but I don't know why this is not enabled consistently for region arguments of more commands: diff --git a/lisp/simple.el b/lisp/simple.el index a9f8b5845d8..b3a72c2635a 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -4944,6 +4944,9 @@ shell-command-on-region The differences are especially prominent when the region includes more than one line, i.e. when piping to a shell commands with embedded newlines." + (declare (interactive-args + (start (use-region-beginning)) + (end (use-region-end)))) (interactive (let (string) (unless (mark) (user-error "The mark is not set now, so there is no region"))
bug-gnu-emacs@HIDDEN
:bug#72282
; Package emacs
.
Full text available.Received: (at 72282) by debbugs.gnu.org; 25 Jul 2024 02:06:23 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 24 22:06:23 2024 Received: from localhost ([127.0.0.1]:34864 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sWns6-00057j-Ib for submit <at> debbugs.gnu.org; Wed, 24 Jul 2024 22:06:23 -0400 Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:59954) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <drew.adams@HIDDEN>) id 1sWns3-00057Y-W2 for 72282 <at> debbugs.gnu.org; Wed, 24 Jul 2024 22:06:21 -0400 Received: from pps.filterd (m0246617.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 46OJeHJ6008855; Thu, 25 Jul 2024 02:06:12 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h= from:to:subject:date:message-id:references:in-reply-to :content-type:content-transfer-encoding:mime-version; s= corp-2023-11-20; bh=jqQlOVxGmDGeTWvO8UCvxh7ZxRY6SWqCAt0RjfRLV58=; b= TTNwXkoY/OFK9Sfe3d7bdicZff7mqJ/9EHbUv4mdxKkeJQxOAkpYen2dht3bYCH6 xjEE4JYhLtEGGjLJ0t9Ex4xyXETF/+Tm3EOWQtPvgfY2L/8rq7wF9Tqh/oIIj7SE bc8NJsGcV8SjSi7I3Yee44pfxRi716+gEGbSvvFq8up5Om6yrCf17iIaLyiS31LC Xc8Vuz/9RTJehhQAyxg8+vNvCzX5M4zUKycg48rAPA5NPQxuRX6J8Y+84MThey4h FjqNSxqUWm3wHhimdUXA2t1J8DH0zFD7z/lMYvllzqonXeXcAtDqxKPY3WXUxHGj t/8VPzPY+kJrZCm03EYe2A== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 40hfxpjfs4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 25 Jul 2024 02:06:11 +0000 (GMT) Received: from pps.filterd (phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 46ONZ5SX034299; Thu, 25 Jul 2024 02:06:11 GMT Received: from nam04-bn8-obe.outbound.protection.outlook.com (mail-bn8nam04lp2045.outbound.protection.outlook.com [104.47.74.45]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 40h27pvqud-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 25 Jul 2024 02:06:11 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=WNR1NRIgSfNkXfhnmzr/F0fEJ9OgnEZ0aKYuXjG8CMxaPyDdOMKWI8KSKI5uVCYHkLso4IF0zKRXvqnLeaL+aU9EoxMteI9wSU/GzxrQujOagv9YR9jb51P6zAlZElpL4CLPCApx+SBI13DJT3RmQmgLdHxSq9A7aZFQFV7ZupPW99lLkc9HGsn6s7YviBsEuNm+ccTr+6uMGzMgorFOPsIUyysmWl1WPU2cOKuiuS/+hQRqFsadSAIWzkmMu+gR4xrCqbmLyLWnQ5CtvgfVewDuj1DBA8WUJj3r3oz4Fhpja0o/5kw6ffDhX9iqaqlV6kfkE4eOYZeYA0labyLoEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=jqQlOVxGmDGeTWvO8UCvxh7ZxRY6SWqCAt0RjfRLV58=; b=n3ejy5akGL/eBqh6e11CAuJG8CUPr2uQxdqHyodNEQiUrLWn893ikNXAk3cacVC7zYubC5GCsNIjHrDZ/MRKuVDaSj3x4EhMAH45Y7wyxXk6gbSwNmPhzsB5IsV3OBkHRUF4Cdg45UlAGfKREP1CpOn+ujkdzWvwiSeh/ZzX4k+/K8J1eGYFumBIJkKF1hY2sCPgajhHPc5QLtZYMuULVc0yfFhHHVPhUxvCTyXvbYU6oudCHOzDRpY+T6thJ1vuzLCz71qmFx5e9/TWT7IlLeD9S5GcGIIerkBFdTgTZKpkN93lez7f+YTz65Gof4MFDReWN7iBU1G+dK4sAjAcPA== 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=jqQlOVxGmDGeTWvO8UCvxh7ZxRY6SWqCAt0RjfRLV58=; b=QxQKRS8+XVSv1KSbvLwL+HATIbJIV2dJafVDetaQ098ZN1QOhEZc02jSkA/znkwSBwUk5KNVYEtqyKuBUv8TxnCL6B07LkxyFXyCQCByLNeECqbK6AgB92jy+AZx/6WFotic+wxIA5H+pIAz5Kw6yHdGUKRQtzlrrlL1Ppql9h8= Received: from CO6PR10MB5473.namprd10.prod.outlook.com (2603:10b6:5:355::21) by SJ0PR10MB6327.namprd10.prod.outlook.com (2603:10b6:a03:44d::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.20; Thu, 25 Jul 2024 02:06:08 +0000 Received: from CO6PR10MB5473.namprd10.prod.outlook.com ([fe80::34fd:138:150d:30c4]) by CO6PR10MB5473.namprd10.prod.outlook.com ([fe80::34fd:138:150d:30c4%7]) with mapi id 15.20.7784.020; Thu, 25 Jul 2024 02:06:08 +0000 From: Drew Adams <drew.adams@HIDDEN> To: Dan Jacobson <jidanni@HIDDEN>, "72282 <at> debbugs.gnu.org" <72282 <at> debbugs.gnu.org> Subject: RE: [External] : bug#72282: History entries shouldn't have the exact region hardwired in Thread-Topic: [External] : bug#72282: History entries shouldn't have the exact region hardwired in Thread-Index: AQHa3iCHi+SEHsMPqUu+ARckyyRp67IGsLmw Date: Thu, 25 Jul 2024 02:06:08 +0000 Message-ID: <CO6PR10MB54737FD5C87F12AD2CCFAE7FF3AB2@HIDDEN> References: <87o76m1ilb.1.fsf@HIDDEN> In-Reply-To: <87o76m1ilb.1.fsf@HIDDEN> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CO6PR10MB5473:EE_|SJ0PR10MB6327:EE_ x-ms-office365-filtering-correlation-id: 795bf25d-56c0-4d23-2dc4-08dcac4e592e x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|376014|1800799024|366016|38070700018; x-microsoft-antispam-message-info: =?us-ascii?Q?0NYGDaUM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SYRVLu/xlMka?= =?us-ascii?Q?u76MkH/JFBY6Oj/yCjNEVhgkJHOxM9oqfwQkYcVBC+7FI4VG/aaxO0Cebvqt?= =?us-ascii?Q?KBQtFpmCo5IV51XSQMubmFc4wB+6QyvGsoJKw///AlRZ8k5b4mdqpuK30d65?= =?us-ascii?Q?wgY2EMRdUDiysKc87Ww4vgeUjQIhC3sCivW8pOdalCw6E2n+WknfEvJamBoW?= =?us-ascii?Q?aTp+pZHKQtr08N8toyOru37av7onM4ltb5Xa1QA56opn3dmRD764rOrjZcAh?= =?us-ascii?Q?Tc9fnuHAwNec/qt3FgTlpqpGTtjbiTPeb5sxwsbKtHYYuGGew0D1kF9DPzAR?= =?us-ascii?Q?GMp3KiDbpuuVVPodEmXQTKRqwALKIK1O6JDDSf7e7wq49xjXNeesz4fmNwO0?= =?us-ascii?Q?DoYeGNaZZGzu9OSsDgzibvboONlw6xB/ATrwZ0BWGuTQXd7braVGc9EBSgoq?= =?us-ascii?Q?Mp6gc84cq6IqlbWKViCSkifrvk20tOgA9BxZC4Vgpn3/6NknPrC4Ibrap9EZ?= =?us-ascii?Q?2O7HJS55AAMPQrQE6C4slZlTE3EOUjqhNkoW+RKKvPb3y1hSpQ=3D=3D?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR10MB5473.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(376014)(1800799024)(366016)(38070700018); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?7WrjodH08fADgeHSJGFQ4XnDqGBaRqpuwy6NdjeZIcyMH1LdGaPQbttZ+x77?= =?us-ascii?Q?2FCkRBmmUgLT+uwGcuWy3OHChgsp1ILN24oAGWeAZMl+Bq3uOVNOF6wiF3ew?= =?us-ascii?Q?CbaxPJ4wzpZ2Batd8kkPXJb8J+/AbA6jx6CigYiwg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bu6pBiJgfTxjVY2oS9isBk8ULED856WCbbqBdLHyuj/304ShS1AO4uDrtHNo?= =?us-ascii?Q?bpo5kHUVAlpgtgA+8Z0GuKI0X10yQqB589dYycqs3Q4QqbthhkXwBZGqdPFB?= =?us-ascii?Q?od/NLVUeX3D+r0jv2Q/EnYJgHfHoLfOfFyAUaKSVd+e8hH624GYKrojHFXnD?= =?us-ascii?Q?or3rH3cfj9jg2DcspHSZ5oATUlCzz7p1DQAc9IRy2aYXk27w0AcDzKYJbdsw?= =?us-ascii?Q?MJGWDH6OKwBbYMDHKYCrq98LNjtm9qQCXntJwTd7jAvrVpWecji2UINk97Wo?= =?us-ascii?Q?CVcH8Ou23JIPO+sOpwGQzHK1XQ4+gIeICphlAhN155CQOK5KhspOYS0w22m7?= =?us-ascii?Q?bLqnZ88bbnpik8EF84spu8JWSAWm4inYX1IW7Htwy7BEQ5qV4g8i9MoQk4q/?= =?us-ascii?Q?AOzLIq2OItTqlGKyvEspLlopNJ+l+qYp8lJVfgxtohwtkWAfazYoXcYRzN+J?= =?us-ascii?Q?myuNTPyyA8/T29N9u8qwcsdE0ynZk03UxMID95S92uctecjOlZQlQMSju+zq?= =?us-ascii?Q?iGpzN5fCYOXzVi1RuRWlHO+P+pSYlHSiwNFUOTEN?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: 2+F6PFoJ3EmtwiCjhqwM+7iCD8PAxOqbv0KSrUZbw54yJA/9JNjKWSUTPKY08ORCxiUp60/xDPxg5nyKQSeJz/wcYlwb84PK+uaPKo3ZM+fiqVsAVr3oC9pkJdt2YpClxzoDE1nrt68uNx+wjf7X6pm66So0nv6g2dxIV/oUyW37XCDVRZjmlDADnmdw/k0ny38u1r212gdYIcwKnwsQsn16J5N2ZGM8vTMDSqBO8V/DCB2Mw+R+DjH26Q6H9eLRUbq4+xOWgCILGnQkPMlmILUhA8bUBqh2PZqiOR6h5jnpPC8Nzr/k4SiG395kzG4zNUX9eXvRST3VFAZvujkk2D2BpVODZtoT1KIOaTyLfth8YmMXO8KLHgUULf0GwiIZOzhg9OC8X/fO754J4NQCjFiakT/8vvJle2uZz3iZyaC4QpcyBkPR/kiG02n+VVuSFTG/Gfj7y60yFatJVTVxJnif0O25AxjGxvmQlZrLli5EpVW3iUVSR15TXIHPrw12LiOgC5AbN/itmKBOd42MkTREECtK2g2EBE9NTfuJnXtoAdy1VcFOT3LGZ5+fLNqfrJ/RzTrlLEqnpXDG4uKqp/ZNSkvTt7R9Ny5+GNHHRW4= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR10MB5473.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 795bf25d-56c0-4d23-2dc4-08dcac4e592e X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Jul 2024 02:06:08.3260 (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: 3sgNp2okXeyJmy3N0eFYLAgAmWA4zE0IhKrXHxpIA8uWTxBDhqhECFm6slID0pb54aecpj48riCJeZVl0ALqnw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR10MB6327 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-07-24_27,2024-07-24_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 adultscore=0 phishscore=0 suspectscore=0 mlxlogscore=906 malwarescore=0 bulkscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2407110000 definitions=main-2407250012 X-Proofpoint-GUID: Ue1stO9g73wasZ7_24huV-CMdjIZzDHL X-Proofpoint-ORIG-GUID: Ue1stO9g73wasZ7_24huV-CMdjIZzDHL X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 72282 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) > (repeat-complex-command) > is great, except when used after > (shell-command-on-region) > in which case we will be repeating > (shell-command-on-region 2234 2892 ...) > instead of just > (shell-command-on-region REGION-START REGION-END ...) > in other words the previous exact region is hardwired into > the history. >=20 > Yes, you might say well then just do `M-| <up> RET`. > Well that's harder to type than `<again>`, `<redo>`, `C-x M-:` or `C-x > M-ESC`, > which are the bindings of repeat-complex-command. >=20 > So maybe for all history items, they shouldn't have the exact region > hardwired in. I brought this up when the change was made to do what's done now. Originally Emacs put nil nil in place of the specific region limits. I don't recall whether a bug was filed for that change or it was discussed in emacs-devel before the change was made. In any case, the decision was to go with the "enhancement" that we have now: the specific region limits. IOW, FWIW, I agree with you. I find myself hand-replacing the numeric limits with nil's fairly often. I don't recall the reasons given for the change to use the explicit numbers - if any reasons were given.
bug-gnu-emacs@HIDDEN
:bug#72282
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 24 Jul 2024 23:22:32 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 24 19:22:32 2024 Received: from localhost ([127.0.0.1]:34672 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sWlJX-0000p1-NT for submit <at> debbugs.gnu.org; Wed, 24 Jul 2024 19:22:32 -0400 Received: from lists.gnu.org ([209.51.188.17]:51792) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jidanni@HIDDEN>) id 1sWlJV-0000os-BX for submit <at> debbugs.gnu.org; Wed, 24 Jul 2024 19:22:30 -0400 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 <jidanni@HIDDEN>) id 1sWlJO-0003i4-Ds for bug-gnu-emacs@HIDDEN; Wed, 24 Jul 2024 19:22:22 -0400 Received: from iguana.tulip.relay.mailchannels.net ([23.83.218.253]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <jidanni@HIDDEN>) id 1sWlJK-00026p-Gs for bug-gnu-emacs@HIDDEN; Wed, 24 Jul 2024 19:22:20 -0400 X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 5355E84676D for <bug-gnu-emacs@HIDDEN>; Wed, 24 Jul 2024 23:22:14 +0000 (UTC) Received: from pdx1-sub0-mail-a271.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id D155F84668C for <bug-gnu-emacs@HIDDEN>; Wed, 24 Jul 2024 23:22:13 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1721863334; a=rsa-sha256; cv=none; b=3Dt6vOqab+wggjvXAaGp+WKXanM26efq7CRSbrNLfppyy0DxhxYdUpT+tVXucOTWkcunNZ lKCsEvhtCC9vG8NO3RSBHSLul/PloaeWvLweRk88XnTdQm9C0B0lCHshFXfraAQM5i5wYH 0naIhhIVH0hw+qapGws2+9rOQwdAZzVsi9XO0zQTESiDgTVF6Qzohwvswi3OKOD2hj4l8Z wFErOr9G3CjFAGBhYfbCcWoLbnnJTlRdVfKALUaRNVIfZJ/M+kAT2meQ6uSb417Aw1+xYJ 11VreO5TKJd2LjPe9U4OBf5vQGjPIiYq0gvqTZbYJ+nDYqam0qL0Stf5iCHfQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1721863334; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: dkim-signature; bh=aH2lbxoeT3ZmxbafFZK9Lla/6sN+67FK0PamZinzmKM=; b=Z2t6luIffjCEyEkwrtef0FmSrdZU+ZEOM+4ViqzdcZGB6r0QC1crS+fi3L7/RXJDRjmaIe PnhvPIfhICncvxeVa6mIaqyLRUgTYUrrEnbPQ4PP2W2vG1U6cQ7WJ+yTupGnwgWTX87W/L fvKMxxG/iXUW7xoMYvlegn2p+k4y3bZmH6g2a3p4CrjDI/U/dX/pXUSigGba5EXkeBY4B3 nYD4mWT0RCtIQQLYeaK5fNWb1VW9XT8h8701UBNUnOroesOEZBW6MrcVoV9WnRj58NCuse O5iqt1ssRCEUy5A1wVa80EtuovQXJm4mLlaAuBt7vHQN6q/JAvza4iZp0rlHYw== ARC-Authentication-Results: i=1; rspamd-7684d565db-7l2sh; auth=pass smtp.auth=dreamhost smtp.mailfrom=jidanni@HIDDEN X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@HIDDEN X-MailChannels-Auth-Id: dreamhost X-Illegal-Plucky: 50faa187379ffcaf_1721863334246_1384316712 X-MC-Loop-Signature: 1721863334246:2933450059 X-MC-Ingress-Time: 1721863334246 Received: from pdx1-sub0-mail-a271.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.121.165.217 (trex/7.0.2); Wed, 24 Jul 2024 23:22:14 +0000 Received: from jidanni.org (1-165-171-232.dynamic-ip.hinet.net [1.165.171.232]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: jidanni@HIDDEN) by pdx1-sub0-mail-a271.dreamhost.com (Postfix) with ESMTPSA id 4WTqmP4wxCzBQ for <bug-gnu-emacs@HIDDEN>; Wed, 24 Jul 2024 16:22:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jidanni.org; s=dreamhost; t=1721863333; bh=aH2lbxoeT3ZmxbafFZK9Lla/6sN+67FK0PamZinzmKM=; h=From:To:Subject:Date:Content-Type; b=Ufzw9bTmL3EZoRe9dsXQ7Tj1ePRSSkPsvDYEnToFB4d+z4j9lc2XjVTHzZueFVD67 rW57mUSIcbeMO7T/jNEDVvajqm2hlZ6gwW5iJUAdcJcjzhPMTTVxk/MQKfK2wzkWSJ pkGC/AFHBIA/bdjf05sKHfuP/kTJTyvvMRho9wXhjBfUCauRawk5tLtRQroa7vpMPj TtYDLqPZUbd5F8OCvohnMfHapMWI50Ykv2+of6iKO5nErno8dAd8P7qTTZIVm0us3B r1KZSib7ylutsajT9rOrE3mE5UVyGNf0GrxqG3cnYzEsUKpc9IacpDBd+6p06Cj6Kl 1HwN1Wp2YkUbw== Received: from jidanni by jidanni.org with local (Exim 4.98) (envelope-from <jidanni@HIDDEN>) id 1sWlJB-000000000O2-1wNa for bug-gnu-emacs@HIDDEN; Thu, 25 Jul 2024 07:22:09 +0800 From: Dan Jacobson <jidanni@HIDDEN> To: bug-gnu-emacs@HIDDEN Subject: History entries shouldn't have the exact region hardwired in Date: Thu, 25 Jul 2024 07:22:08 +0800 Message-ID: <87o76m1ilb.1.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=23.83.218.253; envelope-from=jidanni@HIDDEN; helo=iguana.tulip.relay.mailchannels.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.4 (--) (repeat-complex-command) is great, except when used after (shell-command-on-region) in which case we will be repeating (shell-command-on-region 2234 2892 ...) instead of just (shell-command-on-region REGION-START REGION-END ...) in other words the previous exact region is hardwired into the history. Yes, you might say well then just do `M-| <up> RET`. Well that's harder to type than `<again>`, `<redo>`, `C-x M-:` or `C-x M-ESC`, which are the bindings of repeat-complex-command. So maybe for all history items, they shouldn't have the exact region hardwired in.
Dan Jacobson <jidanni@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#72282
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.