unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Bremner <david@tethera.net>
To: Michal Nazarewicz <mina86@mina86.com>, notmuch@notmuchmail.org
Subject: Re: [PATCH v3 6/9] lib: add date range query support
Date: Mon, 17 Sep 2012 13:10:50 -0300	[thread overview]
Message-ID: <87obl4fx4l.fsf@convex-new.cs.unb.ca> (raw)
In-Reply-To: <xa1tipbczo68.fsf@mina86.com>

Michal Nazarewicz <mina86@mina86.com> writes:

> On Thu, Sep 13 2012, David Bremner wrote:
>> I don't find ranges being half-open by default to be very
>> intuitive. Perhaps I don't program in python enough.
[snip]
> 	date:2012/01/01..2012/01/01 + 1 day
>
> in my opinion, that should give results from the first of January only,
> since “+ 1 day” indicates in a way how long user want the period to be.

Sorry, still not convinced.  My comment about python was more or less a
joke; I get the analogy with C, but (1) I don't think C is a reasonable
UI guide, and (2), at least in the C case, the half openness of the
range is explicitly given by the operators used.

d

  parent reply	other threads:[~2012-09-17 16:10 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-12 21:27 [PATCH v3 0/9] notmuch search date:since..until query support Jani Nikula
2012-09-12 21:27 ` [PATCH v3 1/9] build: drop the -Wswitch-enum warning Jani Nikula
2012-09-12 21:27 ` [PATCH v3 2/9] parse-time-string: add a date/time parser to notmuch Jani Nikula
2012-09-13 11:10   ` Michal Nazarewicz
2012-09-13 12:07     ` Jani Nikula
2012-09-17 14:13       ` Michal Nazarewicz
2012-09-17 15:54         ` Jani Nikula
2012-09-13 12:48     ` Tomi Ollila
2012-09-25 11:56   ` Michal Sojka
2012-10-03 18:49     ` Jani Nikula
2012-10-03 19:02       ` Michal Sojka
2012-09-12 21:27 ` [PATCH v3 3/9] test: add new test tool parse-time for date/time parser Jani Nikula
2012-09-12 21:27 ` [PATCH v3 4/9] test: add smoke tests for the date/time parser module Jani Nikula
2012-09-25 12:05   ` [PATCH] test: Improve " Michal Sojka
2012-10-03 20:32     ` Jani Nikula
2012-10-04 11:02       ` Michal Sojka
2012-09-12 21:27 ` [PATCH v3 5/9] build: build parse-time-string as part of the notmuch lib and static cli Jani Nikula
2012-09-12 21:27 ` [PATCH v3 6/9] lib: add date range query support Jani Nikula
2012-09-13 11:14   ` Michal Nazarewicz
2012-09-13 11:32     ` Tomi Ollila
2012-09-13 13:33       ` Jani Nikula
2012-09-17 15:11         ` Michal Nazarewicz
2012-09-13 12:32     ` David Bremner
2012-09-17 15:03       ` Michal Nazarewicz
2012-09-17 15:35         ` Tomi Ollila
2012-09-17 16:10         ` David Bremner [this message]
2012-09-25 12:15     ` Michal Sojka
2012-09-12 21:27 ` [PATCH v3 7/9] test: add tests for date:since..until range queries Jani Nikula
2012-09-12 21:27 ` [PATCH v3 8/9] man: document the " Jani Nikula
2012-09-12 21:27 ` [PATCH v3 9/9] NEWS: date range search support Jani Nikula

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

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87obl4fx4l.fsf@convex-new.cs.unb.ca \
    --to=david@tethera.net \
    --cc=mina86@mina86.com \
    --cc=notmuch@notmuchmail.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 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).