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: Mon, 30 Dec 2024 02:07:51 +0000 Message-ID: References: <86h675s77g.fsf@gnu.org> <864j2py29u.fsf@gnu.org> <864j2ow93z.fsf@gnu.org> <875xn3jm1x.fsf@web.de> <87cyhavtlu.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37304"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , "74881@debbugs.gnu.org" <74881@debbugs.gnu.org> To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 30 03:09:29 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 1tS5Dk-0009Xa-CN for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 30 Dec 2024 03:09:28 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tS5DO-0002LZ-PE; Sun, 29 Dec 2024 21:09: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 1tS5DM-0002LD-4a for bug-gnu-emacs@gnu.org; Sun, 29 Dec 2024 21:09:04 -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 1tS5DL-0006aP-Qu for bug-gnu-emacs@gnu.org; Sun, 29 Dec 2024 21:09: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=Om3LlKGUMxsRaaLf0mUftwummWg+ukulY749OHecRLQ=; b=W/orkHqFuhJDFrO9/bRGCS3HK6sRPjY86OcWOPqdg6zu9A06FXeQ/yksgweq9+lJDLCUQOzNONv+r54HLLVugDybNUZPzbJGed8KC5HjGFYomwf1oGFcfEcuX95icZq+JKqI5m4OUr1OgGidbAMcWDd8MfkLrUfrg3eBtPMdzCd4QyyX3X3FXpm+2a64NpUzRLCc9CMK2hQkj/WHwartkauL77psA8mV8rN3uqlXd1F6icY/xSX29KDQztRSu83bG8VQXaw9C3vIDBkAG7QhYtaLQd320DsP2GyWGwMmheYmHCb00U0ODAKPGeYOGjPs7EVzqscRre+N4m4M/9Ft3g==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tS5DK-000211-GV for bug-gnu-emacs@gnu.org; Sun, 29 Dec 2024 21:09: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: Mon, 30 Dec 2024 02:09:02 +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.17355245027692 (code B ref 74881); Mon, 30 Dec 2024 02:09:02 +0000 Original-Received: (at 74881) by debbugs.gnu.org; 30 Dec 2024 02:08:22 +0000 Original-Received: from localhost ([127.0.0.1]:56744 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tS5Cf-0001zy-6T for submit@debbugs.gnu.org; Sun, 29 Dec 2024 21:08:21 -0500 Original-Received: from mail-japanwestazolkn19010011.outbound.protection.outlook.com ([52.103.66.11]:4555 helo=OS0P286CU011.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tS5Cc-0001zh-2Z for 74881@debbugs.gnu.org; Sun, 29 Dec 2024 21:08:19 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=bYr/+uXVUQ7LZMsI7eC6FGYdAejj1p0zUrzlL3i2sQkQghoGpuRY/2usIu7GwxXDgA6FC/6MxN5xH0+/J8wOnmNZUoNna9IB7LJjEvZU85nVEH/0yHGAMg1xIuzCiwLzdKhuepsFc8Dw27Qa2hKdKVzfP6aZ65qAuLMiKdVof4C/3dMRsJ2zNIX608loWvnkxUIsv2sox+/wMF/lT5wjCacb/gUvbO2qTpzumGeKS6qCiPFVhKF1ZRlWPVhsDeDmXnFTQacYD0TcizSqONfaxVEkMfZmY8QyBKBgle4nXH+0fqW7dUroIyLkZLtv3PFsJpOU8Htn+Mt390i6JrmwaQ== 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=Om3LlKGUMxsRaaLf0mUftwummWg+ukulY749OHecRLQ=; b=DEVXpgB5DWCHvWO6MFvmzr0TRkEW3B1h3tnGZE7msL9hzCvL6M5Jwh7UBZfQ7MZ1nYoIlRgkBoXCDHMHh/1eNehoEM0TS01RiP2VJLHhrmX+Ky07jJwhtOTkXo9j+FruY7q7JcEYoTzdlwZlBHpL/wzSz5yKIueasQTE9VpAcMssIlBWS5cKhpRux2e+g3NGTm2cQGnDH9KKzxQxvAj/tQn35nuNoUJGf84U6dUMTwKi5L4+1uWN5DwQ6tOb0vY+106gIKxFIdKXXOafBIaJY4AOvf6glKa8WXMIqo57bjzrU8w0+qN6cMcY+gmPfZwhXZfjNL8Za5U8oREKEQ/XxQ== 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=Om3LlKGUMxsRaaLf0mUftwummWg+ukulY749OHecRLQ=; b=ZslUN/5pVXofO58K9ikdiD7nr4kSTX0tYbSVRVYz2IaSo2HtrvDPum3xU7W+cSUVC3wZleAIxUchsGVb9JQ2OSjOaIApgqUDwMjVsc99SqrgPvzDWFYKxfXxzi2x9qoq/iGf1Arpp4bhzobSvsgoZsR33wnX7Fl2CiPA//bCWt4M1Iiu4fAzRJHCm9ZBvlvsfT6v7Hr6VjJzSIlLTWqT6fTXQIjvBam6/UKYwK4Z5kKNLUqs37ItkUaHl6WsKQqV5klNXzjNYsl3L5/DUaI6uGVtvB+So48INjt0IgMXaUL1AT2ymSBRxfK/cAM8JrpoK/Qyn+4XP5c6XPMP+VeB1Q== Original-Received: from TYCPR01MB10004.jpnprd01.prod.outlook.com (2603:1096:400:1e8::14) by TY4PR01MB15178.jpnprd01.prod.outlook.com (2603:1096:405:26b::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8293.19; Mon, 30 Dec 2024 02:07:51 +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; Mon, 30 Dec 2024 02:07:51 +0000 Thread-Topic: bug#74881: 31.0.50; [PATCH] * lisp/vc/ediff-util.el: Remove temp files on kill-emacs Thread-Index: AQHbTrQ6C9gBTPBRPkO0xoraS9YsXLLm8oALgACRi4WAEiBNpoAAK+jtgACcYWyAAOzfEIAABgUagAEqgPuAAAjhSYABhi8igAAEefQ= In-Reply-To: <87cyhavtlu.fsf@web.de> Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-traffictypediagnostic: TYCPR01MB10004:EE_|TY4PR01MB15178:EE_ x-ms-office365-filtering-correlation-id: c442d211-dfeb-423d-90d6-08dd2876c3d2 x-microsoft-antispam: BCL:0; ARA:14566002|8062599003|7092599003|15080799006|8060799006|15030799003|19110799003|461199028|440099028|3412199025|102099032; x-microsoft-antispam-message-info: NSNYZf3CIvxPB8EEmkIkx9WuzYR2yPG2bo+/oJe2icj2uUPpSfxiA6Rnu5xaWUm4LGsTdEaO0fjlfbjkuDrE2vDVdIadIqBCwfe3OiyED92olrs6/3qC1Am7cHGkt0PY0AFy2AlQWIgJex9134PG1GDaOg0MjUd8gKxod//jtcLdfctk7iaR4+uJUZdLfjMAwDxNgnNFI+p2lYqUoAMrcx5PBZlxZcSj45Cn3Ae3//ekZrjiuaxZNtn3oVskL1B7bKYBgOQAkPsV2JG+eWUhTAHJFQ9GIV8o2gqfSolCGAb6koxlLhb0b0YSM1cltRH/68LDvif9VA2jKeSEwGeWf9eMxz+0FJSSx3owCRI7lO7T/aZta8OUXOqOEROC020UTWpXppItp5KEq2JLQCSk8SSVb3oo5+1hbsvs/JCIX6wJ+SAHCzs1QfuGjP5WQv0ulk/NgxzWxnVTd99LXCz5BeWbRHL6pTNNVD3UBPP3ymbRmlXR4aEeyVDncqPAWHIzxcb8jFcIXVjZHeFkVk0+2OLpgn0Vp55ay/j5v1ucdNY102QMxkY7ssvR4Rnj8q4XX4B1Ee4fl8tROA87b/Oca0BwsqrJJVqQapY5rWHBGhRK97Rt8qPzsrZKz5nJjUXLVXuOyNlm9eZc5SDjBAnvfQOIy+3AMNWHr8ipjINGzfm7sijyvsWAoGA9WMvpiVp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atorOrg: 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: c442d211-dfeb-423d-90d6-08dd2876c3d2 X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Dec 2024 02:07:51.2966 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: TY4PR01MB15178 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:297980 Archived-At: > From:=A0Michael Heerdegen =0A= > Sent:=A0Sunday, December 29, 2024 05:37 PM=0A= > ...=0A= > I would expect it to work.=A0 I found one in Gnu Elpa, in "subed.el".=0A= > ...=0A= > Yes, this is what I had in mind when the local hook can't be used.=0A= =0A= Hi Michael, thank you for comments.=0A= =0A= And I had tried adding the function to kill-emacs-hook with "local" flag bu= t it does NOT work with kill/pkill emacs during a ediff-session, I don't k= now the "local" kill-emacs-hook behavior is a feature or bug.=0A= =0A= So the previous patch maybe the suitable one for current situation, it avoi= d looping all buffers and almost won't affect any user experience. Thanks=