Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: info-gnus-english@gnu.org
Subject: Re: nnir imap search does not work as expected
Date: Fri, 10 Mar 2017 16:16:18 -0800	[thread overview]
Message-ID: <87fuikbrcd.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <s5obmt8wv1r.fsf@avnera.com>

Arkady Grudzinsky <agrudzinsky@gmail.com> writes:

> Hi, everyone,
>
> I'm using Gnus to access my Gmail account via nnimap.
>
> When I search a group using 'GG' and type query
>
> ,----
> | FROM "author@domain.com"
> `----
>
> The search produces emails containing "author@domain.com" and not
> necessarily in the "From:" header.

Imap search is pretty weird -- it wants you to specify the search key
ahead of time. If you just use GG and then type a string, it will search
all headers and the body. You can use a C-u prefix to GG to select which
key to search on (including "imap" to write the queries yourself), or
set nnir-imap-default-search-key to a different key (again, including
"imap").

Kind of weird.



  reply	other threads:[~2017-03-11  0:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-10 23:50 Arkady Grudzinsky
2017-03-11  0:16 ` Eric Abrahamsen [this message]
2017-03-12 20:36   ` Arkady Grudzinsky
2017-03-12 21:06     ` Arkady Grudzinsky
2017-03-12 21:20       ` Eric Abrahamsen
2017-03-13  2:15         ` Bob Newell
2017-03-13 20:21           ` Arkady Grudzinsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fuikbrcd.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).