Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: info-gnus-english@gnu.org
Subject: Re: Today's articles/mails..
Date: Tue, 21 Dec 2010 15:57:52 +0100	[thread overview]
Message-ID: <877hf3xjf3.fsf@member.fsf.org> (raw)
In-Reply-To: <87y67j9rh6.fsf@andy.bu.edu>

Andrew Cohen <cohen@andy.bu.edu> writes:

Hi Andrew,

>     Tassilo> To get enter a group showning only the "right" articles,
>     Tassilo> there's no general way, I guess.  At least for IMAP groups,
>     Tassilo> you might be able to use a search on a group (`G G')
>     Tassilo> instead of entering it (at some point in the future, cause
>     Tassilo> date searches seem to be not implemented right now).
>
> Not true! Since nnir now supports raw imap queries you can easily
> search on the date.  Imap supports the following date-related queries:
>
> SENTBEFORE <date>
> SENTON <date>
> SENTSINCE <date>
> SINCE <date>
> BEFORE <date>
>
> (these last two are aliases for SENTBEFORE and SENTSINCE). 

Oh, cool.  In the RFC, I could see that the date is formatted as
1-Dec-2010.  Do you know if that's the only supported format?

It would be awesome if there was some nice completion mechanism
formulating IMAP queries.  For example, selecting a date with
`org-read-date' and translating it to the right format:

  (format-time-string "%d-%b-%Y" (org-read-date nil t))
  ;; C-x C-e
  ;; Select 1st December 2010
  ==> 01-Dec-2010

Bye,
Tassilo

  parent reply	other threads:[~2010-12-21 14:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-21  3:08 bgmrao
2010-12-21 10:28 ` Tassilo Horn
2010-12-21 13:16   ` bgmrao
2010-12-21 13:26     ` Tassilo Horn
2010-12-21 13:37       ` Andrew Cohen
2010-12-21 14:35         ` bgmrao
2010-12-21 14:40           ` Andrew Cohen
2010-12-21 14:57         ` Tassilo Horn [this message]
     [not found] ` <mailman.15.1292927362.19366.info-gnus-english@gnu.org>
2010-12-21 11:46   ` Richard Riley
2010-12-21 13:17     ` Tassilo Horn
     [not found]     ` <mailman.1.1292937453.31822.info-gnus-english@gnu.org>
2010-12-21 13:26       ` Richard Riley

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=877hf3xjf3.fsf@member.fsf.org \
    --to=tassilo@member.fsf.org \
    --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).