From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lin Sun Newsgroups: gmane.emacs.bugs Subject: bug#74881: 31.0.50; [PATCH] * lisp/vc/ediff-util.el: Remove temp files on kill-emacs Date: Sat, 28 Dec 2024 08:04:52 +0000 Message-ID: References: <86h675s77g.fsf@gnu.org> <864j2py29u.fsf@gnu.org> <864j2ow93z.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="_004_TYCPR01MB100042551D4F4777D84FB2011FB0F2TYCPR01MB10004jp_" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11337"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "74881@debbugs.gnu.org" <74881@debbugs.gnu.org> To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 28 09:06:21 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 1tRRq0-0002lm-H6 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 28 Dec 2024 09:06:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tRRpl-0002rm-Um; Sat, 28 Dec 2024 03:06:06 -0500 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 1tRRpj-0002rQ-EZ for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2024 03:06:03 -0500 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 1tRRpj-0004mh-5v for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2024 03:06:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:In-Reply-To:References:Date:From:To:Subject; bh=CR+jYYTss6Wo1vkC+89K1WbUvp4bFHnERs+vKjzIr7A=; b=vIhcVOjcqn2WFYHw5EgNbpjujpaHOVz/ajNWEgcAoMR/fQYdZLc90AbKx9CM2yIIdBLmxEmPs+a3j9Wga3GJ6I9MoEHPW3Lhs/CT5jsUonOR8rqHu6TRfVeZ4pWgBIbajR0RVXHGjua4DUOfAHkdQh5Z0+y4QFGVD5KIG3b77P0kWxCpeT/uzh7oAgUgewq8ElhiatqxRP2N5V0KBp/6MJfBz5yBMuSdMuROfw5gogLRWT3J1Mf16xpxKQSzeclXMCKkibG+cZso8hoOPgcqJf4sv+YYQwOW9QKvK+X/7f3Ig02eK1eEeU0LT7Ko9LmS1FuCc1gbUE2ivCGOJrCKxg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tRRpi-0006Zz-03 for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2024 03:06:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lin Sun Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 Dec 2024 08:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74881 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 74881-submit@debbugs.gnu.org id=B74881.173537312125237 (code B ref 74881); Sat, 28 Dec 2024 08:06:01 +0000 Original-Received: (at 74881) by debbugs.gnu.org; 28 Dec 2024 08:05:21 +0000 Original-Received: from localhost ([127.0.0.1]:48638 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tRRp2-0006Yz-Uf for submit@debbugs.gnu.org; Sat, 28 Dec 2024 03:05:21 -0500 Original-Received: from mail-japaneastazolkn19010009.outbound.protection.outlook.com ([52.103.43.9]:28554 helo=TY3P286CU002.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tRRp0-0006Ug-CP for 74881@debbugs.gnu.org; Sat, 28 Dec 2024 03:05:19 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=efL9I2Q96njCAOg9VmHFMay/DM2UofJCJ0bQKU+TgE7ADCgbYtoZNRE9q64aw+sfTQU4eT+xMJIojAnvLtj7osYZ8/hm+Spu+M2D+JpTdj9lvgbd0RCN7Jw3o3PnbX1YU1fUfMrxrshR2chVxfy7v6v5kGyM9ikpCSUJ/0v8LfFlRr3B5D8iQwhSvmReX1H2FWz54voZHtL8mYZY2boEKJZWE5/JVpow5Tr9DpqHc18fAEDb5rxNyCjuA9+aj/SC1lE/Y2BWaT9+4PM16xJUxGU1UJrhohOCIJgu23Ehuy79u4EVrMr//om4tqha4kol0QeVeMSUUjxZVq9IM39geA== 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=OKb3oduFK5xLN2HF/r3NGj/WN/4RdUuLQacPLz3KYnE=; b=i6KY4Piq8XMMdKwZyidtE/meAGE2gkHr7LnqcZL6MY/XQrvzEoFrNXAScWw7+Oj42dCOj6bfFcWPhgOenW8/aL/re/L1F1LZCVk5CecWJzSyx8XlFPAOF+J1PTcfqBr4CH9leYo6G6eu6khz67XPcFB7EpT4Bnb90dq7/EHGKHXQ/Tc9tiIU3f9p1v+FUS+bvjILopFUZQBJYEtqJn6FcKz1fv6zv7M0uEyptk8FZK8/FuT9gT52bGyV+3rjhn6kdywclqUJ1ngUBTAUn70Y7nAx2g5oy7NLXT5lw2QUT2ZhZ/RU1LRJ68FRBSdUZIXYojDcPd3OH4BiN8MAXk8+WA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OKb3oduFK5xLN2HF/r3NGj/WN/4RdUuLQacPLz3KYnE=; b=l02kIxm8XRXzZDypJygHaFYzDMVFL7cfgC2IuduOnZL7Z/8eM66jXW0ALwwTLpEnMLfvBLSNMDEalhe++rEuYMixyLfFTNTNyQO0bgI/7q+sYnPN88kU/H+ui0ZYy0F3kCmTGh5f9R0ghgfcUm+qAc3JTJw2hdnOlw5lxT8YJhG2czq6TldJfP65oPYSOi0iur8YfKVU09Hn/IS0+vnHMQSJwH/ys5bvZpEB3J5n5RcNcK7z58yJN8OnmttyiRS1Z7g1loki/UqDsRSqaIChlwYsNGVSWMhmLeyzE4LD/V8DgWC1ZpDcFQZJ5MaukimkUNLoka4r3uyrBoHr1Ptnsw== Original-Received: from TYCPR01MB10004.jpnprd01.prod.outlook.com (2603:1096:400:1e8::14) by TY3PR01MB11113.jpnprd01.prod.outlook.com (2603:1096:400:3d1::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8293.16; Sat, 28 Dec 2024 08:04:53 +0000 Original-Received: from TYCPR01MB10004.jpnprd01.prod.outlook.com ([fe80::8ecd:43a5:333:1c8]) by TYCPR01MB10004.jpnprd01.prod.outlook.com ([fe80::8ecd:43a5:333:1c8%7]) with mapi id 15.20.8293.000; Sat, 28 Dec 2024 08:04:53 +0000 Thread-Topic: bug#74881: 31.0.50; [PATCH] * lisp/vc/ediff-util.el: Remove temp files on kill-emacs Thread-Index: AQHbTrQ6C9gBTPBRPkO0xoraS9YsXLLm8oALgACRi4WAEiBNpoAAK+jtgACcYWyAAOzfEIAABgUa In-Reply-To: <864j2ow93z.fsf@gnu.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes x-ms-publictraffictype: Email x-ms-traffictypediagnostic: TYCPR01MB10004:EE_|TY3PR01MB11113:EE_ x-ms-office365-filtering-correlation-id: 47361eed-ca3d-4d45-cc2e-08dd27164f50 x-microsoft-antispam: BCL:0; ARA:14566002|8060799006|19110799003|8062599003|7092599003|6092099012|15030799003|461199028|15080799006|3412199025|440099028|102099032|13095399003; x-microsoft-antispam-message-info: XQJZuOFn/M1lquvCEuqcjFJcs+RiQQCCQUMogvX2tYRwKggLoQO8LcPbLmJ3G2J8LNfP91yfR9neZAOuYKwq506MZgsHU7stCWvwMFqVFG6JcL2siAl+3780/rslsrhvbXMCu6WNwrlM+vPPpAIbBz0K1BnRYrMr6/d51CmaKVT+oAR5aeJ+bxvoMiHtWm+SL8SkX1XOiYg1JJI9YBoJ44U8bkOkbCUCTnJqRjKhoXUxJX8oe4xbpcgn9jxNcfKyrcVykqWLfd2k8IKssOHsZUV+4BXkY2pQqPLSq7XEZp5IJ8fbt8r66mCw5vDvMENRq9Y3oRVp6atvOrQeTEXemcaC4t+7j6d08AUkTL2ksx5Cq7Y+48vW+F6OzeFK6+mhZQ6QvJK6rceJQAtxoAaPQo6bSDdSX+QxrlqOQIOTA0KVxAxF+B2S754qdvvDsEUkJygA9myUCLIbRO6oQQZNQmxzoSr04RUvmiK5BkkFkFWaTvmQiAOWdLfqlOE8XzjLfh593YFaSAIBpudDs1c/j9JFKZfgF1Y53ptwF0UnMfEkx7adAcuCSpWfDYKGG41D2izQt83xOrVjLEf4POvUNeLqRZMzWkCKm/xHIV1JO9h448cvgGnUXvCqcevL0lptkROuWZIGeLyTBSwTe2M7vsVdE0WUofWEMJH1FjeNUFz2LNPb7wgtr0KqufHcesyC+tNBR8BT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rg: sct-15-20-7719-20-msonline-outlook-15995.templateTenant X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10004.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 47361eed-ca3d-4d45-cc2e-08dd27164f50 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Dec 2024 08:04:52.9585 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: TY3PR01MB11113 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:297856 Archived-At: --_004_TYCPR01MB100042551D4F4777D84FB2011FB0F2TYCPR01MB10004jp_ Content-Type: multipart/alternative; boundary="_000_TYCPR01MB100042551D4F4777D84FB2011FB0F2TYCPR01MB10004jp_" --_000_TYCPR01MB100042551D4F4777D84FB2011FB0F2TYCPR01MB10004jp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable > From: Eli Zaretskii > Sent: Friday, December 27, 2024 11:38 PM > > + (let ((inhibit-interaction nil)) > ^^^ > This should be t, not nil. My apologies for posted the testing code (I toggled t/nil to test the behav= ior on my local). And I attached a new version of the patch, please help review again. Thank = you! --_000_TYCPR01MB100042551D4F4777D84FB2011FB0F2TYCPR01MB10004jp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
> From: Eli Zaretskii <eliz@gnu.org>
> Sent: Friday, December 27, 2024 11:38 PM
> > +  (let ((inhibit-interaction nil))
>                    &= nbsp;            ^^^
> This should be t, not nil.

My apologies for posted the testing code (I toggled t/nil to test the behav= ior on my local).

And I attached a new version of the patch, please help review again. Thank = you!
--_000_TYCPR01MB100042551D4F4777D84FB2011FB0F2TYCPR01MB10004jp_-- --_004_TYCPR01MB100042551D4F4777D84FB2011FB0F2TYCPR01MB10004jp_ Content-Type: text/x-patch; name="0001-lisp-vc-ediff-util.el-Remove-temp-files-on-kill-emac.patch" Content-Description: 0001-lisp-vc-ediff-util.el-Remove-temp-files-on-kill-emac.patch Content-Disposition: attachment; filename="0001-lisp-vc-ediff-util.el-Remove-temp-files-on-kill-emac.patch"; size=1269; creation-date="Sat, 28 Dec 2024 08:04:23 GMT"; modification-date="Sat, 28 Dec 2024 08:04:52 GMT" Content-Transfer-Encoding: base64 RnJvbSAyNTRiMDY5OTMzNjNmMjBmODJiNWYyOTE2ZTg5MGUzMGE0OTJiYTQ1IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBMaW4gU3VuIDxzdW5saW43QGhvdG1haWwuY29tPgpEYXRlOiBT dW4sIDE1IERlYyAyMDI0IDA2OjUyOjE3ICswMDAwClN1YmplY3Q6IFtQQVRDSF0gKiBsaXNwL3Zj L2VkaWZmLXV0aWwuZWw6IFJlbW92ZSB0ZW1wIGZpbGVzIG9uIGtpbGwtZW1hY3MKCi0tLQogbGlz cC92Yy9lZGlmZi11dGlsLmVsIHwgOSArKysrKysrKysKIDEgZmlsZSBjaGFuZ2VkLCA5IGluc2Vy dGlvbnMoKykKCmRpZmYgLS1naXQgYS9saXNwL3ZjL2VkaWZmLXV0aWwuZWwgYi9saXNwL3ZjL2Vk aWZmLXV0aWwuZWwKaW5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