Re: bug#54423: 29.0.50; gnus-fetch-original-field returns nil in digest
Roland Winkler <[email protected]> Tue, 22 Mar 2022 12:27:22 -0500
| Newsgroups | gmane.emacs.bbdb.user,gmane.emacs.gnus.general |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Mar 22 2022, Sam Steingold wrote: > when the current group is _not_ `nndoc`, there is no `quit-config' > and `with-current-buffer' will signal an "nil is not a buffer" error. Do you refer to the possibility that the first `or' clause (or (gnus-fetch-original-field header) fails because a header is absent in an otherwise ordinary message? Then looking for parent-summary-buffer won't help either. > + (let ((parent-summary-buffer > + (cadr (assq 'quit-config > + (gnus-info-params > + (gnus-get-info gnus-newsgroup-name)))))) > + (and parent-summary-buffer > + (with-current-buffer parent-summary-buffer > + (gnus-fetch-original-field header)))))) Thanks, I find this much cleaner!