[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Turning Gnus groups into real objects
From: |
Lars Ingebrigtsen |
Subject: |
Re: Turning Gnus groups into real objects |
Date: |
Fri, 19 Jul 2019 14:56:19 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Eric Abrahamsen <address@hidden> writes:
> My original long-term plan was to replace the nnoo machinery with Emacs'
> built-in object stuff: defvoo would become object slots, and deffoo
> would become generic functions. Would this be a bad idea for the same
> reason? That would also be a bummer, but at the same time save me a lot
> of work :)
The reason the voo stuff is like it is is for backwards-compatibility
with out-of-tree backends. If we want to keep that, then rewriting to
use a proper object system would require two pairs of interface
functions.
But I think rewriting that stuff is a more self-contained operation
because the nn* interface at least is defined as an interface (which the
group/info structures are not). So I think that's a much better thing
to be rewritten.
I.e., first define what the interface should be, then rewrite the
backends, one by one, to use that new and better interface. People who
have customisations to the code will find that their customisations
don't work in the new versions, but that's OK, I think.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- Turning Gnus groups into real objects, Eric Abrahamsen, 2019/07/17
- Re: Turning Gnus groups into real objects, Andy Moreton, 2019/07/17
- Re: Turning Gnus groups into real objects, Stefan Monnier, 2019/07/17
- Re: Turning Gnus groups into real objects, Lars Ingebrigtsen, 2019/07/18
- Re: Turning Gnus groups into real objects, Eric Abrahamsen, 2019/07/18
- Re: Turning Gnus groups into real objects, Lars Ingebrigtsen, 2019/07/20
- Re: Turning Gnus groups into real objects, Eric Abrahamsen, 2019/07/20
- Re: Turning Gnus groups into real objects, Barry Fishman, 2019/07/21
- Re: Turning Gnus groups into real objects, Eric Abrahamsen, 2019/07/22
- Re: Turning Gnus groups into real objects, Stefan Monnier, 2019/07/21
- Re: Turning Gnus groups into real objects, Eric Abrahamsen, 2019/07/22
- Re: Turning Gnus groups into real objects, Lars Ingebrigtsen, 2019/07/21