From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Nicolas =?UTF-8?Q?B=C3=A9rtolo?= Newsgroups: gmane.emacs.bugs Subject: bug#41242: Port feature/native-comp to Windows Date: Thu, 14 May 2020 13:24:02 -0300 Message-ID: References: <834ksi60zn.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="34509"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 41242@debbugs.gnu.org, Andrea Corallo To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 14 18:25:16 2020 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 1jZGfc-0008rQ-LT for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 May 2020 18:25:16 +0200 Original-Received: from localhost ([::1]:38840 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZGfb-0004C8-KO for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 May 2020 12:25:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59278) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZGfO-00042F-RE for bug-gnu-emacs@gnu.org; Thu, 14 May 2020 12:25:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51250) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jZGfO-0007qr-F7 for bug-gnu-emacs@gnu.org; Thu, 14 May 2020 12:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jZGfO-0000PN-BR for bug-gnu-emacs@gnu.org; Thu, 14 May 2020 12:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Nicolas =?UTF-8?Q?B=C3=A9rtolo?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 May 2020 16:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41242 X-GNU-PR-Package: emacs Original-Received: via spool by 41242-submit@debbugs.gnu.org id=B41242.15894734631514 (code B ref 41242); Thu, 14 May 2020 16:25:02 +0000 Original-Received: (at 41242) by debbugs.gnu.org; 14 May 2020 16:24:23 +0000 Original-Received: from localhost ([127.0.0.1]:34563 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZGek-0000OL-Kf for submit@debbugs.gnu.org; Thu, 14 May 2020 12:24:22 -0400 Original-Received: from mail-ot1-f54.google.com ([209.85.210.54]:33910) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZGei-0000O7-W8 for 41242@debbugs.gnu.org; Thu, 14 May 2020 12:24:21 -0400 Original-Received: by mail-ot1-f54.google.com with SMTP id 72so2851025otu.1 for <41242@debbugs.gnu.org>; Thu, 14 May 2020 09:24:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=V76+5tk+mubLdVX27TFzEqElmhkGn9GxiXXp/FZwZg8=; b=hVHu+OV8QbsfacrgWV/lyWhT2mmP4+Zv8y7r4wYcMuhMkzP7+OfvqKZQVWVACZt+RS NKntzukT98+Vg0ki3xjF5XNAzqixtfS1I6ZFR7Y/2arKJsO44cuWC+LhdQz3qWZ2a7tN pBTrKemCqcbg7sSfNKTLF23Ede4peNgDzRFNX9vfnCc3Z9snE0G9NYkVsx9GyXm1YjZZ WZDwAbUDiTd5+13JNNQlatVIS+JiOxivjO4UK/LTD9SS5sxQ2vTcUGFLm4QC2v5NZyAP dVoShmvWeb0v5OXzZg8ueyw4IjcvZUpK1Yyn84ALWykx9RLPYZDVapyxN2D2Q673vDi+ kfoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=V76+5tk+mubLdVX27TFzEqElmhkGn9GxiXXp/FZwZg8=; b=tFqi2+d9wLLkM3E6i9ALeAma7JpOzHB+Ty6TDvBRmWoDUGe/NWbJkWpeTxWNLoYhid OJq7KwnXVP/QVjnteTTK6WHNyMV8AofDN87ElQWVsxK5EBfnBE+fAuwbyBP74IP4Rif3 TTvo/jcfOfnEumGSkSa409HKtZB77OyLDuJKrQtJ4GX+eaZuM6w/EPFf7VFokZLZaGqx IdaauNT+9mNChRenkN+ZYfEBLUUwiHdh+Vd/pwAGDs091+Ilw+Nuhst4vOzMg3a4rDhN 0XvkOoq0zKqMqTLvka2DCSXNEnOIm95zr/2cZd4/Uy8s4yzvvgMK45y5Rs9StcLgEfHh 1GmQ== X-Gm-Message-State: AOAM5326vKa6pC1uW452FFH0UFomUO3sOTybG67qQGFsdLFyJaOhgsOd cY7F0diwwvyIeydFEE6X6WPOptuVRIIYAuAHIBU= X-Google-Smtp-Source: ABdhPJy7xzQhdwS63xGihMiEcVrShT95OmTOI7L4N7R7t4ZPcP6KsMa6ZpsPThzNtWiNqw42Zd71cdz33AKTxS0Bk2g= X-Received: by 2002:a9d:3988:: with SMTP id y8mr3961149otb.352.1589473454521; Thu, 14 May 2020 09:24:14 -0700 (PDT) In-Reply-To: <834ksi60zn.fsf@gnu.org> 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" Xref: news.gmane.io gmane.emacs.bugs:180219 Archived-At: > And if push comes to shove, we could use a Windows API > that causes a file to be deleted when the last handle on it is closed, > but that would add complexity, so I think we should try easier ways > first. If you are talking about FILE_FLAG_DELETE_ON_CLOSE: I have tried that in the patch I have for the third suggestion. When Emacs closes normally the temporary files are not deleted. I don't know why that is. It is as if the LoadLibrary function disabled the delete on close flag.