unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Richard Copley <rcopley@gmail.com>
Cc: 43535@debbugs.gnu.org
Subject: bug#43535: File locking on Windows
Date: Sat, 31 Jul 2021 15:05:15 +0200	[thread overview]
Message-ID: <87bl6ihbw4.fsf@gnus.org> (raw)
In-Reply-To: <CAPM58ohmVVzjm9s8py3J=FmXQ6sNpPxDeUPhJ2SE5RGcfuJKxw@mail.gmail.com> (Richard Copley's message of "Sun, 20 Sep 2020 18:32:50 +0100")

Richard Copley <rcopley@gmail.com> writes:

> Parse failure in "current_lock_owner" isn't handled well. You can
> force the same issues to occur on a non-Windows system by deleting the
> ".#x" symlink and recreating it with a bad target.

I tried reproducing this in Debian:

cd tmp
touch foo
ln -s noexist .#foo

and then editing and saving /tmp/foo:

Warning (unlock-file): Unlocking file: Invalid argument, /tmp/foo, ignored

So a warning pops up here...  which I think is reasonable?

Do you see something different?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2021-07-31 13:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-20 15:54 bug#43535: File locking on Windows Richard Copley
2020-09-20 16:03 ` Eli Zaretskii
2020-09-20 16:14 ` Eli Zaretskii
2020-09-20 17:32   ` Richard Copley
2021-07-31 13:05     ` Lars Ingebrigtsen [this message]
2021-07-31 13:36       ` Richard Copley
2021-07-31 14:15         ` Lars Ingebrigtsen
2021-08-29 20:17           ` Lars Ingebrigtsen

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=87bl6ihbw4.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=43535@debbugs.gnu.org \
    --cc=rcopley@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).