X-Loop: help-debbugs@HIDDEN Subject: bug#78124: 30.1; `revert-buffer' regression 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: Mon, 28 Apr 2025 23:22:04 +0000 Resent-Message-ID: <handler.78124.B.174588246420329 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 78124 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 78124 <at> debbugs.gnu.org X-Debbugs-Original-To: "bug-gnu-emacs@HIDDEN" <bug-gnu-emacs@HIDDEN> Received: via spool by submit <at> debbugs.gnu.org id=B.174588246420329 (code B ref -1); Mon, 28 Apr 2025 23:22:04 +0000 Received: (at submit) by debbugs.gnu.org; 28 Apr 2025 23:21:04 +0000 Received: from localhost ([127.0.0.1]:39017 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1u9XmZ-0005Ho-QZ for submit <at> debbugs.gnu.org; Mon, 28 Apr 2025 19:21:04 -0400 Received: from lists.gnu.org ([2001:470:142::17]:49714) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <drew.adams@HIDDEN>) id 1u9XmU-0005Gh-Aw for submit <at> debbugs.gnu.org; Mon, 28 Apr 2025 19:21:00 -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 <drew.adams@HIDDEN>) id 1u9XmL-00021e-Le for bug-gnu-emacs@HIDDEN; Mon, 28 Apr 2025 19:20:51 -0400 Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <drew.adams@HIDDEN>) id 1u9XmI-0006kL-De for bug-gnu-emacs@HIDDEN; Mon, 28 Apr 2025 19:20:49 -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 53SMqVTT032263 for <bug-gnu-emacs@HIDDEN>; Mon, 28 Apr 2025 23:20:41 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h= content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=corp-2023-11-20; bh=Arov1xEJOt2JF8i4 fGTLtQj831e/e1+rcU8tbhELKHs=; b=hjYymstFyiZaaL5SwuYBzx6u/66DUJCp JZB7YtnMpUqLv9dskwlJqUkaoyJAYXl5QVTk7w+jkg4tjofDW7vE5EWTNld61/m0 xwFwkuxBXnIYYKYD9giLFCx2jlM5TXGwZ8WDGMr4/tc6jKRQRooZ5skgQ10chhUO u0XxbjOgz+Q2Ewd4agnI9JDF5lGuSwj1NOhd6tvwwUdq0y8sQujuyAyWAdJoeymS ZXrGTESvKw5/O30pbkGDWtxnoM/hSziAhMTPB8hD992D/fqFmPBMxGw3ptbivI9D nWWic0q3tvPWidIvAO0F/MsKW35zU8XnIx3T74k9eA2AkZvF0Fv+tA== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 46ajueg0sa-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <bug-gnu-emacs@HIDDEN>; Mon, 28 Apr 2025 23:20:40 +0000 (GMT) Received: from pps.filterd (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (8.18.1.2/8.18.1.2) with ESMTP id 53SMXlIw033446 for <bug-gnu-emacs@HIDDEN>; Mon, 28 Apr 2025 23:20:40 GMT Received: from cy3pr05cu001.outbound.protection.outlook.com (mail-westcentralusazlp17013079.outbound.protection.outlook.com [40.93.6.79]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 468nx9319v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <bug-gnu-emacs@HIDDEN>; Mon, 28 Apr 2025 23:20:39 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=eyRw07Rv8MZopLfpEwdOve750lsHHsseJ4AC+JndjYB0z8Rv7UpNMVR+1o2UWTlLQONDUbxTvhtg72e6nhPFqEeKQj0ogd0gZ1lMGeg1IENx/MnSGJrdCn42ScMF6rmvCAX8KRjft7XqJDXMGU5M1LBFjL85m3rOJ0obtDsUZZtkWwuV2nmBGms4DI0s9HS9ZFlAMgHdcc4ddxA5HaE+8zn+7qLZkTqOq4TifX0zU4pq8omWHTzFDS6SiROLbevPUgQxBTzNDG0a22mbQuxk6WyW8dISLJUZkCrfqwewjy93F6yj35dcc30C2PknfmGxq8eU6tVOOhKCwKI/NzCFYg== 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=Arov1xEJOt2JF8i4fGTLtQj831e/e1+rcU8tbhELKHs=; b=H8CP/E/6ZG7dkqGK7LZ2J/+wGlq4sEGw9sYUNrARW7V/kUVyo7ZhTNEUMq0OyyfYSLjBdlaBABPsBD6D4hn9re+WAZtB/o57k//F5hsUpUVX6IitXtau88rI07itlnrrP0pq05FgrEKKLo1gQbuHos73hwSDWQFPvWDOKqrqcAQr8fW0jJ60YcvCXPIqI02Gnql7zb8sqcVFEF6efoQtUu1Lc9HH3Hbs3vtmNzpPtBE7Ns6bPng7y7rUIEDyVY6fweA9bHH9QNmz3Rrog4UHprWcjkSlgHuHftmufTJQjmZZTR0pAPpaKSb7v0Nk4hs1su50+tZyvaufRHVmG4HAcg== 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=Arov1xEJOt2JF8i4fGTLtQj831e/e1+rcU8tbhELKHs=; b=OlBx8hi9OhbzGe0pfwgUUv0ZwVjFdLst7NBCtlJykxvZtd+B7zzgGnFMVY2b60mPgsFZ37ZZ9CQXnp16u8UIj2DRE1gss2Vn/c8MS7p57L9VqyW4VjNTqtjPQrmM5ABy0iE9rD+GdEwZ5boEZL7elSb9J4ynJ/ekaXyZXLv8/i0= Received: from DS7PR10MB5232.namprd10.prod.outlook.com (2603:10b6:5:3aa::24) by CH0PR10MB5145.namprd10.prod.outlook.com (2603:10b6:610:db::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8678.33; Mon, 28 Apr 2025 23:20:37 +0000 Received: from DS7PR10MB5232.namprd10.prod.outlook.com ([fe80::8303:658f:14f8:2324]) by DS7PR10MB5232.namprd10.prod.outlook.com ([fe80::8303:658f:14f8:2324%5]) with mapi id 15.20.8655.040; Mon, 28 Apr 2025 23:20:37 +0000 From: Drew Adams <drew.adams@HIDDEN> Thread-Topic: 30.1; `revert-buffer' regression Thread-Index: Adu4jDoBx6fBmlB8Qbi3OhS0axF0lQ== Date: Mon, 28 Apr 2025 23:20:37 +0000 Message-ID: <DS7PR10MB5232421A3FB73891E7F6349CF3812@HIDDEN> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DS7PR10MB5232:EE_|CH0PR10MB5145:EE_ x-ms-office365-filtering-correlation-id: 45922a21-1001-470a-85a6-08dd86ab48be x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|366016|376014|1800799024|38070700018; x-microsoft-antispam-message-info: 9N6UDQ2pUGoBBv/DURyaglCT0P462gepDeN1vsSDbEU5qTQ8sUdO3qpmFDOLoj0v5jVDpIqJ7XMaBDPE7UfiElfOe1pgHRJOF8mfEmao5eA02TnVdeI4A8dkylY7kX4SBavDHs/Ka7Rqyi5InbQVx+tquOGyLq3axBPof3zf519/artmNyOv3qHwcD0CsZae3vpqLIlPOVFeGAzz8Bo5APMWjD7IN3aVmS/KOQ/hKtNabcko9Ixs/bIyhDpc24YkcJs+u/yilLMoMScoIz8fIV6qQFt9rQB5v9J0WYMpuIOR2BieBaVlIwiYLGQ2cn5Y0wXcJkeWVPU9oQxvSPetA8qI1UxNGD8nGCHRDEUl142TjZ3oO64HPpxMNA2Y0vXpdwBEXm+0sIeKKtfzvCMP9rRgHrwMikPTHgZjnUSJo275h6F8w5IJMsUfkXDEfT7sTF1SYqmFj/hCpxMhRkP5H686bpbzIbZaPoBGkPKJtho+lrpQ8VRWYcOj/ZS8sefXokuC7ns//XlU7pV1GNExYY04LqBTcN9Aq/W9+NrOsGsnXpnehTdoG+UAq3L5AKvRzpx4tjWpbl9HMGfE/8UkfVr4ybxzXO6cSWrwKvtBCpDp2pbtGDrm3TvwfoyrjPFl4MpLCiPNPNf04NBd3/c5VYsl+gM9+ApWjX4d3soWmTwO0cI+jFVm/Qhc50uTm9F+cK/6XDTTzbFG+9cfPJLOEOt+q0DLOi11sNwnMqlVNKWzaxn/0Uu1fK+0kmiZ/7euWvRBsr/2pTmQU40Kvv5upS5WRpCoAmJxY7rcnpdUwvUcidmTuQ2h/bcipVntq5lGWUHfZdAZ3Iby9U/lBZh++2bTNVjyp3wvHMIH3mCb7BR1H9GvrfEo1XpQFdOJ4K8h1ERdhI7XHn6utrh9ipmT3b6ajXmHLhYHs9H958AL5R3e8hpjW0Vqtu/sTowVJ50w3INYnnpuLQaY+FBCqdXfRSWEUbtZUuIYOtw+Mann0ZiE3Z77OphU9BJfVDPMtmwOWtyo/ZnNsCVcfuGojBT7edSduw8u8A9URTx+4o8Cybrt7S6vLkD+yRSj9eRQf0U9bYc7mkgnsV0Ss9uvbW40aeVl12BYTd4dHOjSvLk5WXVd5W7BGmALgrlPSjMy3ByFFPY+MDYojrMy15+c68i2QX43SWdXL5smhGqDnf2jkBRu8yj1F+HBmafs60Wez9LnGM3LWd6PluPViTNvUwZr6fQ8hRb8v6KRX9rE5icq6PpNr7NKG5fmVfdXqD6f8QHROBwM06oXhdf3A8QcU3i/Lhb/5sht/RCb3mFoU5wI679sUHpFfJDTNFyE/n0qby+ZrfvA/V3Z3Fopy2L3UvMD/hC/VxpnFM4fzrkP0lpCAJi1TKUsvIsKB1lRKpkNw5TWFZrn4POGVAybrvCpTMj23hR2b4PBPXxVDeQ2lh7aYPAYZPeGeL9+AI9cGi2WE/o20cQeqP0ysBRh0KoUYPoACw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS7PR10MB5232.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(366016)(376014)(1800799024)(38070700018); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: W8064Rqb7BZLNcUXpGg9W1K6YUkVKX++eCorxUMP7Q4EG53vS1FcBXAoY6yps59XHACfcZ4y2CPcLHhfkf+ed6bhk9yOP/ZSqvLiO0nuWtSKyJtCwXt218ryufqRBO1oijtmEIjq+l+xqxG7kuSryFbS1kYneUV5sC8vdFU1VDRanUOwqLWhqyG4Rv8utDDZF1Txot4/Xxg8J0WbEuA7fd1zvwanuwKm1a+dLJzPMXgQIX+uYyUEEr74r43cSLcKACchAwf6CU+IGHsEPpqqnKeV4IcyC3qPI/54OMIbPIyoArf14E+ogNyXURG/D6QzyqShmCMI+wYZbrE31xUT+vPLsXJKytzCxqX/sp41D8BsGMN+DhLCqi+Qylu+e2oWRMObRbJXogLVke4CAfeRqmq3el3Gn0bW4zvh3yK2XzYpbjuILyuoN3+UDHHAUYQtLIEO57GUX28xMxsh/cDL3x961UJo4ntkKzeYUR5d67zJeHQR67WlFcx+LUrJDfsvhrGTCsWyDK2GclzN4eF5Vc5IHq1flO2R8Y3GXOlJH+axfguehi/GIdB5oBIpkryiqEGC/g15pViLqop9Vy1AdHhVwneAu/kOwekHWVC6KFqlwD9XAi/kTwsp0oTOZscaqN0h7CLpi6vzEtxOLyQzAYa4yPK5ZdNTIx9gHTaDy+K5QK/tP872lRm8YjcsbMrxLq5nrbPWv5uW5WbhqbGF8avoNzl6v5rsgA1K6vRnHZoUD1+uy2vBk5TwMp8p4/zfsf1HW0hZp2RLMrv9eK0zUVpMDeNzGm3immBmhL9iJcY5p10XeGteI0Gzw/wvLtb0MYXbRImSIAI6YLch8h2TfLUa/c0zA+riu/F2pJFLsnyPlpPxOllVYdBKun/WlxN0aClRi0Z2kmYUf7SOGKjCgYsdiYv1cE7jKN5FVki2AljGhHJcD/0+rss07Y8Jq1l+2CI71GSequ2mmwsx/BIXriY8xLQOgQAjro7oTpD7sfhSfz0o2yiXph4GfYlu2me5CqpW4T2wEb9adIemh87OJiCK2Ep9iHv3ZxfnmL5L+9C3PIwBq9UvrJ6yqZOb2D52m1swd1etK/Quc4VD6TNQwCavdFtPOneoJWIlyjynj8Aco8vNNfPJ8Cu8uOS5aGRg3F+aW4ulAw5839C1tfqz5ttcJzjIppljnAeOIoOaQrxrrTtQO6ypLb4HkXVozsDfk9I3aTnPFgXAnKCije5T7ck2FFxqnyRvB/uQbbDUG/FNPBqXb/MkdjEe/445nOP5dyuz4AhUFZ0CIGl4bHGm/MdQ1pldyJODF7j6gGNHZ3Sky1PUjCmj1+zeUPZh0JGNrGDYi8x2W99rRmuESGoDJStIH8HFe5NNjjET85Acm+ks8pYzCzMnpv+H6xmPUdy1PxLGXE7AH1CLfAJorLnSN5qzoGEuwCDqWmGHyoNOsq1sFwzLLctQ/QOelAR8UpcDDMFdKjhwGGoY33Mh0hDrhNJxj2NiG+AgifI/SSA3JoS8KeQlIvuJPxTyiyp7cgHQF7V2gipxwIHUKjiGm2oGSSivUr0bqZ6QHLWwL1YSirCWhuwc5Rg0vDVeu6YPLEF3 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: HEKFdPRAw370Q4MlVjXYxFdPgMClpPtd6jezGqODPVfxIVvaShkhA1m5bfbYmZt6b6nSNKl1qJvzZdKoUULRt8p0rerKg7yqqqlT6wu9UcQX5pioqeGsCBeI/UPsYYHYUEbriuXrJBlBNa6ok11pQmmSMSgOfrwzAxotS03yn1J0IkjMtc05Ge0SyKqXZrlXHAEXN11G/J3U+jitJKt++LsRc1qjFN159YhNQjJJ2v7PJwHIemVcbrGZAM+OqYTAAT5LIqelFIo8uTUMVjuG6lq/GPAQdgegPCcnYUtB9ZtVFJMUfnUHtmsa7hbVoHa7UqUOPUPzZGNj6EEV13Mvh2ciSCeDZUKf8enKxN8HZzzclO5g/hBIivzPDhhlMGsQ/efLQzU3SirrkUw4vJ0Jreb0tuuqut77Cg88exgR/CXin/JkV+pSjyS5ha5ekveSALG9JH0qUhzEBU+fW3jCd5B6ExatBRRiv7DsCb5KDzSnAF614eVRzl/6IrxHWEzC1PjxPNvN8jCylG8TahsnlSE4Vs5hmL51DoMztme23OaarQL2qcIDjU8BMeuWF88Ceg5z66OIiwuHo+MqZwAGR7/5M/V7cfA+n8FoBfPODPM= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DS7PR10MB5232.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 45922a21-1001-470a-85a6-08dd86ab48be X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Apr 2025 23:20:37.4103 (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: wUHqsGp6u+LBqigIVwhUNCvlfJn6V9kpHPqXWXIyhjoIoirlhOhVnrdY26EIlRnrsWOFdxY+hE+5jRssL45saw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR10MB5145 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.0.736,FMLib:17.12.80.40 definitions=2025-04-28_09,2025-04-24_02,2025-02-21_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=850 adultscore=0 malwarescore=0 mlxscore=0 bulkscore=0 phishscore=0 spamscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2504070000 definitions=main-2504280186 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwNDI4MDE4NiBTYWx0ZWRfX0Sgg+/xT4bpB ILSQoYHDo/ymyxoMNyXdd+9gxXZBhkp6oLdsXs55ixnrRPxE/8duQruE6O3k5deMQBNBVBa3K0J kRKGFwXTC0MXMwmXwPwFWLLeXu+E2gBFutH2pMBe9k1Xc5w6HiGYv8XS1Bg+6Lk4bws7LkmmPLr vUmQD/7Nzg1nEnaolCAahRPvAiFOsOGeVcXTO3gJvkiI37dma8fgNgVEUBIitHFnNC+R2HuZBRW xrGUkXQcT5S/mfoeGRJvisuJnNk3/jxMps/6XfC9aaFxYZN7ccilrtWJHcnWeOmvx7/bWBLXZsf eTUqTmKxYdJkydfzOVXnMWh0KuA8YjyenzY0Qpe2hal6bgFmBkXM/8t34yaFxQFYSBiqW1/aRC2 w4mDiMk6 X-Proofpoint-GUID: TICQ-olRhX3BioJyzB0Ntdw0KALhKQmz X-Proofpoint-ORIG-GUID: TICQ-olRhX3BioJyzB0Ntdw0KALhKQmz Received-SPF: pass client-ip=205.220.165.32; envelope-from=drew.adams@HIDDEN; helo=mx0a-00069f02.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=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.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: -0.0 (/) I didn't find anything about this in NEWS, so I'm assuming this change in behavior isn't intended. And I HOPE it's not intended. emacs -Q Visit any file, say foo.el. Use `C-x C-q' to make the buffer read-only. M-: (revert-buffer t t) The buffer should be changed back to writable, but it remains read-only. This is not the case in any prior Emacs release. Reversion should restore the state of the saved file to the buffer, including whether the file itself is read-only. I bind this command to F5, so the key reverts, as on Windows: (defun revert-buffer-no-confirm () "Revert buffer without confirmation." (interactive) (revert-buffer t t)) Useless now. In GNU Emacs 30.1 (build 2, x86_64-w64-mingw32) of 2025-02-23 built on AVALON Windowing system distributor 'Microsoft Corp.', version 10.0.26100 System Description: Microsoft Windows 10 Pro (v10.0.2009.26100.3775) Configured using: 'configure --with-modules --without-dbus --with-native-compilation=3Daot --without-compress-install --with-tree-sitter CFLAGS=3D-O2 prefix=3D/g/rel/install/emacs-30.1' Configured features: ACL GIF GMP GNUTLS HARFBUZZ JPEG LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY W32NOTIFY PDUMPER PNG RSVG SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XPM ZLIB (NATIVE_COMP present but libgccjit not available) Important settings: value of $LANG: ENU locale-coding-system: cp1252
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: Drew Adams <drew.adams@HIDDEN> Subject: bug#78124: Acknowledgement (30.1; `revert-buffer' regression) Message-ID: <handler.78124.B.174588246420329.ack <at> debbugs.gnu.org> References: <DS7PR10MB5232421A3FB73891E7F6349CF3812@HIDDEN> X-Gnu-PR-Message: ack 78124 X-Gnu-PR-Package: emacs Reply-To: 78124 <at> debbugs.gnu.org Date: Mon, 28 Apr 2025 23:22:06 +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 78124 <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 78124: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D78124 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#78124: 30.1; `revert-buffer' regression Resent-From: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec <kevin.legouguec@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 29 Apr 2025 06:08:02 +0000 Resent-Message-ID: <handler.78124.B78124.174590688119377 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 78124 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 78124 <at> debbugs.gnu.org Cc: drew.adams@HIDDEN X-Debbugs-Original-To: Drew Adams via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> X-Debbugs-Original-Cc: 78124 <at> debbugs.gnu.org, Drew Adams <drew.adams@HIDDEN> Received: via spool by 78124-submit <at> debbugs.gnu.org id=B78124.174590688119377 (code B ref 78124); Tue, 29 Apr 2025 06:08:02 +0000 Received: (at 78124) by debbugs.gnu.org; 29 Apr 2025 06:08:01 +0000 Received: from localhost ([127.0.0.1]:45765 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1u9e8P-00052R-Ax for submit <at> debbugs.gnu.org; Tue, 29 Apr 2025 02:08:01 -0400 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]:38945) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <kevin.legouguec@HIDDEN>) id 1u9e8J-00050e-0s for 78124 <at> debbugs.gnu.org; Tue, 29 Apr 2025 02:07:57 -0400 Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-440668acbf3so7526885e9.0 for <78124 <at> debbugs.gnu.org>; Mon, 28 Apr 2025 23:07:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1745906868; x=1746511668; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=DI1o+LPd7sArZiY2eeIgp5OmF5AoOk8AX2X6+T+J3lE=; b=bKtYGS0XLbzCWCCuPYTxIHroO6VbNOac8mFQ2vCLcIzgfhRd6a4VzmC9RRZ2fnV3PH yZ5dgyTLD/CmBpsyvHgyaQBBGZbhgHWPii/3DR5aGktDhWVwBbv/Z1y25bBK88Av+Nlk m48l0g+rbqDnPEKIUh2/k39J3mhQR3pMRSQBiFNi43/+BGeARW9v8SFoLLYI0I2KxlBY yWruxRyMphsrVs7Fpzvw/2oJlzz1tIIM3coOK+csuPyHmIZ2a3aZQh4RpXgymQUUl/FX yZOhG27KxVMXOq1mYnQ/5Lt1iudOnJQOXKM7g6kZDlLWNveBcnTUHVXciBtD2T7aRtlp cbEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745906868; x=1746511668; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=DI1o+LPd7sArZiY2eeIgp5OmF5AoOk8AX2X6+T+J3lE=; b=W8bL+1F9Vkm9dCkXmKgmmb4wI/jbq8cTe+e6lIMzuj0JxtYAoS5fJkF7m/xDeP5c/t 7DzYCqiuQ+1HTuQ2zMlN08gHXypydzWnXDDEPIhlpWTFi+7oYZVjIXw023ATWCbt/+5z ePw5U63pWPDUbfQmDI2ffxG9arvXKWsFtJneZAJrlu43mJ/sgBtMHSza0IeXkdLoBQud 3a05hrpPXAvw7So30dyuoAhpYvDhrl4ZhPlyNxexvsLQUQ8oU22pvWaZ3ktnEac8Iz5V gNg6lkgMTi/TZMeO2ZHmfTM9GA/ycsZcBgSJFBTIj0t16hB0WzGVzXCea0i/EiiZO6Eg 5xAA== X-Gm-Message-State: AOJu0Ywn9F1Db/foF4OBcxRHF/k3e0j9wiXbYzUbAW6Li+/wdVy1OObB 7qLJ+pE7iIvL+j+153N5AeMQNNuJi7JH+ygXkJAmzjV+giCC8bsp X-Gm-Gg: ASbGnctAtcGigpO4Gc0v9/cRhqiS441agGvKgCR2sNJXo6Sc0M9tx9rXnCCALdiD3VD AxeKVTKTBYangBnMg+plOHsep3k601sRX/IYZb059o3IqaFNM/ANZNlkP4yImOOBbxXv3lWQcPx H51y7zZ0VXs3wtE+89YirUm9nZrmefKJqtOY0gEEPllPCPthAcUZpNJbKA217fPmoWU6/oJ1T/F x3dwRyD9Jm22SnZMGsgGwpyYmnH8qUHEIOLWmzVV0go7Py7twEOOhkQn5QDgR4DSkIibUA10a42 WngY63yjYULK0KAiE9jF1ktY7s8ZgNmT2SZex6mNnWMT X-Google-Smtp-Source: AGHT+IGx6U3IBSjyEu/QMUpCTmYkGHSydsn45J6rMnE46/5ONe1CINlLgvnvSoRMu0z6ASPjx5v3zQ== X-Received: by 2002:a05:600c:8012:b0:43b:c938:1d0e with SMTP id 5b1f17b1804b1-441ac84acdamr5471625e9.2.1745906868433; Mon, 28 Apr 2025 23:07:48 -0700 (PDT) Received: from amdahl30 ([2a01:e0a:253:fe0:2ef0:5dff:fed2:7b49]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-440a5310ad2sm143984755e9.21.2025.04.28.23.07.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Apr 2025 23:07:48 -0700 (PDT) From: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec <kevin.legouguec@HIDDEN> In-Reply-To: <DS7PR10MB5232421A3FB73891E7F6349CF3812@HIDDEN> References: <DS7PR10MB5232421A3FB73891E7F6349CF3812@HIDDEN> Date: Tue, 29 Apr 2025 08:07:47 +0200 Message-ID: <875xinfqks.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 (-) Drew Adams via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> writes: > I didn't find anything about this in NEWS, so I'm assuming this change > in behavior isn't intended. And I HOPE it's not intended. > > emacs -Q > > Visit any file, say foo.el. > > Use `C-x C-q' to make the buffer read-only. > > M-: (revert-buffer t t) > > The buffer should be changed back to writable, but it remains > read-only. This is not the case in any prior Emacs release. This describes the effect of=E2=80=A6 [NEWS] ** New variable 'revert-buffer-restore-functions'. It helps to preserve various states after reverting the buffer. [files.el] (defvar revert-buffer-restore-functions '(revert-buffer-restore-read-only) "Functions to preserve any state during `revert-buffer'. =E2=80=A6") =E2=80=A6 if I am not mistaken? > Reversion should restore the state of the saved file to the buffer, > including whether the file itself is read-only. > > I bind this command to F5, so the key reverts, as on Windows: > > (defun revert-buffer-no-confirm () > "Revert buffer without confirmation." > (interactive) (revert-buffer t t)) > > Useless now. > > In GNU Emacs 30.1 (build 2, x86_64-w64-mingw32) of 2025-02-23 built on > AVALON > Windowing system distributor 'Microsoft Corp.', version 10.0.26100 > System Description: Microsoft Windows 10 Pro (v10.0.2009.26100.3775)
X-Loop: help-debbugs@HIDDEN Subject: bug#78124: 30.1; `revert-buffer' regression Resent-From: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec <kevin.legouguec@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 29 Apr 2025 06:09:04 +0000 Resent-Message-ID: <handler.78124.B.174590688719424 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 78124 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 78124 <at> debbugs.gnu.org Cc: drew.adams@HIDDEN X-Debbugs-Original-To: Drew Adams via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> X-Debbugs-Original-Cc: 78124 <at> debbugs.gnu.org, Drew Adams <drew.adams@HIDDEN> Received: via spool by submit <at> debbugs.gnu.org id=B.174590688719424 (code B ref -1); Tue, 29 Apr 2025 06:09:04 +0000 Received: (at submit) by debbugs.gnu.org; 29 Apr 2025 06:08:07 +0000 Received: from localhost ([127.0.0.1]:45771 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1u9e8U-00053C-QF for submit <at> debbugs.gnu.org; Tue, 29 Apr 2025 02:08:07 -0400 Received: from lists.gnu.org ([2001:470:142::17]:59898) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <kevin.legouguec@HIDDEN>) id 1u9e8S-000526-Py for submit <at> debbugs.gnu.org; Tue, 29 Apr 2025 02:08:05 -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 <kevin.legouguec@HIDDEN>) id 1u9e8I-00056e-Sl for bug-gnu-emacs@HIDDEN; Tue, 29 Apr 2025 02:07:56 -0400 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <kevin.legouguec@HIDDEN>) id 1u9e8G-0004xO-5j for bug-gnu-emacs@HIDDEN; Tue, 29 Apr 2025 02:07:53 -0400 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-43cf861f936so9793355e9.3 for <bug-gnu-emacs@HIDDEN>; Mon, 28 Apr 2025 23:07:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1745906868; x=1746511668; darn=gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=DI1o+LPd7sArZiY2eeIgp5OmF5AoOk8AX2X6+T+J3lE=; b=ddOJqoTsrW0nnblLEqK5uDBBACLz9zhlYnqq6WaPKeETY1nwhmH/S/v45+fMdfqjl6 xijPW2HBw457zC85g8ddDU2JL+q+pEKYp8QM0LBNb9Wj3e5b7a8quAEm9OpSfcidRz3+ e2LqcarPhkHw8a/VaIihJNNJdtPOXN7rHokKBy/QUkj3+VeN7e/fk0UyUkbmMC8GNutW 3OwGIllvleXb1u+yVU9avwAfYJqdBBTEFBaEbBzYCQZt5DjKD8Fl2Yz8qMMiZc4sC/cE fqn/vGa4OiER9BiPAW8lcTwnZ+kNgBxQB8MhPhUe271TBODJHRAF+vt2jsEVEGFs83sR odVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745906868; x=1746511668; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=DI1o+LPd7sArZiY2eeIgp5OmF5AoOk8AX2X6+T+J3lE=; b=j0+W9MjEeEThjQ7NORYxzR49tdpyEBNHc8KaboOq6Xvury9nP9SGMn4C4LmXfqqVh3 gTlG/s03CvbVn9WC2kRLmIyL7bF1++OEj2lJ0oelxe4J5qQ8pOR8k4UJ47GJNT6zmUfB 0jGoXC1baY7t+A1rsSDE2tZgbQ6KLLF9A3CWxzzhf70u9lM5hG91wC3LEicAFAJMRXgk qxz/+hPTMy7WrGH3BH5fB5e5lyU0MALXyMXJNkbXvaDvi8fAXNZcbgVmDTQUo2C2cV/b a8SUD+Zn+hip87cjafGIp8+iw4SYvxS6aB81hK09oPyoJ+k207KhEPZ3PdayWcKTkoa/ LIPg== X-Gm-Message-State: AOJu0YyE8zJYNo7X4F3S8+DrjDFpXMfVxaz+84f0f4fj4LUya+R0VWFt DM9BgfcgFbelwLpt6iOLUfZZ6dNnvvV4rjA2tjvxtHougJI2PwBk X-Gm-Gg: ASbGncupdUzCZNxt17ULy5qk8hIXVLxv5LL+wozvq6YAUbFqTjdtb6FcWYG3SHQGz5a 9ojTuwGzBp40uT97etSNAWysRJyWpePuByNLSpkFw201v3ACDq2ByYDjhaOsr8R3ggwfFGdSRTA C3xaIS43Q/yLBoKhLgUI3i6/RQiQvYHemSls5t5uMCcY5JE52TJh63L8tI3c3SztV/1sp+D5nuY 0x1g3611ZWkbwLZzYyHrGPLfeflBFylNA9WImaqQndYTrdKj7y+1kSvi5baPQw2nWdK1WYg7xUh hUMOnGji9PTf6Cfw1njnXh6XI9YVagWwWFCEw0eHETkK X-Google-Smtp-Source: AGHT+IGx6U3IBSjyEu/QMUpCTmYkGHSydsn45J6rMnE46/5ONe1CINlLgvnvSoRMu0z6ASPjx5v3zQ== X-Received: by 2002:a05:600c:8012:b0:43b:c938:1d0e with SMTP id 5b1f17b1804b1-441ac84acdamr5471625e9.2.1745906868433; Mon, 28 Apr 2025 23:07:48 -0700 (PDT) Received: from amdahl30 ([2a01:e0a:253:fe0:2ef0:5dff:fed2:7b49]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-440a5310ad2sm143984755e9.21.2025.04.28.23.07.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Apr 2025 23:07:48 -0700 (PDT) From: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec <kevin.legouguec@HIDDEN> In-Reply-To: <DS7PR10MB5232421A3FB73891E7F6349CF3812@HIDDEN> References: <DS7PR10MB5232421A3FB73891E7F6349CF3812@HIDDEN> Date: Tue, 29 Apr 2025 08:07:47 +0200 Message-ID: <875xinfqks.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=kevin.legouguec@HIDDEN; helo=mail-wm1-x329.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.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: -0.0 (/) Drew Adams via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> writes: > I didn't find anything about this in NEWS, so I'm assuming this change > in behavior isn't intended. And I HOPE it's not intended. > > emacs -Q > > Visit any file, say foo.el. > > Use `C-x C-q' to make the buffer read-only. > > M-: (revert-buffer t t) > > The buffer should be changed back to writable, but it remains > read-only. This is not the case in any prior Emacs release. This describes the effect of=E2=80=A6 [NEWS] ** New variable 'revert-buffer-restore-functions'. It helps to preserve various states after reverting the buffer. [files.el] (defvar revert-buffer-restore-functions '(revert-buffer-restore-read-only) "Functions to preserve any state during `revert-buffer'. =E2=80=A6") =E2=80=A6 if I am not mistaken? > Reversion should restore the state of the saved file to the buffer, > including whether the file itself is read-only. > > I bind this command to F5, so the key reverts, as on Windows: > > (defun revert-buffer-no-confirm () > "Revert buffer without confirmation." > (interactive) (revert-buffer t t)) > > Useless now. > > In GNU Emacs 30.1 (build 2, x86_64-w64-mingw32) of 2025-02-23 built on > AVALON > Windowing system distributor 'Microsoft Corp.', version 10.0.26100 > System Description: Microsoft Windows 10 Pro (v10.0.2009.26100.3775)
X-Loop: help-debbugs@HIDDEN Subject: bug#78124: 30.1; `revert-buffer' regression Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 29 Apr 2025 06:23:02 +0000 Resent-Message-ID: <handler.78124.B78124.174590776426331 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 78124 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Drew Adams <drew.adams@HIDDEN> Cc: 78124 <at> debbugs.gnu.org Received: via spool by 78124-submit <at> debbugs.gnu.org id=B78124.174590776426331 (code B ref 78124); Tue, 29 Apr 2025 06:23:02 +0000 Received: (at 78124) by debbugs.gnu.org; 29 Apr 2025 06:22:44 +0000 Received: from localhost ([127.0.0.1]:46028 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1u9eMe-0006qd-Cm for submit <at> debbugs.gnu.org; Tue, 29 Apr 2025 02:22:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35862) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1u9eMZ-0006pL-Kl; Tue, 29 Apr 2025 02:22:41 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1u9eMT-0006bN-UJ; Tue, 29 Apr 2025 02:22:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=tS82Wv9Z65yOPvFI7vlANDrOLMMVcoau5RvhCvwf01w=; b=PH1J+lLlb+ew faNxP2h/c+3hIAct0SVHLU5dZiXof1EThDmDP/sGXpUmJeBQRtTEeBmJtZOFr7dIKmErpR0SxaFPF 9YzKNFWtxgcGKeo6je0Nt+FW7Hytcjh9bgB1UW0078tsWd2r5UcHg6RY2P3xdJ6AChIpWQVMDDYsJ 0mszG7kQLf4oqc1Vi7KyDUk0I/nXZgZuu/tZ4HeIq0uNbV79wGLmkFH2pj9spDaldWQ9x8m3MSajJ WmCRG4EJP4ut2siZF+5LxghbTyTOiFDYg/bVd+pWhnp4QNcxRJXozXurzZOz+I17jVaUYeozXmpCi 4X9xRv+d2vTs/HSUVIZxzA==; Date: Tue, 29 Apr 2025 09:22:29 +0300 Message-Id: <86wmb3pjve.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <DS7PR10MB5232421A3FB73891E7F6349CF3812@HIDDEN> (bug-gnu-emacs@HIDDEN) References: <DS7PR10MB5232421A3FB73891E7F6349CF3812@HIDDEN> X-Spam-Score: -2.3 (--) 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: -3.3 (---) tags 78124 notabug thanks > Date: Mon, 28 Apr 2025 23:20:37 +0000 > From: Drew Adams via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> > > I didn't find anything about this in NEWS, so I'm assuming this change > in behavior isn't intended. And I HOPE it's not intended. > > emacs -Q > > Visit any file, say foo.el. > > Use `C-x C-q' to make the buffer read-only. > > M-: (revert-buffer t t) > > The buffer should be changed back to writable, but it remains > read-only. This is not the case in any prior Emacs release. This is a (new) feature. The behavior change was in Emacs 29, where we have this in NEWS: ** Explicitly-set read-only state is preserved when reverting a buffer. If you use the 'C-x C-q' command to change the read-only state of the buffer and then revert it, Emacs would previously use the file permission bits to determine whether the buffer should be read-only after reverting the buffer. Emacs now remembers the decision made in 'C-x C-q'. The change was (briefly) discussed in bug#35166. If you want back the previous behavior, you can define your own function that is the value of revert-buffer-restore-functions (e.g., set it to nil). > I bind this command to F5, so the key reverts, as on Windows: > > (defun revert-buffer-no-confirm () > "Revert buffer without confirmation." > (interactive) (revert-buffer t t)) > > Useless now. You can change that trivially to restore the behavior you expect.
Received: (at control) by debbugs.gnu.org; 29 Apr 2025 06:22:50 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 29 02:22:50 2025 Received: from localhost ([127.0.0.1]:46036 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1u9eMk-0006qu-2M for submit <at> debbugs.gnu.org; Tue, 29 Apr 2025 02:22:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35862) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1u9eMZ-0006pL-Kl; Tue, 29 Apr 2025 02:22:41 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1u9eMT-0006bN-UJ; Tue, 29 Apr 2025 02:22:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=tS82Wv9Z65yOPvFI7vlANDrOLMMVcoau5RvhCvwf01w=; b=PH1J+lLlb+ew faNxP2h/c+3hIAct0SVHLU5dZiXof1EThDmDP/sGXpUmJeBQRtTEeBmJtZOFr7dIKmErpR0SxaFPF 9YzKNFWtxgcGKeo6je0Nt+FW7Hytcjh9bgB1UW0078tsWd2r5UcHg6RY2P3xdJ6AChIpWQVMDDYsJ 0mszG7kQLf4oqc1Vi7KyDUk0I/nXZgZuu/tZ4HeIq0uNbV79wGLmkFH2pj9spDaldWQ9x8m3MSajJ WmCRG4EJP4ut2siZF+5LxghbTyTOiFDYg/bVd+pWhnp4QNcxRJXozXurzZOz+I17jVaUYeozXmpCi 4X9xRv+d2vTs/HSUVIZxzA==; Date: Tue, 29 Apr 2025 09:22:29 +0300 Message-Id: <86wmb3pjve.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Drew Adams <drew.adams@HIDDEN> In-Reply-To: <DS7PR10MB5232421A3FB73891E7F6349CF3812@HIDDEN> (bug-gnu-emacs@HIDDEN) Subject: Re: bug#78124: 30.1; `revert-buffer' regression References: <DS7PR10MB5232421A3FB73891E7F6349CF3812@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control Cc: 78124 <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: -3.3 (---) tags 78124 notabug thanks > Date: Mon, 28 Apr 2025 23:20:37 +0000 > From: Drew Adams via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> > > I didn't find anything about this in NEWS, so I'm assuming this change > in behavior isn't intended. And I HOPE it's not intended. > > emacs -Q > > Visit any file, say foo.el. > > Use `C-x C-q' to make the buffer read-only. > > M-: (revert-buffer t t) > > The buffer should be changed back to writable, but it remains > read-only. This is not the case in any prior Emacs release. This is a (new) feature. The behavior change was in Emacs 29, where we have this in NEWS: ** Explicitly-set read-only state is preserved when reverting a buffer. If you use the 'C-x C-q' command to change the read-only state of the buffer and then revert it, Emacs would previously use the file permission bits to determine whether the buffer should be read-only after reverting the buffer. Emacs now remembers the decision made in 'C-x C-q'. The change was (briefly) discussed in bug#35166. If you want back the previous behavior, you can define your own function that is the value of revert-buffer-restore-functions (e.g., set it to nil). > I bind this command to F5, so the key reverts, as on Windows: > > (defun revert-buffer-no-confirm () > "Revert buffer without confirmation." > (interactive) (revert-buffer t t)) > > Useless now. You can change that trivially to restore the behavior you expect.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.