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: Fri, 20 Sep 2024 09:21:57 +0300 Message-ID: <86ttea7sl6.fsf@gnu.org> References: <86a5g49pju.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34100"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 72696@debbugs.gnu.org, dario.gjorgjevski@gmail.com, monnier@iro.umontreal.ca To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 20 08:23:02 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 1srX2j-0008hc-0F for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 20 Sep 2024 08:23:01 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1srX2V-0006ED-23; Fri, 20 Sep 2024 02:22:47 -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 1srX2S-0006Dt-Fv for bug-gnu-emacs@gnu.org; Fri, 20 Sep 2024 02:22:45 -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 1srX2S-0005NQ-6s for bug-gnu-emacs@gnu.org; Fri, 20 Sep 2024 02:22:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-version:References:In-Reply-To:From:Date:To:Subject; bh=hvp7HHUwSk+hF0vzOPkz9ZG3IGO0fGBj8ajMwfeZ7xU=; b=ZjNdpZGyNQNd3YnUMj7+FpRQOWRbPI6cHlDW40oBCntpghuhTnYkHSrKrmGNC2hbhjZKHcAfVHoKI+wUOUbY9CMo5LuqWr+BbOTbTgFPciHXvGPSq0Hcrrqs3jfm/44wzAZznU8SzVUe5VD5h4ampJw/sndyv9jUSRJSNPG9uFhWgvastEzk9lkFCVhfO5Ymq1swTafyCJ7IxswSM2OiSQ/oQzmlncts/BYoNGWrhxO+59BaUdADOA64j3WFzkkKFPV+7DsD2CVOIdQ3gZqSEgOXOnhfFUSXVHDpKRUBGIUvZb9HiGqI5VbaRdnB73KkulsAHwAfeL/5bpJA6B3e6A==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1srX2k-00048N-Iv for bug-gnu-emacs@gnu.org; Fri, 20 Sep 2024 02:23: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: Fri, 20 Sep 2024 06:23: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.172681334615810 (code B ref 72696); Fri, 20 Sep 2024 06:23:02 +0000 Original-Received: (at 72696) by debbugs.gnu.org; 20 Sep 2024 06:22:26 +0000 Original-Received: from localhost ([127.0.0.1]:33898 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srX2A-00046w-DF for submit@debbugs.gnu.org; Fri, 20 Sep 2024 02:22:26 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:51098) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srX27-00046U-Pm for 72696@debbugs.gnu.org; Fri, 20 Sep 2024 02:22:24 -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 1srX1k-0005Jh-0U; Fri, 20 Sep 2024 02:22:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=hvp7HHUwSk+hF0vzOPkz9ZG3IGO0fGBj8ajMwfeZ7xU=; b=bcMiBGptT7V5S/a4Nz5Q qfTXCr03oP2ktIXoAP/8CLuCNTpuPcjUo9s8lEz8dfOdW5hvgOBN8f0HUfDGRoK9ikxxlhV4qmq6L dycjVKvoghfVXK+zHW5ovJmdusaW6XGIXRfHvpf3W5jidjhdadjGobPEIa8XiNH8BnoJ/Zyrcx8Ec dZhTjtNmbtpPEfHcq/kQ15b4bxxMaVh5GAsZSXelVyAqei/sgnywyqTvrWNY7MuD3imfzKlTd3rNU I/kzM22rqX54KrLR9oin9y3P51NrsCgHNUS7QnfHNmLD5+ltExPBEurarlUDjvx0ZD8HdgSjEQJ5D XSqvO/ANlQ5Ltw==; In-Reply-To: (message from =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= on Thu, 19 Sep 2024 22:47:14 +0100) 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:292084 Archived-At: > From: João Távora > Date: Thu, 19 Sep 2024 22:47:14 +0100 > Cc: Eli Zaretskii , Dario Gjorgjevski , 72696@debbugs.gnu.org > > On Thu, Sep 19, 2024 at 1:58 PM Stefan Monnier wrote: > > > > > João, is Stefan's patch okay with you? AFAIU, the same problem exists > > > on the emacs-30 release branch, so I'd like to install the patch > > > there, if you agree. > > > > Indeed, it belongs there. > > It should have been part of the original commit d7a83e23d47c. > > You can go ahead and merge it. I dont' know what it does > but i trust Stefan. Thanks. Stefan, please install on the emacs-30 branch. > Although I have to say that on the topic of synchronization failures > between Eglot and servers, I'm not sure that things have improved > much since this new layer of abstraction was added. By "I'm not > sure" I really mean that. Maybe pre-existing failures are just more > visible right now (because the new code warns and logs them), but > I have a nagging feeling that there are more of them. No hard > proof though. > > I also half-expected things to get fixed in Emacs proper, using > Eglot as testing bed, but I'm not sure that has happened either. > Anyway this is just a comment. I agree with your general feeling, and I think this case might belong to those pre-existing failures which track-changes uncovers.