Gnus development mailing list
 help / color / mirror / Atom feed
* What should nnir be replaced with in emacs 28?
@ 2023-06-19 16:30 Steinar Bang
  2023-06-20  6:54 ` Gijs Hillenius
  2023-06-20  6:57 ` Gijs Hillenius
  0 siblings, 2 replies; 6+ messages in thread
From: Steinar Bang @ 2023-06-19 16:30 UTC (permalink / raw)
  To: ding

I have this in my ~/.emacs (from November 29 2009):

; I want search in IMAP groups.
(if (locate-library "nnir")
    (require 'nnir))

But now I'm told nnir is deprecated.

If I want nnimap search, what should I use?

Thanks!


- Steinar



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: What should nnir be replaced with in emacs 28?
  2023-06-19 16:30 What should nnir be replaced with in emacs 28? Steinar Bang
@ 2023-06-20  6:54 ` Gijs Hillenius
  2023-06-20  6:57 ` Gijs Hillenius
  1 sibling, 0 replies; 6+ messages in thread
From: Gijs Hillenius @ 2023-06-20  6:54 UTC (permalink / raw)
  To: ding

On 19 June 2023 18:30 Steinar Bang, wrote:

> I have this in my ~/.emacs (from November 29 2009):
>
> ; I want search in IMAP groups.
> (if (locate-library "nnir")
>     (require 'nnir))
>
> But now I'm told nnir is deprecated.
>
> If I want nnimap search, what should I use?

Nnir and imap, it still works for me. Or seems to work.


Perhaps this tread is a start to finding out what could be replacing it

https://lists.gnu.org/archive/html/bug-gnu-emacs/2022-11/msg00641.html


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: What should nnir be replaced with in emacs 28?
  2023-06-19 16:30 What should nnir be replaced with in emacs 28? Steinar Bang
  2023-06-20  6:54 ` Gijs Hillenius
@ 2023-06-20  6:57 ` Gijs Hillenius
  2023-06-20 14:50   ` Steinar Bang
  1 sibling, 1 reply; 6+ messages in thread
From: Gijs Hillenius @ 2023-06-20  6:57 UTC (permalink / raw)
  To: ding

On 19 June 2023 18:30 Steinar Bang, wrote:

> I have this in my ~/.emacs (from November 29 2009):
>
> ; I want search in IMAP groups.
> (if (locate-library "nnir")
>     (require 'nnir))
>
> But now I'm told nnir is deprecated.
>
> If I want nnimap search, what should I use?


Actually, that thread has Eric Abrahamsen telling:

"I will add something noting that the IMAP search engine is built in and
requires no configuration, but I think that's all."



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: What should nnir be replaced with in emacs 28?
  2023-06-20  6:57 ` Gijs Hillenius
@ 2023-06-20 14:50   ` Steinar Bang
  2023-06-20 17:31     ` Eric Abrahamsen
  0 siblings, 1 reply; 6+ messages in thread
From: Steinar Bang @ 2023-06-20 14:50 UTC (permalink / raw)
  To: ding

>>>>> Gijs Hillenius <gijs@hillenius.net>:

> On 19 June 2023 18:30 Steinar Bang, wrote:

>> But now I'm told nnir is deprecated.

>> If I want nnimap search, what should I use?

> Actually, that thread has Eric Abrahamsen telling:

> "I will add something noting that the IMAP search engine is built in and
> requires no configuration, but I think that's all."

Indeed!

I just did 'G G' on an nnimap group with nnir removed, and it worked
exactly like before.

So we're good, then!

Thanks!




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: What should nnir be replaced with in emacs 28?
  2023-06-20 14:50   ` Steinar Bang
@ 2023-06-20 17:31     ` Eric Abrahamsen
  2023-06-20 19:22       ` Steinar Bang
  0 siblings, 1 reply; 6+ messages in thread
From: Eric Abrahamsen @ 2023-06-20 17:31 UTC (permalink / raw)
  To: ding

Steinar Bang <sb@dod.no> writes:

>>>>>> Gijs Hillenius <gijs@hillenius.net>:
>
>> On 19 June 2023 18:30 Steinar Bang, wrote:
>
>>> But now I'm told nnir is deprecated.
>
>>> If I want nnimap search, what should I use?
>
>> Actually, that thread has Eric Abrahamsen telling:
>
>> "I will add something noting that the IMAP search engine is built in and
>> requires no configuration, but I think that's all."
>
> Indeed!
>
> I just did 'G G' on an nnimap group with nnir removed, and it worked
> exactly like before.
>
> So we're good, then!
>
> Thanks!

Yes, the answer is "replace it with nothing" :)

If you're okay with the IMAP search syntax, then you're done. If you'd
like to use a different "key:value" style of syntax, which I at least
find more intuitive, then you can set `gnus-search-use-parsed-queries'
to t, and read the "Search Queries" section of the manual.

Eric


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: What should nnir be replaced with in emacs 28?
  2023-06-20 17:31     ` Eric Abrahamsen
@ 2023-06-20 19:22       ` Steinar Bang
  0 siblings, 0 replies; 6+ messages in thread
From: Steinar Bang @ 2023-06-20 19:22 UTC (permalink / raw)
  To: ding

>>>>> Eric Abrahamsen <eric@ericabrahamsen.net>:

> Yes, the answer is "replace it with nothing" :)

> If you're okay with the IMAP search syntax, then you're done. If you'd
> like to use a different "key:value" style of syntax, which I at least
> find more intuitive, then you can set `gnus-search-use-parsed-queries'
> to t, and read the "Search Queries" section of the manual.

I've only ever used substring searches, so I'm good there, I think.



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-06-20 19:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-19 16:30 What should nnir be replaced with in emacs 28? Steinar Bang
2023-06-20  6:54 ` Gijs Hillenius
2023-06-20  6:57 ` Gijs Hillenius
2023-06-20 14:50   ` Steinar Bang
2023-06-20 17:31     ` Eric Abrahamsen
2023-06-20 19:22       ` Steinar Bang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).