help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using date ranges in emacs notmuch search


From: Andreas Röhler
Subject: Re: Using date ranges in emacs notmuch search
Date: Mon, 25 Jul 2011 21:06:36 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.18) Gecko/20110616 SUSE/3.1.11 Thunderbird/3.1.11

Am 23.07.2011 20:29, schrieb suvayu ali:
Hi Emacs users,

I was wondering if someone could point me how to correctly specify date
ranges in an emacs notmuch search. So far I tried these two variations:

To see all emails from the last 3 months I tried:

1. "$(($(date +%s)-5270400))..$(date +%s)" - This completes w/o an error
    but doesn't return any messages.
2. $(($(date +%s)-5270400))..$(date +%s) (w/o the quotes) - This doesn't
    return any messages either but returns an error code of 1.

Strangely, from the command line both searches return valid messages.
What am I doing wrong? Thanks for any help or comments.


M-! echo $(($(date +%s)-5270400))..$(date +%s)

makes some nice output...



reply via email to

[Prev in Thread] Current Thread [Next in Thread]