emacs-devel
[Top][All Lists]
Advanced

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

Re: RFC: Backwards-compatible change to tq.el


From: Stuart D. Herring
Subject: Re: RFC: Backwards-compatible change to tq.el
Date: Wed, 12 Apr 2006 07:58:30 -0700 (PDT)
User-agent: SquirrelMail/1.4.3a-11.EL3

[Michael: sorry to double-send; I wanted to include the list.]

> While looking at tq.el, I found that it interacts poorly with
> processes that cannot receive input while sending output.  The
> following patch will allow developers of new programs to fix this, but
retains backwards compatibility with older programs that use tq.el (if
any exist -- apparently no program that comes with Emacs uses tq.el).

I don't know much about tq.el, but I'm leery of the line

(tq-queue-add tq (and delay-question question) regexp closure fn)

-- it seems to me that you want to include 'question' if and only if you
aren't already sending it (because tq-queue-pop will definitely send it if
you include it).  So shouldn't it be (unless sendp question) rather than
(and delay-question question)?

Davis

-- 
This product is sold by volume, not by mass.  If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.





reply via email to

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