[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: table.el
From: |
Tak Ota |
Subject: |
Re: table.el |
Date: |
Sat, 01 Dec 2001 22:31:25 -0800 (PST) |
Sun, 02 Dec 2001 01:11:36 -0500: "Stefan Monnier" <monnier+gnu/address@hidden>
wrote:
> Now if you want to allow to put more than one function on a wrapper-hook,
> then you can use something like
>
> (defun kill-region (blabla)
> (if kill-region-functions
> (let ((kill-region-functions kill-region-functions))
> (funcall (pop kill-region-function) blabla))
> ..do the usual thing..))
I think this is almost identical to the macro implementation that
Miles refined. The difference is above the macro is expanded as an
idiom and a bit more compact by using `pop'.
> But I'd still advocate for passing not just the arguments but the
> function itself so that the same wrapper-hook can be used for
> several functions.
I think this is a good idea.
-Tak
- Re: table.el, (continued)
- Re: table.el, Tak Ota, 2001/12/02
- Re: table.el, Tak Ota, 2001/12/02
- Re: table.el, Miles Bader, 2001/12/02
- Re: table.el, Kai Großjohann, 2001/12/02
- Re: table.el, Tak Ota, 2001/12/02
- Re: table.el, Richard Stallman, 2001/12/03
Re: table.el, Thien-Thi Nguyen, 2001/12/01
Re: table.el, Richard Stallman, 2001/12/01
- Re: table.el, Tak Ota, 2001/12/02
- Re: table.el, Tak Ota, 2001/12/02
- Re: table.el, Stefan Monnier, 2001/12/02
- Re: table.el, Tak Ota, 2001/12/02
- Re: table.el, Stefan Monnier, 2001/12/03
- Re: table.el, Tak Ota, 2001/12/03
- Re: table.el, Stefan Monnier, 2001/12/03
- Re: table.el, Tak Ota, 2001/12/03
- Re: table.el, Stefan Monnier, 2001/12/03
Re: table.el, Richard Stallman, 2001/12/03