Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / 22 / 46cd230dcfd67dfcb3c31db5eb2b8ef557187e
1 Return-Path: <BATV+bbc4756b788e67be553a+2433+infradead.org+hohndel@bombadil.srs.infradead.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 72430417339\r
6         for <notmuch@notmuchmail.org>; Wed, 21 Apr 2010 19:37:43 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -4.2\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5\r
12         tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3] autolearn=unavailable\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 8Xdh4hB3a1SW for <notmuch@notmuchmail.org>;\r
16         Wed, 21 Apr 2010 19:37:41 -0700 (PDT)\r
17 Received: from bombadil.infradead.org (bombadil.infradead.org [18.85.46.34])\r
18         by olra.theworths.org (Postfix) with ESMTP id C83C5418C37\r
19         for <notmuch@notmuchmail.org>; Wed, 21 Apr 2010 19:37:39 -0700 (PDT)\r
20 Received: from localhost ([::1] helo=x200.gr8dns.org)\r
21         by bombadil.infradead.org with esmtp (Exim 4.69 #1 (Red Hat Linux))\r
22         id 1O4mIK-0005P4-VV; Thu, 22 Apr 2010 02:37:37 +0000\r
23 Received: by x200.gr8dns.org (Postfix, from userid 500)\r
24         id 6063FC0212; Wed, 21 Apr 2010 19:37:36 -0700 (PDT)\r
25 From: Dirk Hohndel <hohndel@infradead.org>\r
26 To: Carl Worth <cworth@cworth.org>, Michal Sojka <sojkam1@fel.cvut.cz>,\r
27         Sebastian Spaeth <Sebastian@SSpaeth.de>\r
28 Subject: Re: [PATCH 1/2] Add 'cat' subcommand\r
29 In-Reply-To: <871ve8wc30.fsf@yoom.home.cworth.org>\r
30 References: <1271747793-17507-1-git-send-email-sojkam1@fel.cvut.cz>\r
31         <87pr1u7fnu.fsf@ut.hh.sledj.net> <87fx2qmtok.fsf@SSpaeth.de>\r
32         <4BCD7EA0.3080505@fel.cvut.cz>\r
33         <871ve8wc30.fsf@yoom.home.cworth.org>\r
34 Date: Wed, 21 Apr 2010 19:37:36 -0700\r
35 Message-ID: <m3d3xsyzyn.fsf@x200.gr8dns.org>\r
36 User-Agent: notmuch 0.2-52-ga28d2fe (Emacs 23.1.1/i386-redhat-linux-gnu)\r
37 MIME-Version: 1.0\r
38 Content-Type: text/plain; charset=us-ascii\r
39 X-SRS-Rewrite: SMTP reverse-path rewritten from <hohndel@infradead.org> by\r
40         bombadil.infradead.org See http://www.infradead.org/rpr.html\r
41 Cc: notmuch@notmuchmail.org\r
42 X-BeenThere: notmuch@notmuchmail.org\r
43 X-Mailman-Version: 2.1.13\r
44 Precedence: list\r
45 List-Id: "Use and development of the notmuch mail system."\r
46         <notmuch.notmuchmail.org>\r
47 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
48         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
49 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
50 List-Post: <mailto:notmuch@notmuchmail.org>\r
51 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
52 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
53         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
54 X-List-Received-Date: Thu, 22 Apr 2010 02:37:43 -0000\r
55 \r
56 On Wed, 21 Apr 2010 17:44:03 -0700, Carl Worth <cworth@cworth.org> wrote:\r
57 > On Tue, 20 Apr 2010 12:14:56 +0200, Michal Sojka <sojkam1@fel.cvut.cz> wrote:\r
58 > > On 20.4.2010 09:21, David Edmondson wrote:\r
59 > >  > I'm puzzled why you chose to pass a filename as the argument to 'cat'\r
60 > >  > rather than a message id (id:foo@bar.com)?\r
61 > > \r
62 > > The reason is that I want be able to distinguish between several \r
63 > > messages with the same id.\r
64\r
65 > All other commands currently accept the generic search terms to specify\r
66 > messages, (even a command like "notmuch reply" for which it would have\r
67 > been natural to accept only a single message).\r
68\r
69 > So I'd prefer to have this command behave just like all others and use\r
70 > the same naming.\r
71\r
72 > The question of how to unambiguously refer to a single file is\r
73 > orthogonal, (and similarly applies to all commands, such as "notmuch\r
74 > tag" etc.). I would recommend supporting a search syntax something like:\r
75\r
76 >       filename:/complete/path/to/file\r
77 \r
78 should we extend this to something generic that allows remote\r
79 specifications? \r
80 \r
81 URI:file/path/to/local/file\r
82 URI:ssh/user@host/path/to/file\r
83 URI:git/user@host/path/to/file\r
84 \r
85 or even (yikes)\r
86 \r
87 URI:ftp/user@host/path/to/file\r
88  \r
89 I'm using '/' to separate components, assuming that ':' should be used\r
90 only for keywords in the search syntax - if the parser is flexible\r
91 enough we could of course use the standard URI syntax instead\r
92 http://en.wikipedia.org/wiki/URI_scheme#Generic_syntax\r
93 \r
94 foo://username:password@example.com:8042/over/there/index.dtb?type=animal;name=ferret#nose\r
95 \r
96 That would allow to encode the query in a standard way in the remote\r
97 syntax... \r
98 \r
99 /D\r
100 \r
101 -- \r
102 Dirk Hohndel\r
103 Intel Open Source Technology Center\r