bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#23033: 24.5; Lock file uses the same extension as the file it's lock


From: Stefan Kangas
Subject: bug#23033: 24.5; Lock file uses the same extension as the file it's locking
Date: Fri, 24 Sep 2021 19:59:01 -0700

Lars Ingebrigtsen <larsi@gnus.org> writes:

>> I also note that even with ".lock" the files are fairly close together,
>> and they are also colored differently so they stand out.
>>
>> So from my perspective having the explanation ".lock" visible in the
>> name is worth more than a slightly better sort order.
>
> But would adding .lock to them change the sort order much?

Much?  I'd say no.  It changes a little, in most cases, e.g.:

-rw-r--r-- 1 skangas skangas      0 2021-09-25 02:02 .#foo#
-rw-r--r-- 1 skangas skangas     19 2021-09-25 03:33 foo
-rw-r--r-- 1 skangas skangas      0 2021-09-25 02:02 foob
-rw-r--r-- 1 skangas skangas      0 2021-09-25 02:01 foobar
-rw-r--r-- 1 skangas skangas      0 2021-09-25 02:00 .#foo.lock

I guess this starts to matter more when you have a ton of files named
fooXXX.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]