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: Fri, 27 Dec 2024 17:34:31 +0000 Message-ID: References: <86h675s77g.fsf@gnu.org> <864j2py29u.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="_004_TYCPR01MB100041872F966B7D923610108FB0E2TYCPR01MB10004jp_" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25322"; 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 Fri Dec 27 18:35:20 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 1tREF5-0006QV-RV for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 27 Dec 2024 18:35:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tREEt-0007kh-3t; Fri, 27 Dec 2024 12:35:07 -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 1tREEp-0007hp-EJ for bug-gnu-emacs@gnu.org; Fri, 27 Dec 2024 12:35: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 1tREEo-0007b6-GH for bug-gnu-emacs@gnu.org; Fri, 27 Dec 2024 12:35: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=KiCYAej7XECiDtmBLLlG+myy8OdGBlwUTF3sOAZ1Qpc=; b=lIyHKk704urpAbdIZTiGw5ot+uGxEDKVoFbp/5ZGDSIcV6fmQKh1qDpPH70ubIvdNTp+yc6NEmSDVinHrIAINXbPL306Rxja50YZNFLAi2CkriHTuXmy6rjmN91wb962iMbXLTa0vBm+AQFkpYw6BGgFaMcnDCScSVaIv/jm99YSNSb8piZtlIpkGuesqLb4Xde2p1rR+wpFi49F+Q8zKa0WsWIyBjbWtvY6b00oRP1lqYdLMmoD4401BI4/Ozrd2eJIaPauDIBx7FAKlTF76K6+16Fo+1UmuvpYvGiK+BPw8RHbL4M8Xa3qQLXSVduhFG2KAFgcilyWMZS5BWwQeg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tREEo-0005Pe-0D for bug-gnu-emacs@gnu.org; Fri, 27 Dec 2024 12:35: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: Fri, 27 Dec 2024 17:35: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.173532090120803 (code B ref 74881); Fri, 27 Dec 2024 17:35:01 +0000 Original-Received: (at 74881) by debbugs.gnu.org; 27 Dec 2024 17:35:01 +0000 Original-Received: from localhost ([127.0.0.1]:47431 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tREEm-0005PI-Rk for submit@debbugs.gnu.org; Fri, 27 Dec 2024 12:35:01 -0500 Original-Received: from mail-japaneastazolkn19011027.outbound.protection.outlook.com ([52.103.43.27]:15527 helo=TYVP286CU001.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tREEj-0005Ot-Qd for 74881@debbugs.gnu.org; Fri, 27 Dec 2024 12:34:58 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=aqO7vF+aqB6BUIajvL4Igz2VyKUvMq4TBRIAAThGKlXLbicL/Isdfqo6+WjdIQuDfYxh4edR4RwEfN1GzM5DjR9kPOTx7ox4HCqwhek+gcB5VS8Wp68kMUdtPcbWmqnEtOiXCbEZVCDdHWe2r6DNldpMi26gCZfRuaRGfy7rLSGUWTC08Pnhm5EUmjm6kFeUqVhOmsmKB8iSO5g4+xZgwFCBcjjcUTvcB5y6gJTgvmy2PdT1QvjB51X1/q36bxxzGd6YoSHUV7e11aYucGg3s02PydR2zeZAJ3FRWlT26gX3X7a+u9WsVPgMH+8ab/lpZcue320rs4aRlyDDYWkjTw== 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=9vv5lnqOI57jMn7tNNrVbYwVDVUia+6l0HHpg8rQT/o=; b=cv6DbaHOtxZmtIRddsUhqBDMkzi076b6sthW5oy0NPHHPrqFUStFY0DmKabnKoQhDcHLMBz6Y9VLNUm97O6az5n34vwpsAnd/THdzfEUH8aNKpO1woR59RrUDH7+VNHSsPunhcjLM3ziczTS1kRqy8Mb7GzeLDgERiapBiUs3LKb1Z0SDGIfW1HbP0FyQQypGcb7OSuWTBccmNQxIBzzavBP8L6PXHMrTCRGyElCcfwntT0RP+5kcG83bcI8pRztGQ32EhYliIhn6MdOemrdbduJd/Rac3lWQgAW0GOJwLM0NmJZpZvwWjh4VpsQfdJXZORNcTvCa20RQaAkJ+VIQA== 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=9vv5lnqOI57jMn7tNNrVbYwVDVUia+6l0HHpg8rQT/o=; b=APqLgLrCDpybK8864jcGV6rHTdKyhCv+8GyqljceH58MEpu78+6w5on16BdkGcIrH83qtBJ7qa6RBaDr7HgMM9VQpvTSXXifgFwmBO/jKbVeZ0b88c+twfXmAXDifmammw0dv+wopBIOrXB0kfy9gWmRD8eC6lGD3zHSlQnjERjHlslXXz3X2kdFi9fsMPgSmcz4TE43IW+3vrd6lq1SAiBV5Uv57Cfqc97VJc7fxGw3zU9Ja29eaBeoXpd7CRv88hFwXlaQ64uoFOACASVmtIxfETAomIcH3dmckZPGPa0O2TDtYTQbNJaJAngvx5N8Fv7MyNl3yVSZQU0zdcMZ3A== Original-Received: from TYCPR01MB10004.jpnprd01.prod.outlook.com (2603:1096:400:1e8::14) by OSCPR01MB13313.jpnprd01.prod.outlook.com (2603:1096:604:352::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8293.16; Fri, 27 Dec 2024 17:34:31 +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; Fri, 27 Dec 2024 17:34:31 +0000 Thread-Topic: bug#74881: 31.0.50; [PATCH] * lisp/vc/ediff-util.el: Remove temp files on kill-emacs Thread-Index: AQHbTrQ6C9gBTPBRPkO0xoraS9YsXLLm8oALgACRi4WAEiBNpoAAK+jtgACcYWw= In-Reply-To: <864j2py29u.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_|OSCPR01MB13313:EE_ x-ms-office365-filtering-correlation-id: aa5ef5a8-1d14-49a1-9379-08dd269cb908 x-microsoft-antispam: BCL:0; ARA:14566002|19110799003|15080799006|15030799003|8060799006|8062599003|461199028|7092599003|6092099012|3412199025|102099032|440099028|13095399003; x-microsoft-antispam-message-info: CKtsETVhUjSrDicpFdAbuugS8pMrej6fmY6KCLI38KXeo9dNeVsJGRnuvr4mHkgf2nBaTa7zjdUaxphW+zOIjOUnQiqfI59RYEbGNzsO8VGE/Dx7a8wKErkxGVnivWZGkO9FOW5o0AAFRG87CnTad7RhOEEn8v5ea5Ycwz2kf03wwYVx/5Zj0xHSUrSHh4kU7NjIbipb7IPkUtih/bgqKbzXV+QRQ7a2TjjKhtSDRazywWxVefBOWxDvwlbcH1Rx1vNShaiNbs9x2bkth0XX/fmBoToOL/6eG1APluMxvENynavMM8PfrRaVISR7TzoQaqdh3CtRHsj71z1JM8D5SZkDTZX0CXJXzzYN0HQhDvfwGvNwlj78sdHNY9X/KoQriBfF3cSovKGEkFvMpxoTKWbkIoeSgBMOgnvR8j64uzyFcSweBTIK5Q259clj878hc50hQR5dLc+SHAiY5m218MkQ99or0MYAvLDrLJ2y879Jw/u8EFvHvqX4x8D5PqxyBS/kVghLgxeAy1+KCsdkMIYOvcR61oNMVZlbY7urvWFyeNtFKK6QLor9sfS7lnXoOjHlUcIUSuCthamtPOq6hfrrXxE7R8R8rFZ4i50KGwvqN2tHtmyV2JBTn5HHcUcnpHaLYACSYllRjmNC+4JTPJ6QuTDVfH62oT2nedfPxG1oj4IvZIsl4vaBrDLP5YW1rWQb5aXGFgBrOsAmjeM8Fi+Wp9et0Jso0UCeKcMZuBaO9iGJAOMyQSrHEc1rx YK0+JsZhkk7dkG3BvBL3GW/tu4TPs+XE+ZG3hi6DonoUk/j0cJvRLqXthGIv0+ZQKDIYsqMPS2c98K1o0105t7+cFk1/Z10EcZ x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: ewHmS9icAL3TmL1B0mjdrZ0tlyjsSyvkPZA1OGGCBjAL5eNwxfT7nBPEEuyRZM1eyR9neqzOPA+LVqh4bHQKYCdQY/UEnU1K3QIf0XZNDciYHQ5/tF76FqwyFvopgU6hP9G6Mr161Hyzpw92pzu+RZpWTVZ+GDh25ZDTAXMLO/zFQDqR1wjzYVpOqAPpEah55Ap46lIklnTIi+uvjjKEhj5Ju3TjUUCJ3LbVz1djUmMPRHTAHVTZE7MzuiN79k0QTvUrdUZq4ZXL4xhA91NPyZUugFcopY4s1RULjbKabTw6P0A6t3DgMWyWS6VeCfzE+ITHp01AFwigW7VsDttCuLELyUcrQztqqxdq8IAh+O3hNF/q15642d+kG8lQPa3IsavxoVlt0g+Z1wSp9nJdP/HLo6C7bdNlXBAXvIzQDiI1sTN9LjGm4Uwq96SZGr7wrSQkr3iHTpKScz9BlA8UgERzcq7RtyYjBwLCfvuRHd4sQ1qRa2FyuROyxrxNCN1a9/eSIpPaEcX3HjZuQDiEeKuV6DnSGb4gciaAPav3bZmthV4OINMJ1JAMx2P4RmDw3JZQH15TvehulQdxutVxuW0CKzpuWKqNK3lIHdWwPjjSqzSmKXXcoRSd816RXLmWTdoMF5StKprDysLEy4MygwZkJpjUOqlBupN5rLWDy+hRscxnxEbN5+uoB6xC+Yo4hPPf1xhjNQwwfp7xYMdepT182geqWXXR/4QXF8I4uIGp62tO8Rir3cEGZA 5OdVX8c23pD8XbmTBGs6oV5rEaE7Hb/c6/YtmmW8/wf0xvft0tcHb9Dt+4kB/zy8zkuoOOZCQSi9mFug1JRuvtf8W9sD27pyuD X-OriginatorOrg: 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: aa5ef5a8-1d14-49a1-9379-08dd269cb908 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Dec 2024 17:34:31.7273 (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: OSCPR01MB13313 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:297837 Archived-At: --_004_TYCPR01MB100041872F966B7D923610108FB0E2TYCPR01MB10004jp_ Content-Type: multipart/alternative; boundary="_000_TYCPR01MB100041872F966B7D923610108FB0E2TYCPR01MB10004jp_" --_000_TYCPR01MB100041872F966B7D923610108FB0E2TYCPR01MB10004jp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable > From: Eli Zaretskii > Yes, probably. For a good measure, I'd also bind inhibit-interaction > to a non-nil value, to make sure we never ever ask the user anything > inside ediff-delete-temp-files. Sure, that's will be more reliable. I had attached the modified patch, plea= se help review again. Thank you ! --_000_TYCPR01MB100041872F966B7D923610108FB0E2TYCPR01MB10004jp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
> From: Eli Zaretskii <eliz@gnu.org>
> Yes, probably.  For a good measure, I'd also bind inhibit-interac= tion
> to a non-nil value, to make sure we never ever ask the user anything > inside ediff-delete-temp-files.

