Faster start-file-process?

2020-03-10 Thread Philipp Stephani
Hi, I managed to speed up start-file-process for SSH by a factor of 500 (on my machine) by enabling SSH control mode in ~/.ssh/config and then just calling (start-process name buffer "ssh" program args). Such a speedup is crucial for using start-file-process for truly asynchronous operations that

Re: Faster start-file-process?

2020-03-10 Thread Philipp Stephani
Thanks for the quick response! Am Di., 10. März 2020 um 10:09 Uhr schrieb Michael Albinus : > > Philipp Stephani writes: > > > Hi, > > Hi Philippe, > > > I managed to speed up start-file-process for SSH by a factor of 500 > > (on my machine) by enabling SSH co

Re: Faster start-file-process?

2020-03-18 Thread Philipp Stephani
Am Di., 10. März 2020 um 13:54 Uhr schrieb Michael Albinus : > > Philipp Stephani writes: > > Hi Philipp, > > > t and "-o ControlMaster=auto -o ControlPath='tramp.%%C' -o > > ControlPersist=no" (i.e. the defaults). > > > >> Could you

Re: Faster start-file-process?

2020-04-05 Thread Philipp Stephani
Am So., 29. März 2020 um 12:25 Uhr schrieb Michael Albinus : > > Michael Albinus writes: > > Hi Philipp, > > >> I plan to provide a detailed analysis what happens in Tramp when running > >> an asynchronous process. Based on this, we could discuss > >> improvements. With commit 4c3c175a63823d851c7e

Re: Faster start-file-process?

2020-04-05 Thread Philipp Stephani
Am Fr., 20. März 2020 um 18:02 Uhr schrieb Michael Albinus : > > Philipp Stephani writes: > > Hi Philipp, > > > Thanks for looking into it! > > I just want to tell you that my answer to you is on my todo. Due to > personal problems in my family, it might take so

Re: Faster start-file-process?

2020-04-11 Thread Philipp Stephani
Am Mo., 23. März 2020 um 11:14 Uhr schrieb Michael Albinus : > > Michael Albinus writes: > > Hi Philipp, > > >> This uses the current master of Tramp. All these results are > >> statistically significant (on my machine, that is). I think at least > >> start-file-process and make-process should def

Re: tramp (2.7.0-pre master/463cd87f0590970cfd2918ba7028304e0f712001); tramp-signal-process doesn't accept string arguments

2023-11-29 Thread Philipp Stephani
> Am 29.11.2023 um 20:47 schrieb Michael Albinus : > > Philipp writes: > > Hi Philipp, > >> The function `tramp-signal-process' should accept a process name as a >> string (to be converted to a process via `get-process') or a process ID >> converted to a string, as documented for `signal-pro

Re: tramp (2.7.0-pre master/463cd87f0590970cfd2918ba7028304e0f712001); tramp-signal-process doesn't accept string arguments

2023-11-30 Thread Philipp Stephani
> Am 30.11.2023 um 12:43 schrieb Michael Albinus : > > Philipp Stephani writes: > > Hi Philipp, > >> Almost, but one case is still missing. Try: >> >> emacs -Q -batch -eval '(progn (require (quote tramp)) (let ((proc >> (start-process &quo

Re: tramp (2.7.0-pre master/463cd87f0590970cfd2918ba7028304e0f712001); tramp-signal-process doesn't accept string arguments

2023-11-30 Thread Philipp Stephani
> Am 30.11.2023 um 15:45 schrieb Michael Albinus : > > Philipp Stephani writes: > > Hi Philipp, > >> That works in all cases I've tested, thanks! > > Thanks for the feedback. I've pushed it to the Tramp repository, > branches tramp-2-6-stable and