From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#72696: Track-changes errors out when file is overwritten using Node.js's fs.writeFile (at least on macOS) Date: Sat, 07 Sep 2024 10:15:20 +0300 Message-ID: <86r09wylx3.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29042"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 72696@debbugs.gnu.org To: monnier@iro.umontreal.ca, Dario Gjorgjevski Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 07 09:17:15 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 1smph4-0007Q3-Ky for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 07 Sep 2024 09:17:14 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1smpgu-0006ge-8v; Sat, 07 Sep 2024 03:17:04 -0400 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 1smpgs-0006gI-A8 for bug-gnu-emacs@gnu.org; Sat, 07 Sep 2024 03:17:02 -0400 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 1smpgr-0004yN-UW for bug-gnu-emacs@gnu.org; Sat, 07 Sep 2024 03:17:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=nH/dMzxU3X9/UjZbcMGt8esdfFh6DCYY3nUDUJn2xUc=; b=r4PXWsIz87MvfIf0n0RLYNCf6ZoaSRWlbv5hJDG4MHg5p4Z3vsCq5B8GN8SVpCtXwbqtp572DWyPx+vGlBp74xy+c7ibe6Q4ybjT76v3u1wfHul6wmumLrvVB0bV1BxDNSCGsvNViTDXkynUddGSfBE2QIQ8Wx911V1qzksL3WktzGUmR3BwDRnSzaS2YziYWuoUZ9B98wJcWfxrv3ELkYbgsjTtcS/KdK/KVuqmy3HCgs1glWLYXU/jSggZXfggEOAmEelbHVbVgMKHTgpcyV1FaslzXGhIqrTGEn0m5SxQHFCKi7OXofkoetFppfNsaEjs6S0vnPx7t0SrHCX1ng==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1smpgs-0000Hn-Am for bug-gnu-emacs@gnu.org; Sat, 07 Sep 2024 03:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 07 Sep 2024 07:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72696 X-GNU-PR-Package: emacs Original-Received: via spool by 72696-submit@debbugs.gnu.org id=B72696.17256933641007 (code B ref 72696); Sat, 07 Sep 2024 07:17:02 +0000 Original-Received: (at 72696) by debbugs.gnu.org; 7 Sep 2024 07:16:04 +0000 Original-Received: from localhost ([127.0.0.1]:54628 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smpfw-0000G9-3P for submit@debbugs.gnu.org; Sat, 07 Sep 2024 03:16:04 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:51638) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smpfu-0000Fc-F2 for 72696@debbugs.gnu.org; Sat, 07 Sep 2024 03:16:03 -0400 Original-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 ) id 1smpfn-0004sy-Py; Sat, 07 Sep 2024 03:15:56 -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=nH/dMzxU3X9/UjZbcMGt8esdfFh6DCYY3nUDUJn2xUc=; b=almEYTFHpeEC CXdXEEhpjlYwa7mH9TqLGfhskaMsVB+D5VchjWu6O/0JjjOEo8il5NWrH+lQZFqSFFhi/jYZNykim yfLjsB0Esb7zQvNUWWWwttWF9RQL/do3RTj8Kjfmz0noeRymZGTkjkMxbl6Q8PjQLHPRqhGYmYuHY MXtDNN7qDvT1sJeh05QYEl3SxY8YN3Mp7SHIIzv3yCofvV9kR+KEiZ0YcpAgkI0RAvlv5uPNrysOj UdBq3zaThqHKuWUcY//JZsqYROUJUIH0zR3lTPpnqdtHKWurHV8udi/F18ezlumE7sztas3QrUA5V mE2dszrO52C4XgAhNLu0xw==; In-Reply-To: (message from Dario Gjorgjevski on Thu, 22 Aug 2024 13:27:06 +0200) 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:291347 Archived-At: > Cc: 72696@debbugs.gnu.org > From: Dario Gjorgjevski > Date: Thu, 22 Aug 2024 13:27:06 +0200 > > BTW, I am using Python for illustrative purposes only. This issue is > particularly annoying when writing JavaScript/TypeScript with a LSP > server and ESLint. Running eslint --fix for in-place linting makes > ESLint rewrite the files in exactly this way (see > https://github.com/eslint/eslint/blob/5dbdd63dc83428447e25f1fc1d05d8a69e3b006a/lib/eslint/eslint.js#L752), > which then makes the LSP server exhibit weird diagnostics and > necessitates a restart of Eglot. Stefan, any comments?