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

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

Re: Non file buffers and default-directory


From: Michael Albinus
Subject: Re: Non file buffers and default-directory
Date: Sun, 23 Apr 2023 09:22:46 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Manuel Giraud <manuel.giraud@univ-nantes.fr> writes:

Hi Manual,

>> Tramp is all about starting async sub-processes, though.  So it should
>> be one of the ideal candidates for using Lisp threads.
>
> I thought that Tramp was already using async processes.  What would be
> the use for Lisp threads then.

My first attempt, years ago, was to unblock Emacs in case Tramp reads or
writes large remote files. This was oursorced to a thread, and it worked
somehow except when there was user interaction required.

My new approach is less ambiguous. It tries to solve the problem when
the Tramp process buffer is used in parallel from different places, due
to file access from timers, process filters, process sentinels, and alike.

Best regards, Michael.



reply via email to

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