GNU bug report logs -
#38000
27.0.50; [PATCH] WIP on using gnus info accessor macros
Previous Next
Reported by: Eric Abrahamsen <eric <at> ericabrahamsen.net>
Date: Thu, 31 Oct 2019 00:00:02 UTC
Severity: normal
Tags: patch
Found in version 27.0.50
Fixed in version 27.1
Done: Eric Abrahamsen <eric <at> ericabrahamsen.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Lars Ingebrigtsen <larsi <at> gnus.org> writes:
> Eric Abrahamsen <eric <at> ericabrahamsen.net> writes:
>
>> Huh, I didn't realize that list-based structs didn't put a tag in the
>> `car' position unless you pass the :named keyword.
>>
>> We could switch to list-based structs without breaking out-of-tree code,
>> but I don't see much point: you can't use them for generic function
>> dispatch, even when they're :named, nor do you get a NAME-p predicate
>> for free. That doesn't leave much point.
>
> It means that you don't have to write the accessor macros by hand. :-)
But you already did! :)
Okay, let's use them anyway. And I'd like to move the "extend" and
"vacuum" procedures to the reading and writing of the newsrc.eld file,
so the rest of the code can forget about it. I'll leave the setter
macros in place, and continue to accept (and ignore) an EXTEND argument,
so other people's code continues to work.
>> Nope, still don't get it. It seems to me the only real question is
>> whether or not nnvirtual-mapping-marks should override whatever marks
>> were already there.
>
> I don't get it either, I'm afraid.
I'll look at it some more, and see if I can come up with some tests.
Eric
This bug report was last modified 5 years and 243 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.