Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id E0C5E431FAF for ; Tue, 3 Jul 2012 01:40:38 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.29 X-Spam-Level: X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HyHjuJLB6Hwh for ; Tue, 3 Jul 2012 01:40:38 -0700 (PDT) Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu [131.215.239.19]) by olra.theworths.org (Postfix) with ESMTP id 78AE3431FAE for ; Tue, 3 Jul 2012 01:40:38 -0700 (PDT) Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1]) by earth-doxen-postvirus (Postfix) with ESMTP id 0984866E0026; Tue, 3 Jul 2012 01:40:38 -0700 (PDT) X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new Received: from finestructure.net (unknown [76.89.192.57]) (Authenticated sender: jrollins) by earth-doxen-submit (Postfix) with ESMTP id 21B0966E010C; Tue, 3 Jul 2012 01:40:34 -0700 (PDT) Received: by finestructure.net (Postfix, from userid 1000) id C2CA675A; Tue, 3 Jul 2012 01:40:33 -0700 (PDT) From: Jameson Graef Rollins To: Ethan , Mark Walters Subject: Re: [RFC PATCH 00/14] modular mail stores based on URIs In-Reply-To: References: <1340656899-5644-1-git-send-email-ethan@betacantrips.com> <877gutnmf1.fsf@qmul.ac.uk> <87k3yrmahu.fsf@qmul.ac.uk> User-Agent: Notmuch/0.13.2+54~ga0426dc (http://notmuchmail.org) Emacs/23.4.1 (x86_64-pc-linux-gnu) Date: Tue, 03 Jul 2012 01:40:31 -0700 Message-ID: <87obnx8cg0.fsf@servo.finestructure.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Cc: notmuch@notmuchmail.org X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jul 2012 08:40:39 -0000 --=-=-= On Sun, Jul 01 2012, Ethan wrote: >> I wonder if the following would be practical: use // as the field >> separator: >> >> e.g. mbox://filename//start_of_message+length >> >> I think 2 consecutive slashes // is about the only thing we can assume >> is not in the path or filename. Since it is not in the filename I think >> parsing should be trivial (thus avoiding the extra library). >> > > Can you explain what you mean when you say that two consecutive slashes > can't appear in a URL? Ordinary filesystem paths can contain them, and so > can file: URLs. (I just looked up file:///home/ethan///////tmp and Firefox > handled that OK.) Does firefox resolve this as /home/ethan/tmp, or /home/ethan///////tmp? For me iceweasel resolves it as /home/jrollins/tmp. I think this is might be the behavior to which Mark is referring. jamie. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCAAGBQJP8q//AAoJEO00zqvie6q8Ld8QALTmvwMrd/OnUlRezWjPAlQx 5v33nIS+cdOqswrjJOlph4xgCkJNcU0DLj0EYrg30ISh1BjPilD7ugl64QzsKXwC NGgeYVARpQcFWSAjxmyUhAG7BocrPyLv1Wr8fQA1+CLgKTqYqMxXwhq5dpNkNDeW z6bKXv6rn2bSapRrlxULh25cVtwU5HHly+d1Cswax7KlNKX9UNdi+SiuA/2n5HKB Ya7i9M6jAF7m5UgrjGEyRk1OqIXUS3behnLW4223X+alzdEP7SCuYSJnz6kE17DW gYfuLAu78WKPM19dUkuQ/KWfggLJIK2MQea96Z3hWhGMKs3LZ0zz2mweYIa+oLT1 JEx1idNmAYn0cEXHEu4AJsszntIWxu9N60TYXjn8vbhiTXQtb83C8R3EK9xYNHs6 5p99BnU0zg7lsArRq+fYxEQb3E0PXhyfTsSu2cLKxb0SpfteF1rx0XNw8eoDxRhA meUBRHnSB4HqKzkyFpz3VZl2QTkvwC1lkAbAlOdpvbltydJMtls6mrNX1+UKgG07 Lll0p3cLjINbO2VwlKHUhy70oc3vm/gSDTVo/IR1218Kl1gYuhCORuiubiFRSRQz OXZjUYdnI7C5MArWWnpws6/CreDnhTIpYA7JGpSkZIMhG+oK27EvqplYKw0M95N7 MiutqLAFxGEfHbsDd0Fz =ZslS -----END PGP SIGNATURE----- --=-=-=--