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 21:33:27 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Pankaj Jangid <pankaj@codeisgreat.org> writes:

> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>
>>> I am calling the same function using the default keybinding `G G'. And
>>> it is giving this error to me.
>>>
>>> cl-no-applicable-method: No applicable method: gnus-search-run-search,
>>> nil, "nnimap:gml", ((parsed-query "hello") (query . "hello") (raw)),
>>> ("nnimap+gml:INBOX")
>>
>> This is the error you'd get if gnus-search can't find the right search
>> engine to use for nnimap servers. I just changed the type of the default
>> value of `gnus-search-default-engines', so maybe you've gotten caught in
>> between. Can you please confirm that you're using the latest master, and
>> that the value of `gnus-search-default-engines' looks like:
>>
>> '((nnimap . gnus-search-imap))
>
> I am on the master and the value of `gnus-search-default-engines' is,
>
> Its value is ((nnimap gnus-search-imap))
> Original value was 
> ((nnimap . gnus-search-imap))
>
> Earlier, I had this in my file,
>
> (require 'nnir)
> (setq nnir-method-default-engines
>       '((nnml . notmuch)
>       (nnimap . imap)))
>         
> But after the merge, I have changed it to,
>
> (let ((maxver 27))
>   (if (> emacs-major-version maxver)
>       (custom-set-variables
>        '(gnus-search-default-engines
>        '((nnimap gnus-search-imap)))
>        '(gnus-search-use-parsed-queries t))
>     (custom-set-variables
>        '(nnir-method-default-engines
>        '((nnimap imap))))))
>
> It started working again when I changed them back to cons cells.

There are downsides to being an early adopter (the earliest)! Hopefully
sailing will be smoother here on out.



reply via email to

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