Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Bob Newell <bobnewell@bobnewell.net>
To: info-gnus-english@gnu.org
Subject: Re: nnir imap search does not work as expected
Date: Sun, 12 Mar 2017 16:15:55 -1000	[thread overview]
Message-ID: <87y3w953c4.fsf@bobnewell.net> (raw)
In-Reply-To: <87a88q9oqc.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Sun, 12 Mar 2017 14:20:11 -0700")


There is another way to do this which is straightforward and allows you
to use Google search syntax, which I got from the wiki
(https://www.emacswiki.org/emacs/GnusGmail)

It has been working for me. It lets you do searches with size:, before:,
after:, from:, to: etc. Booleans work too (just remember that Google
doesn't use "and").

(add-to-list 'nnir-imap-search-arguments '("gmail" . "X-GM-RAW"))
(setq nnir-imap-default-search-key "gmail")

-- 
Bob Newell
Honolulu, Hawai`i
* Via Gnus/BBDB/Org/Emacs/Linux *


  reply	other threads:[~2017-03-13  2:15 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
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 [this message]
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=87y3w953c4.fsf@bobnewell.net \
    --to=bobnewell@bobnewell.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).