From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joseph Turner via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#65666: Lockfiles break package-vc-install-from-checkout Date: Fri, 01 Sep 2023 16:43:27 -0700 Message-ID: <87ledpmp8f.fsf@breatheoutbreathe.in> References: <83edjicui8.fsf@gnu.org> <87edjiop5o.fsf@breatheoutbreathe.in> <87o7imvywn.fsf@posteo.net> Reply-To: Joseph Turner Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28443"; mail-complaints-to="usenet@ciao.gmane.io" Cc: adam.porter@47ap.net, Eli Zaretskii , 65666@debbugs.gnu.org To: Philip Kaludercic Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 02 01:47:14 2023 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 1qcDr8-0007CV-Fw for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 02 Sep 2023 01:47:14 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qcDqr-0000Ok-SZ; Fri, 01 Sep 2023 19:46:58 -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 1qcDqn-0000OC-BR for bug-gnu-emacs@gnu.org; Fri, 01 Sep 2023 19:46:54 -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 1qcDqn-0005oS-3n for bug-gnu-emacs@gnu.org; Fri, 01 Sep 2023 19:46:53 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qcDqw-00075e-Fj for bug-gnu-emacs@gnu.org; Fri, 01 Sep 2023 19:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Joseph Turner Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Sep 2023 23:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65666 X-GNU-PR-Package: emacs Original-Received: via spool by 65666-submit@debbugs.gnu.org id=B65666.169361199227211 (code B ref 65666); Fri, 01 Sep 2023 23:47:02 +0000 Original-Received: (at 65666) by debbugs.gnu.org; 1 Sep 2023 23:46:32 +0000 Original-Received: from localhost ([127.0.0.1]:34493 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qcDqR-00074p-Un for submit@debbugs.gnu.org; Fri, 01 Sep 2023 19:46:32 -0400 Original-Received: from out-235.mta0.migadu.com ([2001:41d0:1004:224b::eb]:34095) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qcDqP-00074e-Un for 65666@debbugs.gnu.org; Fri, 01 Sep 2023 19:46:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=breatheoutbreathe.in; s=key1; t=1693611977; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=VooA+e3VoCumsY+Ac+mGm89OfYTv5lvjaQOZspcoZ7k=; b=g0Kd3lDYNM1nuKCLbNJR6Lz8+UUNZYMmBpeCVtpphGq3e0qrIcKgR3GmGAbmcoS5N/sjEV e7YISISkSkwcZZPpiKZkf5rSqc0cBBsBiIV0py8pVVIunHYWHahRm6WafxHEu4dS0UVkSA z4d5MkvJJgFz4js9VSg3892BA/RSJaw= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. In-reply-to: <87o7imvywn.fsf@posteo.net> X-Migadu-Flow: FLOW_OUT 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:268944 Archived-At: Philip Kaludercic writes: > LGTM, but I wonder if there is a better way to detect lockfiles > specifically? If not, I can imagine that just using `file-exists-p' > would a too broad check, in the sense that it could make it difficult to > find other issues? We could use a regex like (unless (string-match-p (rx string-start ".#") file))