Re: [PATCH 5/5] man: Update notmuch-dump(1) for new batch-tag format
[notmuch-archives.git] / 75 / c437b2d71744bc89704da115174f6a2333ad8a
1 Return-Path: <cworth@cworth.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 612A6431FBC;\r
6         Sat, 28 Nov 2009 12:12:06 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 Received: from olra.theworths.org ([127.0.0.1])\r
9         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
10         with ESMTP id XkahzD7eA9yy; Sat, 28 Nov 2009 12:12:05 -0800 (PST)\r
11 Received: from cworth.org (localhost [127.0.0.1])\r
12         by olra.theworths.org (Postfix) with ESMTP id D2601431FAE;\r
13         Sat, 28 Nov 2009 12:12:04 -0800 (PST)\r
14 From: Carl Worth <cworth@cworth.org>\r
15 To: Jed Brown <jed@59A2.org>, notmuch@notmuchmail.org\r
16 In-Reply-To: <87638uv4ar.fsf@59A2.org>\r
17 References: <877htavdn1.fsf@59A2.org> <87vdgupm8w.fsf@yoom.home.cworth.org>\r
18         <87638uv4ar.fsf@59A2.org>\r
19 Date: Sat, 28 Nov 2009 12:11:49 -0800\r
20 Message-ID: <87r5ripfy2.fsf@yoom.home.cworth.org>\r
21 MIME-Version: 1.0\r
22 Content-Type: multipart/mixed; boundary="=-=-="\r
23 Subject: Re: [notmuch] Mailing list Reply-To munging and notmuch reply\r
24 X-BeenThere: notmuch@notmuchmail.org\r
25 X-Mailman-Version: 2.1.12\r
26 Precedence: list\r
27 List-Id: "Use and development of the notmuch mail system."\r
28         <notmuch.notmuchmail.org>\r
29 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
30         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
31 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
32 List-Post: <mailto:notmuch@notmuchmail.org>\r
33 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
34 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
35         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
36 X-List-Received-Date: Sat, 28 Nov 2009 20:12:06 -0000\r
37 \r
38 --=-=-=\r
39 Content-Type: multipart/signed; boundary="==-=-=";\r
40         micalg=pgp-sha1; protocol="application/pgp-signature"\r
41 \r
42 --==-=-=\r
43 \r
44 On Sat, 28 Nov 2009 20:26:52 +0100, Jed Brown <jed@59A2.org> wrote:\r
45 > I'm not sure I follow (at least not when comparing to the sanitized\r
46 > headers shown in the online archives).  Could you send me one of these\r
47 > headers?\r
48 \r
49 No problem. See attached.\r
50 \r
51 The mail on cairo-commit has a From: address that is auto-generated by\r
52 the username of the committer, (so is likely not even valid for a\r
53 reply). The To: address (cairo-commit@cairographics.org) also does not\r
54 accept any mail. So a reply to either of those addresses will not be\r
55 useful.\r
56 \r
57 Instead, the mail sets a Reply-To: to the general\r
58 cairo@cairographics.org list.\r
59 \r
60 So that's not your typical Reply-to munging on a mailing list, (in this\r
61 case, there's no incoming mail where the munging could break a user's\r
62 manually set Reply-To header).\r
63 \r
64 And it sounds like your idea would not break the replying to this list,\r
65 (replies would still be directed to cairo@ which is what I want). If I\r
66 understand correctly, it would still also reply to cairo-commit@ which\r
67 will end up bouncing, until we add something for "reply to sender only".\r
68 And that's the same behavior I've had with any MUA and this list.\r
69 \r
70 > When mailing lists munge, do they ever just add to that field (RFC-2822\r
71 > says Reply-To may contain multiple addresses)?\r
72 \r
73 I have no idea about that myself.\r
74 \r
75 -Carl\r
76 \r
77 \r
78 --==-=-=\r
79 Content-Type: application/pgp-signature\r
80 \r
81 -----BEGIN PGP SIGNATURE-----\r
82 Version: GnuPG v1.4.10 (GNU/Linux)\r
83 \r
84 iD8DBQFLEYQF6JDdNq8qSWgRAmONAKCFqGfLIJY1Znj4bV36KWT4H2JaHQCeJHwf\r
85 uY+QsmAuukfA+UUeAYv5k48=\r
86 =2G+K\r
87 -----END PGP SIGNATURE-----\r
88 --==-=-=--\r
89 \r
90 --=-=-=\r
91 Content-Disposition: attachment; filename=cairo-commit-sample.mail\r
92 \r
93 Return-path: <cairo-commit-bounces@lists.cairographics.org>\r
94 Envelope-to: cworth@localhost\r
95 Delivery-date: Fri, 27 Nov 2009 04:50:53 -0800\r
96 Received: from localhost ([127.0.0.1] helo=yoom.home.cworth.org)\r
97         by yoom.home.cworth.org with esmtp (Exim 4.69)\r
98         (envelope-from <cairo-commit-bounces@lists.cairographics.org>)\r
99         id 1NE0Hk-0008Lf-W7\r
100         for cworth@localhost; Fri, 27 Nov 2009 04:50:53 -0800\r
101 X-Original-To: cworth@cworth.org\r
102 Delivered-To: cworth@cworth.org\r
103 Received: from olra.theworths.org [82.165.184.25]\r
104         by yoom.home.cworth.org with IMAP (fetchmail-6.3.9-rc2)\r
105         for <cworth@localhost> (single-drop); Fri, 27 Nov 2009 04:50:52 -0800 (PST)\r
106 Received: from localhost (localhost [127.0.0.1])\r
107         by olra.theworths.org (Postfix) with ESMTP id A35EC431FBC\r
108         for <cworth@cworth.org>; Fri, 27 Nov 2009 04:50:19 -0800 (PST)\r
109 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
110 X-Spam-Flag: NO\r
111 X-Spam-Score: -1.93\r
112 X-Spam-Level: \r
113 X-Spam-Status: No, score=-1.93 tagged_above=-999 required=2 tests=[AWL=-0.931,\r
114         BAYES_50=0.001, RCVD_IN_DNSWL_LOW=-1] autolearn=ham\r
115 Received: from olra.theworths.org ([127.0.0.1])\r
116         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
117         with ESMTP id 58abAJlDmp9X for <cworth@cworth.org>;\r
118         Fri, 27 Nov 2009 04:50:19 -0800 (PST)\r
119 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177])\r
120         by olra.theworths.org (Postfix) with ESMTP id ED626431FAE\r
121         for <cworth@cworth.org>; Fri, 27 Nov 2009 04:50:18 -0800 (PST)\r
122 Received: from gabe.freedesktop.org (localhost [127.0.0.1])\r
123         by gabe.freedesktop.org (Postfix) with ESMTP id CC2099F6BA;\r
124         Fri, 27 Nov 2009 04:50:18 -0800 (PST)\r
125 X-Original-To: cairo-commit@cairographics.org\r
126 Delivered-To: cairo-commit@cairographics.org\r
127 Received: from kemper.freedesktop.org (kemper.freedesktop.org\r
128         [131.252.210.178])\r
129         by gabe.freedesktop.org (Postfix) with ESMTP id 36C809F643\r
130         for <cairo-commit@cairographics.org>;\r
131         Fri, 27 Nov 2009 04:50:17 -0800 (PST)\r
132 Received: by kemper.freedesktop.org (Postfix, from userid 2987)\r
133         id C147710051; Fri, 27 Nov 2009 04:50:16 -0800 (PST)\r
134 To: cairo-commit@cairographics.org\r
135 X-Git-Repository: git://git.cairographics.org/git/cairo\r
136 Message-Id: <20091127125016.C147710051@kemper.freedesktop.org>\r
137 Date: Fri, 27 Nov 2009 04:50:16 -0800 (PST)\r
138 From: ajohnson@kemper.freedesktop.org (Adrian Johnson)\r
139 Subject: [cairo-commit] src/cairo-pdf-surface.c\r
140 X-BeenThere: cairo-commit@lists.cairographics.org\r
141 X-Mailman-Version: 2.1.9\r
142 Precedence: list\r
143 Reply-To: cairo@cairographics.org\r
144 List-Id: CVS commit messages for cairo <cairo-commit.lists.cairographics.org>\r
145 List-Unsubscribe: <http://lists.cairographics.org/mailman/listinfo/cairo-commit>, \r
146         <mailto:cairo-commit-request@lists.cairographics.org?subject=unsubscribe>\r
147 List-Archive: <http://lists.cairographics.org/archives/cairo-commit>\r
148 List-Post: <mailto:cairo-commit@lists.cairographics.org>\r
149 List-Help: <mailto:cairo-commit-request@lists.cairographics.org?subject=help>\r
150 List-Subscribe: <http://lists.cairographics.org/mailman/listinfo/cairo-commit>, \r
151         <mailto:cairo-commit-request@lists.cairographics.org?subject=subscribe>\r
152 MIME-Version: 1.0\r
153 Content-Type: text/plain; charset="us-ascii"\r
154 Content-Transfer-Encoding: 7bit\r
155 Sender: cairo-commit-bounces@lists.cairographics.org\r
156 Errors-To: cairo-commit-bounces@lists.cairographics.org\r
157 \r
158  src/cairo-pdf-surface.c |    5 +----\r
159  1 file changed, 1 insertion(+), 4 deletions(-)\r
160 \r
161 New commits:\r
162 commit 02d7e123d640d62db46ef03d7faecbc7598444e1\r
163 Author: Adrian Johnson <ajohnson@redneon.com>\r
164 Date:   Fri Nov 27 23:11:56 2009 +1030\r
165 \r
166     PDF: Remove extraneous \n from end of jpeg/jp2 data\r
167     \r
168     PDF requires a '\n' between the end of stream data and the "endstream"\r
169     that is not included in the stream length. Ensure this is always added\r
170     in _close_stream where it is not included in the stream length.\r
171     \r
172     Previously the jpeg/jp2 embedding functions were adding the '\n'. This\r
173     resulted in the '\n' becoming part of the stream data.\r
174 \r
175 diff --git a/src/cairo-pdf-surface.c b/src/cairo-pdf-surface.c\r
176 index 62178dc..e8335f0 100644\r
177 --- a/src/cairo-pdf-surface.c\r
178 +++ b/src/cairo-pdf-surface.c\r
179 @@ -1332,13 +1332,12 @@ _cairo_pdf_surface_close_stream (cairo_pdf_surface_t *surface)\r
180         surface->output = surface->pdf_stream.old_output;\r
181         _cairo_pdf_operators_set_stream (&surface->pdf_operators, surface->output);\r
182         surface->pdf_stream.old_output = NULL;\r
183 -       _cairo_output_stream_printf (surface->output,\r
184 -                                    "\n");\r
185      }\r
186  \r
187      length = _cairo_output_stream_get_position (surface->output) -\r
188         surface->pdf_stream.start_offset;\r
189      _cairo_output_stream_printf (surface->output,\r
190 +                                "\n"\r
191                                  "endstream\n"\r
192                                  "endobj\n");\r
193  \r
194 @@ -2010,7 +2009,6 @@ _cairo_pdf_surface_emit_jpx_image (cairo_pdf_surface_t   *surface,\r
195         return status;\r
196  \r
197      _cairo_output_stream_write (surface->output, mime_data, mime_data_length);\r
198 -    _cairo_output_stream_printf (surface->output, "\n");\r
199      status = _cairo_pdf_surface_close_stream (surface);\r
200  \r
201      return status;\r
202 @@ -2058,7 +2056,6 @@ _cairo_pdf_surface_emit_jpeg_image (cairo_pdf_surface_t   *surface,\r
203         return status;\r
204  \r
205      _cairo_output_stream_write (surface->output, mime_data, mime_data_length);\r
206 -    _cairo_output_stream_printf (surface->output, "\n");\r
207      status = _cairo_pdf_surface_close_stream (surface);\r
208  \r
209      return status;\r
210 _______________________________________________\r
211 cairo-commit mailing list\r
212 cairo-commit@lists.cairographics.org\r
213 http://lists.cairographics.org/mailman/listinfo/cairo-commit\r
214 \r
215 \r
216 --=-=-=--\r