bbdb-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug#54423: 29.0.50; gnus-fetch-original-field returns nil in digest


From: Roland Winkler
Subject: Re: bug#54423: 29.0.50; gnus-fetch-original-field returns nil in digest
Date: Tue, 22 Mar 2022 12:27:22 -0500

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!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]