From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Michael Sloan Newsgroups: gmane.emacs.bugs Subject: bug#23033: 24.5; Lock file uses the same extension as the file it's locking Date: Sat, 16 Nov 2019 16:23:14 -0700 Message-ID: References: <8jy49fnrpl.fsf@fencepost.gnu.org> <87pni3t129.fsf@marxist.se> <83eeyicxh7.fsf@gnu.org> <875zjutq51.fsf@marxist.se> <83imnta3y6.fsf@gnu.org> <83d0e19zcm.fsf@gnu.org> <834kz695qd.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000c8402b05977f0173" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="32200"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Stefan Kangas , 23033@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 17 00:24:30 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iW7Qb-0008El-TI for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 Nov 2019 00:24:30 +0100 Original-Received: from localhost ([::1]:50578 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iW7Qa-0001Ef-5a for geb-bug-gnu-emacs@m.gmane.org; Sat, 16 Nov 2019 18:24:28 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41002) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iW7QD-0001E7-5i for bug-gnu-emacs@gnu.org; Sat, 16 Nov 2019 18:24:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iW7QA-0007z3-8P for bug-gnu-emacs@gnu.org; Sat, 16 Nov 2019 18:24:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59290) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iW7QA-0007yw-5g for bug-gnu-emacs@gnu.org; Sat, 16 Nov 2019 18:24:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iW7Q9-0000Xr-Vk for bug-gnu-emacs@gnu.org; Sat, 16 Nov 2019 18:24:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Sloan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 16 Nov 2019 23:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23033 X-GNU-PR-Package: emacs Original-Received: via spool by 23033-submit@debbugs.gnu.org id=B23033.15739466382085 (code B ref 23033); Sat, 16 Nov 2019 23:24:01 +0000 Original-Received: (at 23033) by debbugs.gnu.org; 16 Nov 2019 23:23:58 +0000 Original-Received: from localhost ([127.0.0.1]:39878 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iW7Q5-0000XZ-J5 for submit@debbugs.gnu.org; Sat, 16 Nov 2019 18:23:57 -0500 Original-Received: from mail-qv1-f52.google.com ([209.85.219.52]:39567) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iW7Q3-0000XM-Pk for 23033@debbugs.gnu.org; Sat, 16 Nov 2019 18:23:56 -0500 Original-Received: by mail-qv1-f52.google.com with SMTP id v16so5139092qvq.6 for <23033@debbugs.gnu.org>; Sat, 16 Nov 2019 15:23:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=NeFHdBsKA+h8xYonkU/WDvOqjSeJ4RkhmksVCNL6Y1Q=; b=ow082sriOJhWy/hFmpsoqQ2rMzZ8N4/9JKJ7dUVfRvQIPUylsbyQkzbE1UbuUj2GRV 3i5wxW7IYKPgBE+P0MEiuphsjI9myME62OSpV+e7l5SqR5E+0pTmrYEix3XQoCTpwCjE MmsSWQgJlXzp43CmpNBqf84x2g7DIu0Pu66F30KpHnk8bhdxrhUohi+IR4oi1qx/R8jc uR1FGbibKsByv0pQivB+1R4fSRxWdNzujbqqJrLOBe3qBdzThB9aTfVOr8U7FePC1Lpc YehHE/KKPJuLpcZLcyA0S+MNjrWfjShhqV7R5XctXCmwSdUhNCZSMsAzc15j8eyFlMf2 +qOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=NeFHdBsKA+h8xYonkU/WDvOqjSeJ4RkhmksVCNL6Y1Q=; b=sYJ1CCyeScfruUrSQWRPNVdIMBrkWyRG5yFmfwj4QKZYWrasCB2yDhktNCA41MkHJc KSZCKeQN28OEt5Cim/dNVdOf5TOSjLnZeHzBxAq16gYzHtvGpveIHlX5xrXgqP3dDnfK ljEL+C9l7jZ5gKRHjne/Ta0IDPJsq21mDiT5od444SqzBxzG4Lp39VQpTLW9lz86gX0P VYlQw7o4Wtz/GYVh4v+QMsRyMfNZLfA3CQtJVZ3Jtj2T9Iec1Lj6Sl/LRQ0Q3m+wmSWC wEQwI/Yn1mfI3PZssTbfODtSj+rQD2shEqTF6HqaTooYCMgcm/DFx3AzxoqiwQ9PjY9i woiA== X-Gm-Message-State: APjAAAVNa+azEDQYczLYYbqzf0qdhuM0z0qQHRJA+R2dxxeGuBTqT5Lx 271MAnpKtau48Dt0jjOWNLU3gH/0XcUWo6gJVP4= X-Google-Smtp-Source: APXvYqwohZ68SShVbDKSootCLwNNir6zMelsELuZKl0wh+S1mIUjbcxL+JGbhyRN5ka1PtQkfeF5suYMqb8GfTmgVyk= X-Received: by 2002:a0c:e847:: with SMTP id l7mr10540197qvo.14.1573946630093; Sat, 16 Nov 2019 15:23:50 -0800 (PST) In-Reply-To: <834kz695qd.fsf@gnu.org> 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: 209.51.188.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" Xref: news.gmane.org gmane.emacs.bugs:171747 Archived-At: --000000000000c8402b05977f0173 Content-Type: text/plain; charset="UTF-8" On Thu, Nov 14, 2019 at 2:18 AM Eli Zaretskii wrote: > > It is not the case that the current lock file names are always listed > next to the files they are clocking: > > > > mgsloan@treetop:~/test$ ls -la > > > total 8 > > > drwxrwxr-x 2 mgsloan mgsloan 4096 Nov 9 16:36 . > > > drwxr-xr-x 57 mgsloan mgsloan 4096 Nov 9 16:35 .. > > -rw-rw-r-- 1 mgsloan mgsloan 0 Nov 9 16:36 .#test.md > > -rw-rw-r-- 1 mgsloan mgsloan 0 Nov 9 16:36 '#.test.md' > > -rw-rw-r-- 1 mgsloan mgsloan 0 Nov 9 16:35 test.md > > I agree that it is easy to cook an example where this doesn't happen, > but usually it does. > Indeed! And appending ".lock" to a file name is also typically adjacent in listings, and it is easy to cook an example where it is not. --000000000000c8402b05977f0173 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: base64 PGRpdiBkaXI9Imx0ciI+PGRpdiBkaXI9Imx0ciI+T24gVGh1LCBOb3YgMTQsIDIwMTkgYXQgMjox OCBBTSBFbGkgWmFyZXRza2lpICZsdDs8YSBocmVmPSJtYWlsdG86ZWxpekBnbnUub3JnIj5lbGl6 QGdudS5vc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