unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Edmondson <dme@dme.org>
To: "Aneesh Kumar K. V" <aneesh.kumar@linux.vnet.ibm.com>,
	notmuch@notmuchmail.org
Subject: Re: JSON based emacs UI
Date: Thu, 25 Mar 2010 09:14:09 +0000	[thread overview]
Message-ID: <87zl1wg3vi.fsf@uf.hh.sledj.net> (raw)
In-Reply-To: <87tys557y5.fsf@linux.vnet.ibm.com>

On Thu, 25 Mar 2010 10:11:38 +0530, "Aneesh Kumar K. V" <aneesh.kumar@linux.vnet.ibm.com> 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

  reply	other threads:[~2010-03-25  9:14 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-22 14:47 JSON based emacs UI David Edmondson
2010-03-22 15:52 ` David Edmondson
2010-03-24  7:32 ` David Edmondson
2010-03-24 15:41   ` David Edmondson
2010-03-25  4:41   ` Aneesh Kumar K. V
2010-03-25  9:14     ` David Edmondson [this message]
2010-03-26  4:46       ` Aneesh Kumar K. V
2010-03-26  8:26         ` David Edmondson
2010-03-26  9:07   ` Jesse Rosenthal
2010-03-26 12:28     ` David Edmondson
2010-03-26 14:51 ` Aneesh Kumar K. V
2010-03-26 19:38   ` David Edmondson
2010-03-28 17:03     ` Fernando Carrijo
2010-03-28 17:07       ` Fernando Carrijo
2010-03-29  9:17       ` David Edmondson
2010-03-29  9:27         ` Aneesh Kumar K. V
2010-03-29 14:17         ` Sebastian Spaeth
2010-03-29 14:59         ` Fernando Carrijo
2010-03-28  1:41 ` Sebastian Spaeth
2010-03-28  5:46   ` Michal Sojka
2010-03-29  7:49     ` Sebastian Spaeth
2010-03-29  9:03       ` Michal Sojka
2010-03-29  9:19   ` David Edmondson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zl1wg3vi.fsf@uf.hh.sledj.net \
    --to=dme@dme.org \
    --cc=aneesh.kumar@linux.vnet.ibm.com \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).