all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: suvayu ali <fatkasuvayu+linux@gmail.com>
To: Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Using date ranges in emacs notmuch search
Date: Sat, 23 Jul 2011 20:29:46 +0200	[thread overview]
Message-ID: <CAMXnza0NBN1B9Di3d+ig3uH1+NEgzhi7BJxDF-iX4S7CYtS5tQ@mail.gmail.com> (raw)

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.

-- 
Suvayu

Open source is the future. It sets us free.



             reply	other threads:[~2011-07-23 18:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-23 18:29 suvayu ali [this message]
2011-07-25 15:55 ` Using date ranges in emacs notmuch search Michal Sojka
2011-07-25 16:09   ` suvayu ali
2011-07-25 19:06 ` Andreas Röhler
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=CAMXnza0NBN1B9Di3d+ig3uH1+NEgzhi7BJxDF-iX4S7CYtS5tQ@mail.gmail.com \
    --to=fatkasuvayu+linux@gmail.com \
    --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.