[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tramp (2.7.0-pre master/463cd87f0590970cfd2918ba7028304e0f712001); t
From: |
Philipp Stephani |
Subject: |
Re: tramp (2.7.0-pre master/463cd87f0590970cfd2918ba7028304e0f712001); tramp-signal-process doesn't accept string arguments |
Date: |
Thu, 30 Nov 2023 13:08:01 +0100 |
> Am 30.11.2023 um 12:43 schrieb Michael Albinus <michael.albinus@gmx.de>:
>
> Philipp Stephani <p.stephani2@gmail.com> writes:
>
> Hi Philipp,
>
>> Almost, but one case is still missing. Try:
>>
>> emacs -Q -batch -eval '(progn (require (quote tramp)) (let ((proc
>> (start-process "sleep" nil "sleep" "60"))) (signal-process (number-to-string
>> (process-id proc)) (quote ABRT))))'
>>
>> This will fail even with the patch.
>> `signal-process' accepts a process ID converted to a string. This doesn't
>> seem to be documented, but is necessary for interactive use because
>> `signal-process' uses `read-string' to read its first argument interactively.
>
> Yes. What about the modified patch?
That works in all cases I've tested, thanks!