GNU logs - #72282, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#72282: History entries shouldn't have the exact region hardwired in
Resent-From: Dan Jacobson <jidanni@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 24 Jul 2024 23:23:02 +0000
Resent-Message-ID: <handler.72282.B.17218633523167 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 72282
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 72282 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.17218633523167
          (code B ref -1); Wed, 24 Jul 2024 23:23:02 +0000
Received: (at submit) by debbugs.gnu.org; 24 Jul 2024 23:22:32 +0000
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>
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-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.





Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Dan Jacobson <jidanni@HIDDEN>
Subject: bug#72282: Acknowledgement (History entries shouldn't have the
 exact region hardwired in)
Message-ID: <handler.72282.B.17218633523167.ack <at> debbugs.gnu.org>
References: <87o76m1ilb.1.fsf@HIDDEN>
X-Gnu-PR-Message: ack 72282
X-Gnu-PR-Package: emacs
Reply-To: 72282 <at> debbugs.gnu.org
Date: Wed, 24 Jul 2024 23:23:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 72282 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
72282: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D72282
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#72282: History entries shouldn't have the exact region hardwired in
Resent-From: Drew Adams <drew.adams@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 25 Jul 2024 02:07:01 +0000
Resent-Message-ID: <handler.72282.B72282.172187318319705 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 72282
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Dan Jacobson <jidanni@HIDDEN>, "72282 <at> debbugs.gnu.org" <72282 <at> debbugs.gnu.org>
Received: via spool by 72282-submit <at> debbugs.gnu.org id=B72282.172187318319705
          (code B ref 72282); Thu, 25 Jul 2024 02:07:01 +0000
Received: (at 72282) by debbugs.gnu.org; 25 Jul 2024 02:06:23 +0000
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>
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: 0NYGDaUMxozvM5jGPvqAxw7+TElvzT5l1QBlcPIiFXs9jSoqZBmcFF6m2b5FptsvIeXrWHSlXEp+rUjoxv7b9hshT6MEly+/Nev/TJur8wdsnNOn8y4QduSwtTyF6zhxW6lns+b+M1cW2Ad2Zy1pIbF+jAvU0B8g04xMc4r2PddesCJW+EbPbVaZD6RQPKeKaW1crkm4ykzZ82381qo8Lev+EKEl/WexwuhMcrCedPjSlQ/6AL94x7Idj7XQzyH2KCAJBu1uNYo0+vrj/feM60RiTjzlKLaA3L0KXuCnNaGGUxOmBwxvuhVdhn5Ie1YecV9aXV1fyoZs/FcIhe57fXmWqvf0YjuNetsm6gGt90aBR6nSvIeM9fMuPRkqPQRnxYlxnV1wuOTVHQFo5W2ZsStXtAmGThVDf2/MALZcW2AMfNIuHG8qUBdqqEeYWTTAsl53GgR66gz/XFWVl1aOC2nCE5Y/EGhAaDLUeZTHg2tzNjsSDZvZvLlnt9ne3NQCHNik/nfddFoNTBUhOdirUIkfCP4iBF4mPf/T0E1TIqxcyuH1VEQmPsKKtpvpVL4KgA6R9gFjGLTp31r1b5SfXHm8DbgLwJ5OYFdgBrMqyNcEnC3tL77kThatkF5m3OGW0a1Sm8HiGszc7U+UqPshEitAkawHB736o/HVL5DSobYHhWJilMrdUlgIIqTJoyIk1P3sD4DQh88h+9CJ7lV2anUPhCrx6lYSAdKi2AvYsUyIbQoVriumAMRqkNiRPCDoQ9hlfcYWEOHgbNbPt6jwwd5J8rar1XGmHpSFs/TD+tsg6rKNAv7fJU8sf6qIaqQ/vKgJJW7TSALetjnX8HOC4UqzST5fu/Ie4/z8o2dd6j01BG7YCaghCrMHSYRVLu/xlMkau76MkH/JFBY6Oj/yCjNEVhgkJHOxM9oqfwQkYcVBC+7FI4VG/aaxO0CebvqtKBQtFpmCo5IV51XSQMubmFc4wB+6QyvGsoJKw///AlRZ8k5b4mdqpuK30d65wgY2EMRdUDiysKc87Ww4vgeUjQIhC3sCivW8pOdalCw6E2n+WknfEvJamBoWaTp+pZHKQtr08N8toyOru37av7onM4ltb5Xa1QA56opn3dmRD764rOrjZcAhTc9fnuHAwNec/qt3FgTlpqpGTtjbiTPeb5sxwsbKtHYYuGGew0D1kF9DPzARGMp3KiDbpuuVVPodEmXQTKRqwALKIK1O6JDDSf7e7wq49xjXNeesz4fmNwO0DoYeGNaZZGzu9OSsDgzibvboONlw6xB/ATrwZ0BWGuTQXd7braVGc9EBSgoqMp6gc84cq6IqlbWKViCSkifrvk20tOgA9BxZC4Vgpn3/6NknPrC4Ibrap9EZ2O7HJS55AAMPQrQE6C4slZlTE3EOUjqhNkoW+RKKvPb3y1hSpQ==
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: 7WrjodH08fADgeHSJGFQ4XnDqGBaRqpuwy6NdjeZIcyMH1LdGaPQbttZ+x772FCkRBmmUgLT+uwGcuWy3OHChgsp1ILN24oAGWeAZMl+Bq3uOVNOF6wiF3ewCbaxPJ4wzpZ2Batd8kkPXJb8J+/AbA6jx6CigYiwgy6EyLRNmdVWz33yIHhwjdkVELD8gDDO2aI/UE7CiNIx82/pn6Qwg2GuJinM1yB9/fbDgZJzTd7OqR9z4WQr/Y2QpUgBKAiYZRzxdMvn/ZjyKKB6wDrs0VryLYXx1HvHOABMDOTRET8HukeWsnuO3qSTwhuyojaphQQ15qzPKrvaMnhRlDbYrTE0xBuzRSHCXJwxpJMefeXyrn/mQy2KDk0EjCe9P6iR8983W/9SWZ6sJ2xBgovGsBn8nAOBTy87vYaLfXHeVZ9nsNNr9dhFokHJ84oHh4LumyeC0IxzB9aELGCqyCFnva+/fK9ycW/gfUf2T4SKB8FI1tUO6KP/DGhaLpHmO0nLPJiqrsSc7pj3CZTyckUkh7V8kYRtlZdilotOZmEi9V0eyKcQ+ZWbX5GHLMvXmalYDdAZVBcY0Wxf3ulSqq9YiIn5j9eH43MD4FhGli7Wfrgx1E8yPMi5Px3I1kGdFEbJ9SKJObU/7uECkiG/kkZcd1zrr6vBn+pQGRyuCvw0FEZMAlXZbNc4st53epWMFFdXGIPfA883EBBPEw8CqzpDyJww3NlKtWuNPKZMbThtbXMK6MWDuhXoJZzZKdEi6+CdmcE9nBENPOxzt7UhqIQeKpm7Y5UKr5vhWN+BDYwSC1oMu2iI3JGrI9kZ99eR6jIgf8QiyGCFhMwtf0T0TL581go9ITzfMBBOLOxo2rju+GEL3H3nxwO5PsjgzXFZOLq0NDLNuM8Fs3h/TpCP5xg7lF30zsGNIRk31wSbgYs74HGpoHO1w52QOhEvGj1RrgpqEkFW1YeGSDi9ReuGl2wf2bc17BCVS1gJIxtGPUaIgYi/psNfmFMx3ucoedzqBu6pBiJgfTxjVY2oS9isBk8ULED856WCbbqBdLHyuj/304ShS1AO4uDrtHNobpo5kHUVAlpgtgA+8Z0GuKI0X10yQqB589dYycqs3Q4QqbthhkXwBZGqdPFBod/NLVUeX3D+r0jv2Q/EnYJgHfHoLfOfFyAUaKSVd+e8hH624GYKrojHFXnDor3rH3cfj9jg2DcspHSZ5oATUlCzz7p1DQAc9IRy2aYXk27w0AcDzKYJbdswMJGWDH6OKwBbYMDHKYCrq98LNjtm9qQCXntJwTd7jAvrVpWecji2UINk97WoCVcH8Ou23JIPO+sOpwGQzHK1XQ4+gIeICphlAhN155CQOK5KhspOYS0w22m7bLqnZ88bbnpik8EF84spu8JWSAWm4inYX1IW7Htwy7BEQ5qV4g8i9MoQk4q/AOzLIq2OItTqlGKyvEspLlopNJ+l+qYp8lJVfgxtohwtkWAfazYoXcYRzN+JmyuNTPyyA8/T29N9u8qwcsdE0ynZk03UxMID95S92uctecjOlZQlQMSju+zqiGpzN5fCYOXzVi1RuRWlHO+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-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.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#72282: History entries shouldn't have the exact region hardwired in
Resent-From: Juri Linkov <juri@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 25 Jul 2024 18:23:02 +0000
Resent-Message-ID: <handler.72282.B72282.172193177813364 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 72282
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Dan Jacobson <jidanni@HIDDEN>
Cc: 72282 <at> debbugs.gnu.org
Received: via spool by 72282-submit <at> debbugs.gnu.org id=B72282.172193177813364
          (code B ref 72282); Thu, 25 Jul 2024 18:23:02 +0000
Received: (at 72282) by debbugs.gnu.org; 25 Jul 2024 18:22:58 +0000
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>
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-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"))




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#72282: History entries shouldn't have the exact region hardwired in
Resent-From: Juri Linkov <juri@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 19 Aug 2024 06:59:01 +0000
Resent-Message-ID: <handler.72282.B72282.17240507217386 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 72282
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Dan Jacobson <jidanni@HIDDEN>
Cc: 72282 <at> debbugs.gnu.org
Received: via spool by 72282-submit <at> debbugs.gnu.org id=B72282.17240507217386
          (code B ref 72282); Mon, 19 Aug 2024 06:59:01 +0000
Received: (at 72282) by debbugs.gnu.org; 19 Aug 2024 06:58:41 +0000
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>
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-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.





Last modified: Sun, 12 Jan 2025 05:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.