[PATCH 4/8] lib: extend private string map API with iterators
[notmuch-archives.git] / 9c / 5af4a5955767e46cbcde5bd02faf17bae560e6
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 EA90C431FAF\r
6         for <notmuch@notmuchmail.org>; Fri,  3 Feb 2012 03:54:09 -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 mJS45VyfXaFQ for <notmuch@notmuchmail.org>;\r
16         Fri,  3 Feb 2012 03:54:09 -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 2D307431FAE\r
19         for <notmuch@notmuchmail.org>; Fri,  3 Feb 2012 03:54:09 -0800 (PST)\r
20 Received: by guru.guru-group.fi (Postfix, from userid 501)\r
21         id 0029768055; Fri,  3 Feb 2012 13:54:07 +0200 (EET)\r
22 From: Tomi Ollila <tomi.ollila@iki.fi>\r
23 To: Simon Campese <notmuchmail_org@campese.de>, notmuch@notmuchmail.org\r
24 Subject: Re: Set "From" based on "To" when replying\r
25 In-Reply-To: <87obtx5as1.fsf@tu-dortmund.de>\r
26 References: <87obtx5as1.fsf@tu-dortmund.de>\r
27 User-Agent: Notmuch/0.11+146~geb6dc33 (http://notmuchmail.org) Emacs/23.3.1\r
28         (x86_64-unknown-linux-gnu)\r
29 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
30         $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
31         !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
32 Date: Fri, 03 Feb 2012 13:54:07 +0200\r
33 Message-ID: <m2liokp1y8.fsf@guru.guru-group.fi>\r
34 MIME-Version: 1.0\r
35 Content-Type: text/plain; charset=us-ascii\r
36 X-BeenThere: notmuch@notmuchmail.org\r
37 X-Mailman-Version: 2.1.13\r
38 Precedence: list\r
39 List-Id: "Use and development of the notmuch mail system."\r
40         <notmuch.notmuchmail.org>\r
41 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
42         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
43 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
44 List-Post: <mailto:notmuch@notmuchmail.org>\r
45 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
46 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
47         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
48 X-List-Received-Date: Fri, 03 Feb 2012 11:54:10 -0000\r
49 \r
50 On Sat, 21 Jan 2012 16:35:10 +0100, Simon Campese <notmuchmail_org@campese.de> wrote:\r
51 > Dear Community,\r
52\r
53 > I've got my own domain and when registering or shopping at some website,\r
54 > I always use email addresses of the form "websitename@mydomain.org", so\r
55 > for example I use "amazon@mydomain.org" when shopping at amazon. The\r
56 > reason for this is categorizing incoming mail on the one hand, and\r
57 > immediately being able to spot the source of spam on the other hand. \r
58\r
59 > I would like to implement the following behaviour: When replying to a\r
60 > mail that has "something@mydomain.org" in the "To"-header, I would like\r
61 > to have the "From"-header of the reply to be automatically set to this\r
62 > address. \r
63\r
64 > Is there some kind of reply-hook in notmuch where one could put an\r
65 > appropriate function? \r
66 \r
67 You could (also) check this (or some other with same name)\r
68 \r
69 https://github.com/altruizine/gnus-alias/blob/master/gnus-alias.el\r
70 \r
71 ( should not be gnus-spesific )\r
72 \r
73 I've planned to take a look and write a wiki page but I don't\r
74 promise doing any of that soon...\r
75 \r
76 > Thank you very much for your help,\r
77\r
78 > Simon\r
79 \r
80 Tomi\r