[Top][All Lists]

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

Re: a bug of read-passwd

From: Chong Yidong
Subject: Re: a bug of read-passwd
Date: Mon, 24 Jul 2006 10:17:22 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>> Another possibility is to implement a `inhibit-timers' variable and
>> set it to t by default inside filter functions (similar to how
>> `inhibit-quit' is bound to t in filter functions.)  This is probably
>> easier to implement.  What do you think?
> I think it's a good idea, although let-binding timer-list (and
> timer-idle-list) to nil might be even better since it'd still allow filter
> functions to use timers.

Doing a let-bind is conceptually cleaner, but one can imagine a
situation in which a filter function needs access to a
previously-defined timer.  A `inhibit-timer' mechanism would allow
filter functions to manually turn the timer back on if they need to.

reply via email to

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