[PATCH 0/4] emacs: make message indentation width customisable (was: Re: [PATCH 2a/2] emacs: test notmuch-indent-messages-width default)

Subject: [PATCH 0/4] emacs: make message indentation width customisable (was: Re: [PATCH 2a/2] emacs: test notmuch-indent-messages-width default)

Date: Thu, 24 Nov 2011 23:03:20 +0100

To: notmuch@notmuchmail.org

Cc:

From: Gregor Zattler


Dear David, notmuch developers,

* David Bremner <david@tethera.net> [24. Nov. 2011]:
> On Sun, 23 Oct 2011 21:38:43 +0200, Gregor Zattler <telegraph@gmx.net> wrote:
> The extra copy of the patch header messes up the log messages with the 3
> test related patches in this series are applied. Can you resend with
> git-send-email?

Sure.

Felix Geller started this thread by proposing a patch to turn off
message indentation in notmuch show.  I instead wanted more
indentation.  I propose this patch set which

a) makes indentation width configurable, therefore Felix may set
   it to `0' which turns indentation off, I set it to `4' since I
   want clearer indication of thread level, while default is `1'
   which is the same as before.

b) contains three tests fore the above mentioned indentation width 
   values.

Thanks for notmuch, gregor


Gregor Zattler (4):
  emacs: make message indentation width customisable
  emacs: test notmuch-indent-messages-width default
  emacs: test: notmuch show without indentation
  emacs: test notmuch show with fourfold message indentation

 emacs/notmuch-show.el                              |   14 +-
 test/emacs                                         |   21 ++
 ...hread-maildir-storage-with-fourfold-indentation |  215 ++++++++++++++++++++
 ...show-thread-maildir-storage-without-indentation |  215 ++++++++++++++++++++
 4 files changed, 463 insertions(+), 2 deletions(-)
 create mode 100644 test/emacs.expected-output/notmuch-show-thread-maildir-storage-with-fourfold-indentation
 create mode 100644 test/emacs.expected-output/notmuch-show-thread-maildir-storage-without-indentation

--
1.7.7.3

Thread: