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#72282: History entries shouldn't have the exact region hardwired in Date: Thu, 25 Jul 2024 02:06:08 +0000 Message-ID: References: <87o76m1ilb.1.fsf@jidanni.org> 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="26605"; mail-complaints-to="usenet@ciao.gmane.io" To: Dan Jacobson , "72282@debbugs.gnu.org" <72282@debbugs.gnu.org> Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 25 04:07:17 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 1sWnsy-0006kc-EZ for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 25 Jul 2024 04:07:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sWnse-0000dc-Jg; Wed, 24 Jul 2024 22:06:56 -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 1sWnsd-0000dR-OM for bug-gnu-emacs@gnu.org; Wed, 24 Jul 2024 22:06:55 -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 1sWnsd-0007HG-Gd for bug-gnu-emacs@gnu.org; Wed, 24 Jul 2024 22:06:55 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sWnsk-00058e-19 for bug-gnu-emacs@gnu.org; Wed, 24 Jul 2024 22:07: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: Thu, 25 Jul 2024 02:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72282 X-GNU-PR-Package: emacs Original-Received: via spool by 72282-submit@debbugs.gnu.org id=B72282.172187318319705 (code B ref 72282); Thu, 25 Jul 2024 02:07:01 +0000 Original-Received: (at 72282) by debbugs.gnu.org; 25 Jul 2024 02:06:23 +0000 Original-Received: from localhost ([127.0.0.1]:34864 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWns6-00057j-Ib for submit@debbugs.gnu.org; Wed, 24 Jul 2024 22:06:23 -0400 Original-Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:59954) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWns3-00057Y-W2 for 72282@debbugs.gnu.org; Wed, 24 Jul 2024 22:06:21 -0400 Original-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== Original-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) Original-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 Original-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= Original-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 Original-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 Thread-Topic: [External] : bug#72282: History entries shouldn't have the exact region hardwired in Thread-Index: AQHa3iCHi+SEHsMPqUu+ARckyyRp67IGsLmw In-Reply-To: <87o76m1ilb.1.fsf@jidanni.org> Accept-Language: en-US Content-Language: en-US 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+9CJ7lV2anUPhCrx6lYSAdKi2AvYsUyIbQoVriumAMRqkNiRP CDoQ9hlfcYWEOHgbNbPt6jwwd5J8rar1XGmHpSFs/TD+tsg6rKNAv7fJU8sf6qIaqQ/vKgJJW7TSALetjnX8HOC4UqzST5fu/I 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/ZjyKKB6wDrs0VryLYXx1HvHOABMDOTRET8HukeWsnuO3qSTwhuyojaphQ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7y60yFatJVTVxJnif0O25AxjGxvmQlZrLli5EpVW3iUVSR15TXIHPrw12LiOgC5AbN/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-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:289261 Archived-At: > (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-| RET`. > Well that's harder to type than ``, ``, `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.