Sure, that's will be more reliable. I had attached the modified patch, plea= se help review again. Thank you !
--_000_TYCPR01MB100041872F966B7D923610108FB0E2TYCPR01MB10004jp_-- --_004_TYCPR01MB100041872F966B7D923610108FB0E2TYCPR01MB10004jp_ 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=1271; creation-date="Fri, 27 Dec 2024 17:34:03 GMT"; modification-date="Fri, 27 Dec 2024 17:34:31 GMT" Content-Transfer-Encoding: base64 RnJvbSAzOWIyM2YxYjNmM2Q1ODU2OWI3ZmE0NzQyZThmZDI0ZTJjYzcwNzFmIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBMaW4gU3VuIDxzdW5saW43QGhvdG1haWwuY29tPgpEYXRlOiBT dW4sIDE1IERlYyAyMDI0IDA2OjUyOjE3ICswMDAwClN1YmplY3Q6IFtQQVRDSF0gKiBsaXNwL3Zj L2VkaWZmLXV0aWwuZWw6IFJlbW92ZSB0ZW1wIGZpbGVzIG9uIGtpbGwtZW1hY3MKCi0tLQogbGlz cC92Yy9lZGlmZi11dGlsLmVsIHwgOSArKysrKysrKysKIDEgZmlsZSBjaGFuZ2VkLCA5IGluc2Vy dGlvbnMoKykKCmRpZmYgLS1naXQgYS9saXNwL3ZjL2VkaWZmLXV0aWwuZWwgYi9saXNwL3ZjL2Vk aWZmLXV0aWwuZWwKaW5kZXggNjAzOGYzZWFlMzAuLmU0NmRjNzAyMThiIDEwMDY0NAotLS0gYS9s aXNwL3ZjL2VkaWZmLXV0aWwuZWwKKysrIGIvbGlzcC92Yy9lZGlmZi11dGlsLmVsCkBAIC0yMTMs Ni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CPR01MB100041872F966B7D923610108FB0E2TYCPR01MB10004jp_--