From f6ccba27acb9cae6cd2e22acd2959d2305c8cb31 Mon Sep 17 00:00:00 2001 From: Jameson Graef Rollins Date: Fri, 13 Jul 2012 09:11:21 +1700 Subject: [PATCH] Re: notmuch-emacs and bbdb --- 83/8c9dbf1796e421cdf274380bc98bfac79f6490 | 105 ++++++++++++++++++++++ 1 file changed, 105 insertions(+) create mode 100644 83/8c9dbf1796e421cdf274380bc98bfac79f6490 diff --git a/83/8c9dbf1796e421cdf274380bc98bfac79f6490 b/83/8c9dbf1796e421cdf274380bc98bfac79f6490 new file mode 100644 index 000000000..21c53b704 --- /dev/null +++ b/83/8c9dbf1796e421cdf274380bc98bfac79f6490 @@ -0,0 +1,105 @@ +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 612D9429E25 + for ; Thu, 12 Jul 2012 09:11:28 -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 cYUVcukr8EJ4 for ; + Thu, 12 Jul 2012 09:11:27 -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 0260A431FAE + for ; Thu, 12 Jul 2012 09:11:26 -0700 (PDT) +Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1]) + by fire-doxen-postvirus (Postfix) with ESMTP id 832C4328123; + Thu, 12 Jul 2012 09:11:26 -0700 (PDT) +X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new +Received: from finestructure.net (unknown [76.89.192.57]) + (Authenticated sender: jrollins) + by fire-doxen-submit (Postfix) with ESMTP id B4E852E507D2; + Thu, 12 Jul 2012 09:11:23 -0700 (PDT) +Received: by finestructure.net (Postfix, from userid 1000) + id 55AF13CA; Thu, 12 Jul 2012 09:11:23 -0700 (PDT) +From: Jameson Graef Rollins +To: Daniel Bergey , notmuch@notmuchmail.org +Subject: Re: notmuch-emacs and bbdb +In-Reply-To: <87txxdytu1.fsf@wonderlust.lan> +References: <878ver1jp0.fsf@wonderlust.lan> + <87mx35pji9.fsf@servo.finestructure.net> + <87txxdytu1.fsf@wonderlust.lan> +User-Agent: Notmuch/0.13.2+54~ga0426dc (http://notmuchmail.org) Emacs/23.4.1 + (x86_64-pc-linux-gnu) +Date: Thu, 12 Jul 2012 09:11:21 -0700 +Message-ID: <87ehohot7a.fsf@servo.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: Thu, 12 Jul 2012 16:11:29 -0000 + +--=-=-= + +On Thu, Jul 12 2012, Daniel Bergey wrote: +> I hacked together the attached elisp yesterday. It provides bindings to +> put sender or recipients into bbdb. (Recipients part needs more +> testing.) It also colors the from line green if the sender is in bbdb, +> or orange otherwise. When it's been through a bit more testing, I'll +> submit at least the first part as a patch. + +Hey, Daniel. This is really nice! All I had to do was load it in my +emacs config after loading notmuch: + +(require 'notmuch) +(load-file "~/.notmuch/bbdb-notmuch.el") + +It works very well: snarfs contacts like a charm, and, I must say, the +coloring of names depending on their status in bbdb is really hot! Nice +feature! + +Thanks so much for this contribution. I would be thrilled if this made +it into upstream, maybe with a config to let people turn the sender +highlighting on or off. Maybe in the mean time we can put it in +contrib? + +jamie. + +--=-=-= +Content-Type: application/pgp-signature + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.12 (GNU/Linux) + +iQIcBAEBCAAGBQJP/vcpAAoJEO00zqvie6q8WO4P/RJJSPQfGqEiCsQYTxTcO2/d +LUIhXhQX/Z7l1Sq+gArXw6X5iCK8j037RkszpwOXlGAqUsIp1tRDonUbgKhD5zp8 +t9unP5ktH04qO27FdlJNe1rvj81qgaXwqv+G8TlApYhNrJBBa0eTWGgiNRForeM6 +eb8dQ86p1+fM8TYJVly65qK96VTNV+Wgr/tLFkcJHqR84MqRCuQfNJV/leWavqfw +QgxDCEhPL/lqxrI9q+wyWxbeVDp48FzA7M9SArFkf58w/+PPW6gfgdgizRUTlm9n +otByODyLH004xUU294Y8Pwo6Zdar9ce5ofy+pEv8Gx6XrPvbJLnb49ODv9uJNrkN +B9BC7ChtJcdFh4zzgQrJ8ztwk/4H1qAzTl0b6bnDmK1j45nvBnOGCJnN4iX8LLwk +VqTd9UP1NrGbCGKUc6ihjMN69XAZp/Dpg5OwLJefM5h2GdcTxBvmkHTvl+K2JnFS +ZTnWdIPaBmK0ha0HJYD1RhnkRDSCkI+VDvmohM98Kr7kUQ2neQqzbKM7YDdnSxWo +1BtiWT3pMmvKKB3PO5OjBBpDA5ScvzikH1IgXHxut8PGQYUSYXf9JA4bsrEArWD5 +iYE9fgUCZwGcpZepJSFH2EP8okpBbqwHcbtqOqlGGrlpoErGi7qeokpgLjN49ER9 +zHW4/9hFGjuUTtLGHdtR +=tPvh +-----END PGP SIGNATURE----- +--=-=-=-- -- 2.26.2