1 Return-Path: <gmn-notmuch@m.gmane.org>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 6B015431FD9
\r
6 for <notmuch@notmuchmail.org>; Sat, 24 Aug 2013 03:45:11 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_NONE=-0.0001] autolearn=disabled
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id eEgUOkeJD-Mi for <notmuch@notmuchmail.org>;
\r
16 Sat, 24 Aug 2013 03:45:06 -0700 (PDT)
\r
17 Received: from plane.gmane.org (plane.gmane.org [80.91.229.3])
\r
18 (using TLSv1 with cipher AES256-SHA (256/256 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id DBD62431FBD
\r
21 for <notmuch@notmuchmail.org>; Sat, 24 Aug 2013 03:45:05 -0700 (PDT)
\r
22 Received: from list by plane.gmane.org with local (Exim 4.69)
\r
23 (envelope-from <gmn-notmuch@m.gmane.org>) id 1VDBL5-00025o-UE
\r
24 for notmuch@notmuchmail.org; Sat, 24 Aug 2013 12:45:03 +0200
\r
25 Received: from mar75-2-81-56-68-112.fbx.proxad.net ([81.56.68.112])
\r
26 by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
\r
28 for <notmuch@notmuchmail.org>; Sat, 24 Aug 2013 12:45:03 +0200
\r
29 Received: from bzg by mar75-2-81-56-68-112.fbx.proxad.net with local (Gmexim
\r
30 0.1 (Debian)) id 1AlnuQ-0007hv-00
\r
31 for <notmuch@notmuchmail.org>; Sat, 24 Aug 2013 12:45:03 +0200
\r
32 X-Injected-Via-Gmane: http://gmane.org/
\r
33 To: notmuch@notmuchmail.org
\r
34 From: Bastien <bzg@altern.org>
\r
35 Subject: $(date ...)..$(date ...) request from Emacs
\r
36 Date: Sat, 24 Aug 2013 12:44:07 +0200
\r
38 Message-ID: <87d2p3s70o.fsf@bzg.ath.cx>
\r
40 Content-Type: text/plain
\r
41 X-Complaints-To: usenet@ger.gmane.org
\r
42 X-Gmane-NNTP-Posting-Host: mar75-2-81-56-68-112.fbx.proxad.net
\r
43 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
\r
44 Cancel-Lock: sha1:KnA3DT96TqfQRfUQmNm51txT5UQ=
\r
45 X-BeenThere: notmuch@notmuchmail.org
\r
46 X-Mailman-Version: 2.1.13
\r
48 List-Id: "Use and development of the notmuch mail system."
\r
49 <notmuch.notmuchmail.org>
\r
50 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
51 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
52 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
53 List-Post: <mailto:notmuch@notmuchmail.org>
\r
54 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
55 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
56 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
57 X-List-Received-Date: Sat, 24 Aug 2013 10:45:11 -0000
\r
61 notmuch search $(date +%s -d 2009-10-01)..$(date +%s -d 2009-10-02)
\r
63 works wonders from the command line, but not from within Emacs:
\r
65 M-x notmuch-search RET $(date +%s -d 2009-10-01)..$(date +%s -d 2009-10-02)
\r
67 [Sat Aug 24 12:39:15 2013]
\r
68 A Xapian exception occurred performing query: Unknown range operation
\r
69 Query string was: $(date +%s -d 2009-10-01)..$(date +%s -d 2009-10-02)
\r
70 command: notmuch search --format\=sexp --format-version\=1 --sort\=newest-first \$\(date\ \+\%s\ -d\ 2009-10-01\)..\$\(date\ \+\%s\ -d\ 2009-10-02\)
\r
73 A Xapian exception occurred performing query: Unknown range operation
\r
74 Query string was: $(date +%s -d 2009-10-01)..$(date +%s -d 2009-10-02)
\r
76 I see --format=sexp -- does that mean we need to protect those
\r
77 kinds of requests somehow?
\r
79 Thanks for your help!
\r