[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Multiple next-error sources
From: |
Stefan Monnier |
Subject: |
Re: Multiple next-error sources |
Date: |
Fri, 07 Nov 2014 13:48:25 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
> Because "(add-hook 'next-error-functions #'my-function)" is shorter than
> the `add-function' variant,
The text I wrote and you quoted already said that it was shorter but not
enough to warrant an additional variable. So you think saving 16
characters is worth an additional hook?
Based on that, I guess I should just change the naming conventions:
(add-hook 'next-error-functions #'my-function)
(add-f :before-until next-error-f #'my-f)
Look ma! We should change all hooks to be plain foo-f variables!
> along with all the other good reasons which have been posted in
> this thread.
None of those reasons seem to apply the question of whether it's worth
adding a next-error-functions hook (remember: next-error-function exists
already, since long before add-function was born).
> Let me repeat my question: in what respect is the `add-function' way of
> doing things superior to the conventional hook mechanism? If the answer
> is "in no respect", then I would suggest that the project continue to
> use hooks in preference to `add-function' functions.
At this point I feel like you're confusing me with an idiot.
Stefan
- Re: Multiple next-error sources, (continued)
- Re: Multiple next-error sources, Jorgen Schaefer, 2014/11/07
- Re: Multiple next-error sources, Stefan Monnier, 2014/11/07
- Re: Multiple next-error sources, Alan Mackenzie, 2014/11/07
- Re: Multiple next-error sources, Daniel Colascione, 2014/11/07
- Re: Multiple next-error sources, Alan Mackenzie, 2014/11/07
- Re: Multiple next-error sources, Dmitry Gutov, 2014/11/08
- Re: Multiple next-error sources, Stefan Monnier, 2014/11/07
- Re: Multiple next-error sources, Alan Mackenzie, 2014/11/07
- Re: Multiple next-error sources,
Stefan Monnier <=
- Re: Multiple next-error sources, Alan Mackenzie, 2014/11/07
- Re: Generalizing find-definition, Stephen Leake, 2014/11/03
- Re: Generalizing find-definition, Stefan Monnier, 2014/11/03
- Re: Generalizing find-definition, Stephen Leake, 2014/11/04
- Re: Generalizing find-definition, Stefan Monnier, 2014/11/04
Re: Generalizing find-definition, Jorgen Schaefer, 2014/11/17
Re: Generalizing find-definition, Helmut Eller, 2014/11/18