From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#23033: 24.5; Lock file uses the same extension as the file it's locking Date: Fri, 18 Mar 2016 22:09:58 -0400 Message-ID: <8jy49fnrpl.fsf@fencepost.gnu.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1458353478 21559 80.91.229.3 (19 Mar 2016 02:11:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 19 Mar 2016 02:11:18 +0000 (UTC) Cc: 23033@debbugs.gnu.org To: Michael Sloan Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 19 03:11:10 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ah6M8-0000Bv-EK for geb-bug-gnu-emacs@m.gmane.org; Sat, 19 Mar 2016 03:11:08 +0100 Original-Received: from localhost ([::1]:47178 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ah6M7-0002RO-D0 for geb-bug-gnu-emacs@m.gmane.org; Fri, 18 Mar 2016 22:11:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49010) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ah6M2-0002PA-VX for bug-gnu-emacs@gnu.org; Fri, 18 Mar 2016 22:11:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ah6M2-0000WM-3z for bug-gnu-emacs@gnu.org; Fri, 18 Mar 2016 22:11:02 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55994) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ah6M2-0000WI-0a for bug-gnu-emacs@gnu.org; Fri, 18 Mar 2016 22:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ah6M1-0002KI-VC for bug-gnu-emacs@gnu.org; Fri, 18 Mar 2016 22:11:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 19 Mar 2016 02:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23033 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23033-submit@debbugs.gnu.org id=B23033.14583534098881 (code B ref 23033); Sat, 19 Mar 2016 02:11:01 +0000 Original-Received: (at 23033) by debbugs.gnu.org; 19 Mar 2016 02:10:09 +0000 Original-Received: from localhost ([127.0.0.1]:53121 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ah6LA-0002JB-S3 for submit@debbugs.gnu.org; Fri, 18 Mar 2016 22:10:09 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57945) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ah6L9-0002Ix-IF for 23033@debbugs.gnu.org; Fri, 18 Mar 2016 22:10:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ah6L3-0000OK-Ik for 23033@debbugs.gnu.org; Fri, 18 Mar 2016 22:10:02 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36213) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ah6L1-0000O6-Ur; Fri, 18 Mar 2016 22:09:59 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1ah6L1-0003Xj-7E; Fri, 18 Mar 2016 22:09:59 -0400 X-Spook: SAFE Consul San Diego Irish Republican Army Border Narco X-Ran: 9l[~Ct||rZCc.'Q|[5LE)`K?+As*\&Jbc5=7a,Q)dU?XbD.}P]p^jTS&x<_{5+C (Michael Sloan's message of "Wed, 16 Mar 2016 14:35:31 -0700") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:115068 Archived-At: Michael Sloan wrote: > Lockfiles help the circumstance where multiple emacs processes are > editing the same file. The lockfile for 'File.hs' gets the name > '.#File.hs'. This means that naive enumeration of all the files in the > directory with the extension '.hs' will also yield the lockfile. Many > tools have behaviors that rely on enumerating all of the files which > have a particular extension, reasonably assuming that the user put them > there. It's very long-standing behaviour. So that we can assess how big the issue is, can you give some examples of the tools that have issues with this? As you say, it seems naive for a tool to simply find all files with a given extension, including dotfiles that are non-existent symlinks. > In particular, for me this caused the following issue: > https://github.com/commercialhaskell/stack/issues/1897 Which you fixed the same day in the tool in question, right?