Masatake YAMATO <[EMAIL PROTECTED]> writes:

> How do you think implement tla--with-current-buffer-maybe?
>
> tla--with-current-buffer-maybe will be expaned to:
>
>     (when (buffer-live-p ,(current-buffer))
>         (with-current-buffer ,(current-buffer)
>                              ...))

I considered the same thing :o)  My only concern is that this sort of
nondeterminism isn't all that helpful to people writing process
handlers.  I mean, having something in the docs like "your process
handler *might* be executed in the buffer the process was called from"
would mean that the caller would still have to check which buffer they
were in.

I can't really think of a sensible default buffer... maybe we shouldn't
encourage people to assume their handler will be executed in any
particular buffer.  Any ideas?

Mark

-- 
Mark Triggs
<[EMAIL PROTECTED]>


Reply via email to