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

Philipp Stephani <p.stephani2@gmail.com> writes:

> 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.

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





  reply	other threads:[~2022-03-07 17:03 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 [this message]
2022-03-08  7:55   ` Michael Albinus
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=87v8wp8zks.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=54294@debbugs.gnu.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).