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

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

bug#10483: [PATCH] cperl-mode: Avoid endless loop


From: Andreas Schwab
Subject: bug#10483: [PATCH] cperl-mode: Avoid endless loop
Date: Fri, 04 Sep 2020 14:05:10 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

On Sep 04 2020, Lars Ingebrigtsen wrote:

> Andreas Schwab <schwab@linux-m68k.org> writes:
>
>> On Sep 04 2020, Lars Ingebrigtsen wrote:
>>
>>> waitpid waits until a process changes status, doesn't it?  In Emacs Lisp
>>> we have to write a loop over `process-status', which adds latency and
>>> just doesn't seem very elegant.
>>
>> In Emacs you use accept-process-output and a process sentinel.
>
> Which isn't very elegant, either.

You asked for the primitives.  There is a lot of tooling around.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."





reply via email to

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