From: Ian Kelling Date: Tue, 8 Apr 2014 00:36:26 +0000 (+1700) Subject: gnus-alias integration bug X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9f77e7c043e7808a72d49fea3082bf4779d40007;p=notmuch-archives.git gnus-alias integration bug --- diff --git a/58/7365b52327401f346f0966738c6903a500fd6a b/58/7365b52327401f346f0966738c6903a500fd6a new file mode 100644 index 000000000..9b2a84df2 --- /dev/null +++ b/58/7365b52327401f346f0966738c6903a500fd6a @@ -0,0 +1,80 @@ +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 17D71431FBC + for ; Mon, 7 Apr 2014 17:36:58 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.7 +X-Spam-Level: +X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7] + 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 3o4ORuMMopWx for ; + Mon, 7 Apr 2014 17:36:54 -0700 (PDT) +Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com + [66.111.4.28]) + (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 28661431FB6 + for ; Mon, 7 Apr 2014 17:36:54 -0700 (PDT) +Received: from compute1.internal (compute1.nyi.mail.srv.osa [10.202.2.41]) + by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 5E6F720F69; + Mon, 7 Apr 2014 20:36:48 -0400 (EDT) +Received: from frontend2 ([10.202.2.161]) + by compute1.internal (MEProxy); Mon, 07 Apr 2014 20:36:48 -0400 +DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= + messagingengine.com; h=from:to:subject:date:message-id + :mime-version:content-type; s=smtpout; bh=EyLiQRXQJPu0KoQbx2mXLh + rJaFk=; b=TeMa73ClyyOrs3hVTvgLutaDtNEkkbhC6A6svHtYlh7A0JBnJbpNL+ + C0xJy98Tb0HPF2RElXV8Dlc4mmCRhfAVDAd7e3adBj3sE6SLbgq0BH3Gqk6Ea3dq + dHsAXRVtQg+uH4c44rIjXc4JyXaz/2UA8y4vXft8pWNnhbQ5Ea0lk= +X-Sasl-enc: tlL/d+OhXaCvnw58B517mQsh42JQlUIVYalaWqervlEy 1396917408 +Received: from treetowl.lan (unknown [67.160.118.141]) + by mail.messagingengine.com (Postfix) with ESMTPA id 2A7F8680114 + for ; Mon, 7 Apr 2014 20:36:48 -0400 (EDT) +Received: by treetowl.lan (Postfix, from userid 1000) + id B8C711813BB; Mon, 7 Apr 2014 17:36:26 -0700 (PDT) +From: Ian Kelling +To: notmuch@notmuchmail.org +Subject: gnus-alias integration bug +Date: Mon, 07 Apr 2014 17:36:26 -0700 +Message-ID: <87vbuk8xo5.fsf@treetowl.lan> +User-Agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.4.50 (gnu/linux) +MIME-Version: 1.0 +Content-Type: text/plain +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, 08 Apr 2014 00:36:58 -0000 + +gnus-alias allows you to set your identity based on the headers in the +message you are replying. This is an essential feature in a mail client +for me, I want to automatically reply as the person an email was sent to +for certain addresses. This does not work in notmuch. gnus sets the +variable message-reply-buffer when it sets up a message, which +gnus-alias uses to go grab headers. It creates a buffer named +*gnus article copy* which contains all the headers and the message body. It seems notmuch does not set this +variable when it sets up a reply. + +Here is an example of a rule needed to do this. + +(setq gnus-alias-identity-rules + (quote + (("work" + ("to" "work@example.com" previous) + "workidentity")))) + +