[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tramp "too many open files" [Re: bug#56606
From: |
Thierry Volpiatto |
Subject: |
Re: tramp "too many open files" [Re: bug#56606 |
Date: |
Tue, 21 Mar 2023 05:55:44 +0000 |
Hello Michael,
Michael Albinus <michael.albinus@gmx.de> writes:
> Thierry Volpiatto <thievol@posteo.net> writes:
>
>> Hi Michael,
>
> Hi Thierry,
>
>>> There are two ways to disable tramp-archive.el:
>>>
>>> - Set or bind tramp-archive-enabled to nil.
>>
>> I know but it is not enough in some cases. I think it should be up to
>> the user to set this, however it is already set and autoloaded in
>> tramp-archive.el:
>>
>> (defvar tramp-archive-enabled (featurep 'dbusbind)
>> "Non-nil when file archive support is available.")
>
> And this is intended. After loading tramp-archive, we have
>
> (setq tramp-archive-enabled tramp-gvfs-enabled)
>
> which is less invasive, I hope.
>
>>> - Avoid file names like "/path/to/file.tar/". The combination of a known
>>> extension with a slash triggers tramp-archive.el. Usually, it is an
>>> error to specify such a file name, if not intended.
>>
>> Agree, but we sometimes get files from elsewhere with such filenames, of
>> course I never name my files/dirs like this.
>> Anyway I think tramp-archive should not kick in with such filenames or
>> any filenames unless user wants it.
>
> I do my best to bring external packages to proper coding.
I know, thanks.
> And also, tramp-archive-file-name-handler checks in case of a file name
> "/path/to/file.tar/", whether "/path/to/file.tar" is a directory.
> In this case, tramp-archive also ceases to work.
Yes, the problem we had in Helm was with while-no-input, when a check in
done under it (file-directory-p or whatever) a dbus event is sent and
while-no-input fails, we have to let bind while-no-input-ignore-events
with the new dbus-event added to fix the problem, perhaps tramp-archive
should take care of this?
Thanks.
--
Thierry
signature.asc
Description: PGP signature
- tramp "too many open files" [Re: bug#56606, Madhu, 2023/03/20
- Re: tramp "too many open files" [Re: bug#56606, Thierry Volpiatto, 2023/03/20
- Re: tramp "too many open files" [Re: bug#56606, Michael Albinus, 2023/03/20
- Re: tramp "too many open files" [Re: bug#56606, Thierry Volpiatto, 2023/03/20
- Re: tramp "too many open files" [Re: bug#56606, Michael Albinus, 2023/03/20
- Re: tramp "too many open files" [Re: bug#56606,
Thierry Volpiatto <=
- Re: tramp "too many open files" [Re: bug#56606, Michael Albinus, 2023/03/21
- Re: tramp "too many open files" [Re: bug#56606, Thierry Volpiatto, 2023/03/21
- Re: tramp "too many open files" [Re: bug#56606, Michael Albinus, 2023/03/21
- Re: tramp "too many open files" [Re: bug#56606, Thierry Volpiatto, 2023/03/21
Re: tramp "too many open files" [Re: bug#56606, Michael Albinus, 2023/03/20