Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / 51 / 0d123d06b2ca2b4bbd6e5a97fb6395e5cb2c24
1 Return-Path: <tomi.ollila@iki.fi>\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 5B09C431E64\r
6         for <notmuch@notmuchmail.org>; Mon, 30 Jan 2012 00:23:29 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         autolearn=disabled\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 AOPTxbhJgBQv for <notmuch@notmuchmail.org>;\r
16         Mon, 30 Jan 2012 00:23:29 -0800 (PST)\r
17 Received: from guru.guru-group.fi (guru-group.fi [87.108.86.66])\r
18         by olra.theworths.org (Postfix) with ESMTP id E345B431FBC\r
19         for <notmuch@notmuchmail.org>; Mon, 30 Jan 2012 00:23:28 -0800 (PST)\r
20 Received: by guru.guru-group.fi (Postfix, from userid 501)\r
21         id 3ADD068056; Mon, 30 Jan 2012 10:23:31 +0200 (EET)\r
22 From: Tomi Ollila <tomi.ollila@iki.fi>\r
23 To: Aaron Ecay <aaronecay@gmail.com>, notmuch@notmuchmail.org\r
24 Subject: Re: [PATCH 2/2] emacs: Quote MML tags in replies\r
25 In-Reply-To: <1327817229-18124-2-git-send-email-aaronecay@gmail.com>\r
26 References: <20120126191654.GF1940@mit.edu>\r
27         <1327817229-18124-1-git-send-email-aaronecay@gmail.com>\r
28         <1327817229-18124-2-git-send-email-aaronecay@gmail.com>\r
29 User-Agent: Notmuch/0.11+116~g34d80c9 (http://notmuchmail.org) Emacs/23.3.1\r
30         (x86_64-unknown-linux-gnu)\r
31 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
32         $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
33         !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
34 Date: Mon, 30 Jan 2012 10:23:31 +0200\r
35 Message-ID: <m2wr89ioos.fsf@guru.guru-group.fi>\r
36 MIME-Version: 1.0\r
37 Content-Type: text/plain; charset=utf-8\r
38 Content-Transfer-Encoding: quoted-printable\r
39 X-BeenThere: notmuch@notmuchmail.org\r
40 X-Mailman-Version: 2.1.13\r
41 Precedence: list\r
42 List-Id: "Use and development of the notmuch mail system."\r
43         <notmuch.notmuchmail.org>\r
44 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
45         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
46 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
47 List-Post: <mailto:notmuch@notmuchmail.org>\r
48 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
49 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
50         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
51 X-List-Received-Date: Mon, 30 Jan 2012 08:23:29 -0000\r
52 \r
53 On Sun, 29 Jan 2012 01:07:08 -0500, Aaron Ecay <aaronecay@gmail.com> wrote:\r
54 > Emacs message-mode uses certain text strings to indicate how to attach\r
55 > files to outgoing mail.  If these are present in the text of an email,\r
56 > and a user is tricked into replying to the message, the user=E2=80=99s fi=\r
57 les\r
58 > could be exposed.\r
59 > ---\r
60 \r
61 [ ... ]\r
62 \r
63 >=20=20\r
64 > -  (message-goto-body))\r
65 > +  (message-goto-body)\r
66 > +  (mml-quote-region (point) (mark)))\r
67 \r
68 As asked before, comment why mmm-quote-region is needed=20\r
69 and why (mark) is used instead of (point-max) is there.\r
70 We know the reasons but future viewers of the code will\r
71 wonder a while...\r
72 \r
73 Tomi\r