[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#62614: Tramp attempts to remove lock file with 'remote-file-name-inh
From: |
Michael Albinus |
Subject: |
bug#62614: Tramp attempts to remove lock file with 'remote-file-name-inhibit-locks t |
Date: |
Mon, 03 Apr 2023 18:32:25 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Yuri D'Elia <wavexx@thregr.org> writes:
Hi Yuri & Eli,
> On Mon, Apr 03 2023, Michael Albinus wrote:
>>> IMHO if lock creation is inhibited, we could still attempt to remove the
>>> lock to keep the old behavior, but then the warning shouldn't be
>>> generated as you don't expect the lock to exist in the normal case.
>>
>> That might be an option. But it wouldn't fix your use case, where you
>> try to avoid the file locking machinery for remote files at all.
>
> No, but it would fix an unexpected warning for both tramp and local
> files, which I think is beneficial.
>
> On Mon, Apr 03 2023, Eli Zaretskii wrote:
>> How about trying to remove the lock file, but if creation of lock
>> files is disabled, suppressing the warning?
>
> As above.
See appended patch. Shall it go to the emacs-29 or master branch?
Best regards, Michael.
txtiXJnJrpLXI.txt
Description: Text Data
- bug#62614: Tramp attempts to remove lock file with 'remote-file-name-inhibit-locks t, Yuri D'Elia, 2023/04/02
- bug#62614: Tramp attempts to remove lock file with 'remote-file-name-inhibit-locks t, Michael Albinus, 2023/04/03
- bug#62614: Tramp attempts to remove lock file with 'remote-file-name-inhibit-locks t, Yuri D'Elia, 2023/04/03
- bug#62614: Tramp attempts to remove lock file with 'remote-file-name-inhibit-locks t, Michael Albinus, 2023/04/03
- bug#62614: Tramp attempts to remove lock file with 'remote-file-name-inhibit-locks t, Yuri D'Elia, 2023/04/03
- bug#62614: Tramp attempts to remove lock file with 'remote-file-name-inhibit-locks t, Yuri D'Elia, 2023/04/03
- bug#62614: Tramp attempts to remove lock file with 'remote-file-name-inhibit-locks t, Michael Albinus, 2023/04/03
- bug#62614: Tramp attempts to remove lock file with 'remote-file-name-inhibit-locks t, Yuri D'Elia, 2023/04/03
- bug#62614: Tramp attempts to remove lock file with 'remote-file-name-inhibit-locks t,
Michael Albinus <=
- bug#62614: Tramp attempts to remove lock file with 'remote-file-name-inhibit-locks t, Eli Zaretskii, 2023/04/03
- bug#62614: Tramp attempts to remove lock file with 'remote-file-name-inhibit-locks t, Yuri D'Elia, 2023/04/03
- bug#62614: Tramp attempts to remove lock file with 'remote-file-name-inhibit-locks t, Michael Albinus, 2023/04/04
- bug#62614: Tramp attempts to remove lock file with 'remote-file-name-inhibit-locks t, Eli Zaretskii, 2023/04/03
- bug#62614: Tramp attempts to remove lock file with 'remote-file-name-inhibit-locks t, Eli Zaretskii, 2023/04/03