From: Svend Sorensen Date: Tue, 5 Jun 2012 23:49:05 +0000 (+1700) Subject: Re: Any tips on emacs and different signatures per address X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=04ef131f2adf8c0b3f7a0f1fc172db3c4220607e;p=notmuch-archives.git Re: Any tips on emacs and different signatures per address --- diff --git a/93/c92f2cca380d5e9698e42ce055e8392c7cc399 b/93/c92f2cca380d5e9698e42ce055e8392c7cc399 new file mode 100644 index 000000000..dd2f7ccbe --- /dev/null +++ b/93/c92f2cca380d5e9698e42ce055e8392c7cc399 @@ -0,0 +1,91 @@ +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 172E2431FAF + for ; Tue, 5 Jun 2012 16:49:14 -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=[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 SKlKqb5s7UyB for ; + Tue, 5 Jun 2012 16:49:12 -0700 (PDT) +Received: from mail-pz0-f53.google.com (mail-pz0-f53.google.com + [209.85.210.53]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id EE1AC431FAE + for ; Tue, 5 Jun 2012 16:49:11 -0700 (PDT) +Received: by dadg9 with SMTP id g9so9955225dad.26 + for ; Tue, 05 Jun 2012 16:49:10 -0700 (PDT) +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=google.com; s=20120113; + h=from:to:subject:in-reply-to:references:user-agent:date:message-id + :mime-version:content-type:x-gm-message-state; + bh=uG0niZk1JcRxBHnDuGJfnjJdDF5a97BJ6SF2rXDqtsI=; + b=M+AGIC4cNWJELrg2Y7BRiTdcZeuQow/J6pRCX6OjLR3OKH4m9/PPdfPExBlbtfbEV3 + 2/EE8/bj/Gbzcol019beuL2XwN+8t4ZZ1QJlHHbyHVRfHPd0aokjfxbb8Ietf/th7747 + tYTV5i4DeJ8kAV0qREHV0pq/h+mFDQJKEiwLmN58ztAEYEHGLU+A1Z+fiDQTLRKMncB6 + xyzR7HUY5pebP8DLgjh/j+Cxa4j60fDCVpny0R5HnqNaIOde+spH6FqmaWIdOOa9RYzG + 8y+urZXa+dq5W0yZeOCWJa9e4Qehw98FyCNhjVkw0Ry8n/Jp8mU7eakNXCOx62c9+4Wo + 6EHw== +Received: by 10.68.190.40 with SMTP id gn8mr4015302pbc.118.1338940150209; + Tue, 05 Jun 2012 16:49:10 -0700 (PDT) +Received: from localhost (D-69-91-227-224.dhcp4.washington.edu. + [69.91.227.224]) + by mx.google.com with ESMTPS id rd7sm352781pbc.70.2012.06.05.16.49.08 + (version=TLSv1/SSLv3 cipher=OTHER); + Tue, 05 Jun 2012 16:49:09 -0700 (PDT) +From: Svend Sorensen +To: Bart Bunting , notmuch@notmuchmail.org +Subject: Re: Any tips on emacs and different signatures per address +In-Reply-To: +References: +User-Agent: Notmuch/0.12 (http://notmuchmail.org) Emacs/23.2.1 + (i486-pc-linux-gnu) +Date: Tue, 05 Jun 2012 16:49:05 -0700 +Message-ID: <87vcj5pbf2.fsf@ciffer.net> +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +X-Gm-Message-State: + ALoCoQnfYAoatLR73ouNkvCha+S753AXT1ICZ+/u1XhbxG4o6TQv05yNkKmd25xoDtCW53hluSdQ +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, 05 Jun 2012 23:49:14 -0000 + +On Wed, 06 Jun 2012 09:25:17 +1000, Bart Bunting wrote: +> +> I have several different email addresses that notmuch handles mail for. +> I am trying to understand how I can have multiple different signatures +> based on the account from which I am sending the email. +> +> One possibility looks like somehow using message-mode to do this but I +> can't quite figure it out. +> +> The other thing I would like in an ideal world is to change the bcc +> address to a different address again based on the from address of the +> email I am sending. + +I am using gnus-alias to change message settings based on my from +address. + +gnus-alias sets bcc, signature, etc. based on the from address. It can +also switch identities while in message mode. I haven't had any problems +using gnus-alias with notmuch or message-mode directly. (I don't use gnus.) + +I'd be happy to share my configuration. + +Svend