[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Please try Pmail
From: |
Stefan Monnier |
Subject: |
Re: Please try Pmail |
Date: |
Wed, 21 Jan 2009 15:38:59 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
>> Since they return a buffer already, we may as well store the FUN2
>> inside that buffer (as a buffer-local var).
> They don't return a buffer. They switch to a different buffer, and
> return nil.
Yes, that's what I meant by "return a new buffer". They aren't forced
to return nil, BTW (although in practice, it seems they always do).
> Here's one reason against adding a new hook to post-process annotations:
> to do this particular job right, we need to run all the hook functions
> in all the buffers that have been swapped to (so as to pick up their
> local values). This violates the usual behavior of run-hooks, which
> only runs the buffer-local value of the hook, followed by the global
> value of the hook.
I don't propose a hook, but a buffer-local *-function (as opposed to
*-functions or *-hook). I.e. a single function, just like your
proposal, except it's stored in the final "returned" buffer, rather than
returned explicitly.
Stefan
- Re: Please try Pmail, (continued)
- Re: Please try Pmail, Alfred M. Szmidt, 2009/01/18
- Re: Please try Pmail, Stefan Monnier, 2009/01/18
- Re: Please try Pmail, Chong Yidong, 2009/01/18
- Re: Please try Pmail, Chong Yidong, 2009/01/18
- Re: Please try Pmail, Stefan Monnier, 2009/01/19
- Re: Please try Pmail, Chong Yidong, 2009/01/20
- Re: Please try Pmail, Stefan Monnier, 2009/01/20
- Re: Please try Pmail, Chong Yidong, 2009/01/20
- Re: Please try Pmail, Stefan Monnier, 2009/01/20
- Re: Please try Pmail, Chong Yidong, 2009/01/21
- Re: Please try Pmail,
Stefan Monnier <=
- Re: Please try Pmail, Chong Yidong, 2009/01/21
- Re: Please try Pmail, Stefan Monnier, 2009/01/21
- Re: Please try Pmail, Chong Yidong, 2009/01/21
- Re: Please try Pmail, Richard M Stallman, 2009/01/22
- Re: Please try Pmail, Chong Yidong, 2009/01/22
- Re: Please try Pmail, Richard M Stallman, 2009/01/21
- Re: Please try Pmail, Chong Yidong, 2009/01/21
- Re: Please try Pmail, Richard M Stallman, 2009/01/20
- Re: Please try Pmail, Eli Zaretskii, 2009/01/21
- Re: Please try Pmail, Richard M Stallman, 2009/01/19