all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
To: help-gnu-emacs@gnu.org
Subject: Re: Using date ranges in emacs notmuch search
Date: Mon, 25 Jul 2011 21:06:36 +0200	[thread overview]
Message-ID: <4E2DBEBC.6050809@easy-emacs.de> (raw)
In-Reply-To: <CAMXnza0NBN1B9Di3d+ig3uH1+NEgzhi7BJxDF-iX4S7CYtS5tQ@mail.gmail.com>

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...



  parent reply	other threads:[~2011-07-25 19:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-23 18:29 Using date ranges in emacs notmuch search suvayu ali
2011-07-25 15:55 ` Michal Sojka
2011-07-25 16:09   ` suvayu ali
2011-07-25 19:06 ` Andreas Röhler [this message]
2011-07-25 19:32   ` suvayu ali
2011-07-26  6:39     ` Andreas Röhler
2011-07-26  9:51       ` suvayu ali

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=4E2DBEBC.6050809@easy-emacs.de \
    --to=andreas.roehler@easy-emacs.de \
    --cc=help-gnu-emacs@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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.