[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Today's articles/mails..
From: |
Tassilo Horn |
Subject: |
Re: Today's articles/mails.. |
Date: |
Tue, 21 Dec 2010 15:57:52 +0100 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) |
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
Message not available