unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* $(date ...)..$(date ...) request from Emacs
@ 2013-08-24 10:44 Bastien
  2013-08-24 10:49 ` Tomi Ollila
  0 siblings, 1 reply; 4+ messages in thread
From: Bastien @ 2013-08-24 10:44 UTC (permalink / raw)
  To: notmuch

Hi again,

notmuch search $(date +%s -d 2009-10-01)..$(date +%s -d 2009-10-02)

works wonders from the command line, but not from within Emacs:

M-x notmuch-search RET $(date +%s -d 2009-10-01)..$(date +%s -d 2009-10-02)

[Sat Aug 24 12:39:15 2013]
A Xapian exception occurred performing query: Unknown range operation
Query string was: $(date +%s -d 2009-10-01)..$(date +%s -d 2009-10-02)
command: notmuch search --format\=sexp --format-version\=1 --sort\=newest-first \$\(date\ \+\%s\ -d\ 2009-10-01\)..\$\(date\ \+\%s\ -d\ 2009-10-02\)
exit status: 1
stderr:
A Xapian exception occurred performing query: Unknown range operation
Query string was: $(date +%s -d 2009-10-01)..$(date +%s -d 2009-10-02)

I see --format=sexp -- does that mean we need to protect those
kinds of requests somehow?

Thanks for your help!

-- 
 Bastien

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-08-26 17:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-24 10:44 $(date ...)..$(date ...) request from Emacs Bastien
2013-08-24 10:49 ` Tomi Ollila
2013-08-24 12:20   ` Suvayu Ali
2013-08-25  7:04     ` Bastien

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).