Subject: bug#53989: 29.0.50; Gnus searches broken

From: Eric Abrahamsen <[email-masked]>
Date: Mon, 14 Feb 2022 19:45:37 -0800

On 02/15/22 03:48 AM, Michael Heerdegen wrote:
> Eric Abrahamsen <[email-masked]> writes:
>
>> Oh... hmm. I wonder if we should actually change the parsing then or
>> not? What do you think?
>
> `expand-file-name' collapses multiple consecutive slashes into a single
> slash - that's documented.  Can we just map it over the names delivered
> by mairix?

Oh, that's not bad. If you mess up your mairix config again and then
eval this:

(cl-defmethod gnus-search-indexed-extract :around
  ((_engine gnus-search-indexed))
  (let ((ret (cl-call-next-method)))
    (cl-callf expand-file-name (car ret) "/")
    ret))

Does everything work properly?