emacs-devel
[Top][All Lists]
Advanced

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

Re: gnus-group-read-ephemeral-search-group -- Something Changed?


From: Eric Abrahamsen
Subject: Re: gnus-group-read-ephemeral-search-group -- Something Changed?
Date: Fri, 06 Nov 2020 09:21:50 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

"T.V Raman" <raman@google.com> writes:

> I use gnus-group-read-ephemeral-search-group to search GMail via imap,
> see details in this blog article:
> https://emacspeak.blogspot.com/2020/09/searching-gmail-from-gnus.html
>
> About  8 weeks or so, that function
> gnus-group-read-ephemeral-search-group was declared obsolete but its
> replacement was supposed to be backward compatible and everything
> worked until about 2 days ago --- or from memory I updated/rebuilt
> emacs yesterday and it's broken today.
>
> Broken: How,
>
> Now, when I invoke the afore-mentioned function
> I get an additional prompt after supplying the query  and calling it
> with the imap-search spec it expects. A quick look in git logs didn't
> show anything suspicious, other than the file was changed with
> comments to the effect that that function is obsolete.

Yes, this function has changed in the past couple of days, as nnir.el
has been obsoleted. I'm guessing you're calling
`gnus-gorup-read-ephemeral-search-group' with a spec that contains an
`nnir-search-spec' key? That key is now called `gnus-search-spec'.

I can provide better backwards compatibility by continuing to check for
the `nnir-search-spec' and `nnir-group-spec' keys, I guess I didn't
think people would be using that function programmatically in this way.

Would you be willing to show me exactly how you're calling this
function? I can be more certain about providing backwards compatibility
that way, and might be able to suggest some alterations.

Sorry for the roadbump,

Eric



reply via email to

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