unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: Philipp Stephani <p.stephani2@gmail.com>, 54294@debbugs.gnu.org
Subject: bug#54294: 29.0.50; Emacs can't unlock files with --no-build-details
Date: Tue, 08 Mar 2022 08:55:07 +0100	[thread overview]
Message-ID: <87mti0x4is.fsf@gmx.de> (raw)
In-Reply-To: <87v8wp8zks.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 07 Mar 2022 18:03:31 +0100")

Lars Ingebrigtsen <larsi@gnus.org> writes:

Hi,

>> emacs -Q -batch --no-build-details -eval '(write-region "" nil "/tmp/test.txt")'
>>
>> /tmp/.#test.txt still exists.  This is probably because the function
>> `current_lock_owner' doesn't handle the case where `system-name' returns
>> nil (it assumes the file is remote in that case).
>
> Yup.  I've now made the obvious fix in Emacs 29.

I've applied a similar patch for Tramp, pushed to master. Will also be
available with Tramp 2.5.2.3, the next GNU ELPA release.

Best regards, Michael.





  reply	other threads:[~2022-03-08  7:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-07 16:49 bug#54294: 29.0.50; Emacs can't unlock files with --no-build-details Philipp Stephani
2022-03-07 17:03 ` Lars Ingebrigtsen
2022-03-08  7:55   ` Michael Albinus [this message]
2022-03-07 19:30 ` Glenn Morris

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=87mti0x4is.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=54294@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=p.stephani2@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).