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 9FA8C4196F3 for ; Thu, 25 Mar 2010 02:14:05 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.001 X-Spam-Level: X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5 tests=[BAYES_40=-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 1an6u8yH9d2P for ; Thu, 25 Mar 2010 02:14:04 -0700 (PDT) Received: from mail-ww0-f53.google.com (mail-ww0-f53.google.com [74.125.82.53]) by olra.theworths.org (Postfix) with ESMTP id B88674196F2 for ; Thu, 25 Mar 2010 02:14:03 -0700 (PDT) Received: by wwb22 with SMTP id 22so3426505wwb.26 for ; Thu, 25 Mar 2010 02:14:02 -0700 (PDT) Received: by 10.216.162.10 with SMTP id x10mr1322696wek.118.1269508442589; Thu, 25 Mar 2010 02:14:02 -0700 (PDT) Received: from uf.hh.sledj.net (host83-217-165-81.dsl.vispa.com [83.217.165.81]) by mx.google.com with ESMTPS id n12sm2574414gve.0.2010.03.25.02.14.00 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 25 Mar 2010 02:14:00 -0700 (PDT) Received: by uf.hh.sledj.net (Postfix, from userid 1000) id C9508594245; Thu, 25 Mar 2010 09:14:09 +0000 (GMT) To: "Aneesh Kumar K. V" , notmuch@notmuchmail.org In-Reply-To: <87tys557y5.fsf@linux.vnet.ibm.com> References: <87iq8o76r8.fsf@uf.hh.sledj.net> <87d3yudvja.fsf@uf.hh.sledj.net> <87tys557y5.fsf@linux.vnet.ibm.com> From: David Edmondson Date: Thu, 25 Mar 2010 09:14:09 +0000 Message-ID: <87zl1wg3vi.fsf@uf.hh.sledj.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [notmuch] JSON based emacs UI 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, 25 Mar 2010 09:14:05 -0000 On Thu, 25 Mar 2010 10:11:38 +0530, "Aneesh Kumar K. V" wrote: > Is there a way to get the inline patches shown similar to > diff-mode not just the attached patches ? A new hook function for text/plain parts called `notmuch-wash-inline-patch' is added that attempts to do this by converting the inline patch into a fake attachment. It guesses whether a buffer includes a patch and also the extent of that patch, so it's a bit risky and hence not enabled by default. It is only lightly tested. You can try it out by setting: (setq notmuch-show-insert-text/plain-hook '(notmuch-wash-wrap-long-lines notmuch-wash-tidy-citations notmuch-wash-compress-blanks notmuch-wash-inline-patch notmuch-wash-markup-citations)) The order is important! dme. -- David Edmondson, http://dme.org