Re: problem with (display . [not expire]) with git emacs
Eric Abrahamsen <[email protected]>
| Newsgroups | gmane.emacs.gnus.general |
|---|---|
| Message-ID | <[email protected]> |
Dan Christensen <[email protected]> writes: > Two additional things. First, I should have said that Gnus does not > raise an error. It just silently ignores my [not expire] setting. > > Second, here is a link to the relevant commit, which shows the diff: > > https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=8525be6d5eca0c75008ec1dc799cae537156feea > > Is anyone else using git emacs since Nov 29 and also using (display > . [not expire])? I just tried it out, and actually got a popup buffer with the "Malformed function" error you mentioned in your first message. Looks like the culprit is effectively this: (gnus-byte-compile `(lambda () ,(cdr (assoc 'expire gnus-summary-display-cache)))) That's pretty much what `gnus-category-make-function' is doing, given that at that point `gnus-category-predicate-alist' has been let-bound to the value of `gnus-summary-display-cache'. I don't see where that variable gets all its values, but one of its elements is: (expire . #f(compiled-function () #<bytecode 0xc27be483>)) And apparently that's what is barfing when it gets byte compiled. Weirdly, after fooling around with it a bit, the bytecode there must have gotten "fixed" somehow, and the display parameter stopped giving me an error (and started working correctly). Dunno what's happening there. Eric