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 1765A476B8A for ; Mon, 8 Mar 2010 03:52:26 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.691 X-Spam-Level: X-Spam-Status: No, score=-0.691 tagged_above=-999 required=5 tests=[AWL=-0.692, BAYES_50=0.001] autolearn=ham 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 fPdNRVnZK5sq for ; Mon, 8 Mar 2010 03:52:25 -0800 (PST) Received: from homiemail-a11.g.dreamhost.com (caiajhbdcagg.dreamhost.com [208.97.132.66]) by olra.theworths.org (Postfix) with ESMTP id 7C646476B75 for ; Mon, 8 Mar 2010 03:52:25 -0800 (PST) Received: from sspaeth.de (mtec-hg-docking-1-dhcp-204.ethz.ch [129.132.133.204]) by homiemail-a11.g.dreamhost.com (Postfix) with ESMTPA id 1E662194058 for ; Mon, 8 Mar 2010 03:52:08 -0800 (PST) Received: by sspaeth.de (sSMTP sendmail emulation); Mon, 08 Mar 2010 12:52:06 +0100 From: "Sebastian Spaeth" To: Notmuch development list In-Reply-To: <87aaujyqvx.fsf@SSpaeth.de> References: <87aaujyqvx.fsf@SSpaeth.de> Date: Mon, 08 Mar 2010 12:52:06 +0100 Message-ID: <878wa3yqs9.fsf@SSpaeth.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [notmuch] gpg decryption 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, 08 Mar 2010 11:52:26 -0000 On 2010-03-08, Sebastian Spaeth wrote: > My bank frequently sends me transactions as an inline-armored gpg > encrypted text. So I added the below 2 lines in my .emacs and added this > function to the list of notmuch-show-hook functions: > > (defun spaetz/decrypt () > (epa-decrypt-armor-in-region (point-min) (point-max))) Uhh, and you will have to load somehow the "epa" library that comes with emacs included. I use the below in my .emacs ;enable gpg integration for transparent .gpg file decryption (require 'epa-file) (epa-file-enable)