[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#10483: [PATCH] cperl-mode: Avoid endless loop
From: |
Eli Zaretskii |
Subject: |
bug#10483: [PATCH] cperl-mode: Avoid endless loop |
Date: |
Mon, 31 Aug 2020 21:49:40 +0300 |
> Cc: 10483@debbugs.gnu.org
> From: Harald Jörg <haj@posteo.de>
> Date: Mon, 31 Aug 2020 20:08:06 +0200
>
> I was hesitating in this particular case because _if_ this issue ever
> happens again, then the test just hangs forever.
>
> Is there a safeguard against this?
You could run the test in a subordinate Emacs process, and have the
parent process wait for it to complete with a timeout.