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 A5919431FD0 for ; Mon, 16 May 2011 09:52:40 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.29 X-Spam-Level: X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] 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 rB4x8CDTNAjQ for ; Mon, 16 May 2011 09:52:40 -0700 (PDT) Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu [131.215.239.19]) by olra.theworths.org (Postfix) with ESMTP id 14EDD431FB6 for ; Mon, 16 May 2011 09:52:40 -0700 (PDT) Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1]) by fire-doxen-postvirus (Postfix) with ESMTP id 7D17A32805F; Mon, 16 May 2011 09:47:05 -0700 (PDT) X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new Received: from servo.finestructure.net (cpe-98-149-172-122.socal.res.rr.com [98.149.172.122]) (Authenticated sender: jrollins) by fire-doxen-submit (Postfix) with ESMTP id 8A4D92E50DDF; Mon, 16 May 2011 09:47:01 -0700 (PDT) Received: by servo.finestructure.net (Postfix, from userid 1000) id 32713156; Mon, 16 May 2011 09:52:35 -0700 (PDT) From: Jameson Graef Rollins To: Stewart Smith , Thomas Jost , notmuch Subject: Re: Multiple sender identities (composing) In-Reply-To: <87k4dqkb1n.fsf@flamingspork.com> References: <87vcxb0za4.fsf@flamingspork.com> <8762pb55w4.fsf@thor.loria.fr> <87k4dqkb1n.fsf@flamingspork.com> User-Agent: Notmuch/0.6 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) Date: Mon, 16 May 2011 09:52:32 -0700 Message-ID: <87wrhqa8q7.fsf@servo.factory.finestructure.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" 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: Mon, 16 May 2011 16:52:40 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable On Mon, 16 May 2011 11:52:43 +0200, Thomas Jost wro= te: > On Mon, 16 May 2011 19:29:07 +1000, Stewart Smith wrote: > > Thought I'd share this bit of my .emacs snippet that may be useful to go > > on the emacs tips page. > >=20 > > This does the following: > > - sets up a list of possible identities to have mail From > > - on composing mail, it prompts you for who you want to send mail from > > - pressing enter will give you the default (first in the list) > > - otherwise you have tab completion This is great, guys. I've been wanting to get something like this working for a while now. Have you guys looked at home message-mode does bbdb address completion in the To: and From: headers? It has the nice benefit of being able to tab through all full addresses for a bbdb entry. It would be nice to have this function fill in a default address, with the cursor at the end of the address, and then just tab through all the options without having to type in anything. ido is pretty cool, though, and accomplishes a similar effect. It would be nice to pull the addresses from the notmuch config, eg: notmuch config get user.primary_email notmuch config get user.other_email I would ideally like to be able to choose the From: address right before sending, as opposed to right before composing. Has anyone tried to get that working? I was not having much luck with send-hooks, since it looks like it expects the message to be complete at that point. jamie. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBCAAGBQJN0VZQAAoJEO00zqvie6q8QmUP/1eRoQ54eDIT2P9GF/gW4nj6 +ak/Pmhm6rW92+BsUr8ap6nZ5tRm57fBRDsFI8u9sZhJLJ3APYc6DU29VzR98F/Q ZvOxrYFymmLB5B8eETYflDLuqQl9Rp0cB61r8KdJzUh3pzLRbWwyE0Sesey5B4EV HdEL36dAEk3tbYJDrvx9VHKE7FfEba1TLj1Ygsodv0Wq8Rd2VuBuyie3RV3uO3oz QUZXqU0T8ZtWRK0zuWM7tU24j5w4Oo9bqVWLMI7hoa/b1zuk9in9IiLoqN0jVKR8 7LKyS3FqpGmK8WUSrCaPYY4tHhKApixEF07ENTa3nsy+W5qQ6hqXaKwuWKFuRWl6 RTygQ8ihsGou6hXBjRBrth/4CdEhH05dIJEze0Q9NFvYYuYwaicODy5fjze336Ke Ie0+UdF38VbjUbZszkd28b+ViWmM1lohRBlPJxIq1yQOS6H2CJFymev2fWYESQUz iuvP86EvQKXvrcNr9Ux5fw3mZUeA5UbD6FNfoSQrKMeZwuXPU+RyEOhS6f5b47Qt dLUcHlBEtmK3obsQhb/rHdkHJ3UNx7UQlYS9PQ13BWGf1SpXGoVwTjTOY7Pig7P/ 3WyiAH1XZQzoLAez/S8GAD2prcXBhUSSMYtV1Ve3kBcNWdjOk3Q1v5X4dVPzMoej H1mZmvDsuiIgP5K4e0Ht =206w -----END PGP SIGNATURE----- --=-=-=--