[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Multiple next-error sources
From: |
Alan Mackenzie |
Subject: |
Re: Multiple next-error sources |
Date: |
Fri, 7 Nov 2014 18:21:11 +0000 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Hello, Stefan.
On Fri, Nov 07, 2014 at 01:08:57PM -0500, Stefan Monnier wrote:
> >> While it's true that
> >> (add-hook 'next-error-functions #'my-function)
> >> is shorter than
> >> (add-function :before-until next-error-function #'my-function)
> >> I don't think it warrants the addition of a next-error-functions.
> > Why not?
> I'd return the question: given the above, why add next-error-functions?
Because "(add-hook 'next-error-functions #'my-function)" is shorter than
the `add-function' variant, along with all the other good reasons which
have been posted in this thread.
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.
> Stefan
--
Alan Mackenzie (Nuremberg, Germany).
- 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 <=
- Re: Multiple next-error sources, Stefan Monnier, 2014/11/07
- 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