[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Turning Gnus groups into real objects
From: |
Stefan Monnier |
Subject: |
Re: Turning Gnus groups into real objects |
Date: |
Fri, 19 Jul 2019 18:10:12 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> (defclass gnus-server ()
> ((address :type string)
> ...))
>
> (defclass gnus-nnimap (gnus-server)
> ((capabilities
> :type string)
> (newlinep
> :type boolean)
> ...))
Aka
(cl-defstruct (gnus-server)
(address nil :type string))
(cl-defstruct (gnus-nnimap
(:include gnus-server))
(capabilities nil :type string)
(newlinep nil :type boolean))
> (cl-defmethod gnus-request-list ((server gnus-nnimap))
BTW, I was wondering whether we could preserve backward compatiblity with
defvoo and defffoo. But I guess for `defvoo`, we'd need the equivalent
of `define-symbol-macro` whereas we currently only have `cl-symbol-macrolet`.
Stefan
- 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
- Re: Turning Gnus groups into real objects, Eric Abrahamsen, 2019/07/22