[Top][All Lists]

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

bug#25606: [DRAFT PATCH 2/2] Signal list cycles in ‘length’ etc.

From: Eli Zaretskii
Subject: bug#25606: [DRAFT PATCH 2/2] Signal list cycles in ‘length’ etc.
Date: Thu, 02 Feb 2017 19:28:19 +0200

> From: Paul Eggert <address@hidden>
> Date: Wed,  1 Feb 2017 15:56:22 -0800
> Cc: Paul Eggert <address@hidden>
> Use macros like FOR_EACH_TAIL instead of maybe_quit to
> catch list cycles automatically instead of relying on the
> user becoming impatient and typing C-g.

I don't think this is a good idea.  We don't know when the user will
become impatient, and on busy systems the counter could be very low by
that time.  I think we shouldn't second-guess users this way, and
should always leave them the possibility of interrupting a possibly
prolonged calculation.

Also, could we please have tests for these functions?


reply via email to

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