unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Mattias Engdegård" <mattias.engdegard@gmail.com>
Cc: 64821@debbugs.gnu.org, yantar92@gmail.com
Subject: bug#64821: 30.0.50; write-region errs when overwriting an already open file
Date: Fri, 28 Jul 2023 09:40:44 +0300	[thread overview]
Message-ID: <83y1j0k07n.fsf@gnu.org> (raw)
In-Reply-To: <7A5C2AC9-4416-4A21-87AB-2789A0318366@gmail.com> (message from Mattias Engdegård on Thu, 27 Jul 2023 21:49:12 +0200)

> From: Mattias Engdegård <mattias.engdegard@gmail.com>
> Date: Thu, 27 Jul 2023 21:49:12 +0200
> Cc: yantar92@gmail.com,
>  64821@debbugs.gnu.org
> 
> 27 juli 2023 kl. 21.02 skrev Eli Zaretskii <eliz@gnu.org>:
> 
> > Thanks, but I think we should make userlock.el robust in the face of
> > such applications.  How about the patch below instead?
> 
> That prevent the error but the test then fails since the modtime isn't actually changed.

That's okay: it just means we need to install your suggested patch to
the test as well.  Here, done.  Can you test and see that the test now
succeeds for you?





  reply	other threads:[~2023-07-28  6:40 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-24  7:12 bug#64821: 30.0.50; write-region errs when overwriting an already open file Ihor Radchenko
2023-07-24 15:11 ` Eli Zaretskii
2023-07-25  8:16   ` Ihor Radchenko
2023-07-25 12:19     ` Eli Zaretskii
2023-07-27 15:07 ` Mattias Engdegård
2023-07-27 16:31   ` Eli Zaretskii
2023-07-27 17:47     ` Mattias Engdegård
2023-07-27 19:02       ` Eli Zaretskii
2023-07-27 19:49         ` Mattias Engdegård
2023-07-28  6:40           ` Eli Zaretskii [this message]
2023-07-28  9:01             ` Mattias Engdegård
2023-07-28 12:08               ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83y1j0k07n.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=64821@debbugs.gnu.org \
    --cc=mattias.engdegard@gmail.com \
    --cc=yantar92@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).