[PATCH] emacs: make message indentation width customisable (was: Re: configure indent...
authorGregor Zattler <telegraph@gmx.net>
Sun, 23 Oct 2011 16:43:24 +0000 (18:43 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:39:43 +0000 (09:39 -0800)
75/b50ad0323876b230703c10b0432194f5bf93d1 [new file with mode: 0644]

diff --git a/75/b50ad0323876b230703c10b0432194f5bf93d1 b/75/b50ad0323876b230703c10b0432194f5bf93d1
new file mode 100644 (file)
index 0000000..6fb916e
--- /dev/null
@@ -0,0 +1,95 @@
+Return-Path: <error4me@gmx.de>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 80FE8431FD0\r
+       for <notmuch@notmuchmail.org>; Sun, 23 Oct 2011 09:43:55 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.001\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.001 tagged_above=-999 required=5\r
+       tests=[FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001]\r
+       autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id b9H03CY9ABuw for <notmuch@notmuchmail.org>;\r
+       Sun, 23 Oct 2011 09:43:54 -0700 (PDT)\r
+Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.23])\r
+       by olra.theworths.org (Postfix) with SMTP id 6FBE3431FB6\r
+       for <notmuch@notmuchmail.org>; Sun, 23 Oct 2011 09:43:54 -0700 (PDT)\r
+Received: (qmail invoked by alias); 23 Oct 2011 16:43:50 -0000\r
+Received: from p54BE2C59.dip.t-dialin.net (EHLO shi.workgroup) [84.190.44.89]\r
+       by mail.gmx.net (mp003) with SMTP; 23 Oct 2011 18:43:50 +0200\r
+X-Authenticated: #19296480\r
+X-Provags-ID: V01U2FsdGVkX195aSpOXdV5OaOqc4uklGDgR8YB/sZHfd/QdQyi48\r
+       n4GEn6QIG0S/ea\r
+Received: from grfz by shi.workgroup with local (Exim 4.77)\r
+       (envelope-from <error4me@gmx.de>)\r
+       id 1RI19E-0007xu-7n; Sun, 23 Oct 2011 18:43:44 +0200\r
+Date: Sun, 23 Oct 2011 18:43:24 +0200\r
+From: Gregor Zattler <telegraph@gmx.net>\r
+To: notmuch <notmuch@notmuchmail.org>\r
+Subject: [PATCH] emacs: make message indentation width customisable (was: Re:\r
+       configure indentation width instead?)\r
+Message-ID: <20111023164324.GC21842@shi.workgroup>\r
+Mail-Followup-To: notmuch <notmuch@notmuchmail.org>\r
+References: <87vcuz2yga.fsf@servo.factory.finestructure.net>\r
+       <1311028119-50637-1-git-send-email-fgeller@gmail.com>\r
+       <1311028119-50637-3-git-send-email-fgeller@gmail.com>\r
+       <20110719105059.GA6472@shi.workgroup>\r
+       <87wrednlzz.fsf@steelpick.2x.cz>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+Content-Disposition: inline\r
+In-Reply-To: <87wrednlzz.fsf@steelpick.2x.cz>\r
+User-Agent: Mutt/1.5.21 (2010-09-15)\r
+X-Y-GMX-Trusted: 0\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sun, 23 Oct 2011 16:43:55 -0000\r
+\r
+Hi Michal, Felix, notmuch developers,\r
+* Michal Sojka <sojkam1@fel.cvut.cz> [16. Aug. 2011]:\r
+> On Tue, 19 Jul 2011, Gregor Zattler wrote:\r
+>> Felix introduces a boolean configuration variable in order to\r
+>> disable/enable indentation.   Wouldn't it be more helpful and\r
+>> powerful to customise the indentation width with "0" meaning no\r
+>> indentation, "1" being the current behaviour, "2" meaning double\r
+>> indentation, "3" threefold indentation ...  ?\r
+> \r
+> +1\r
+> \r
+> Sometimes I find indenting by one character too small to find the\r
+> replied message in long threads.\r
+\r
+I also need more indentation in order to not get lost in long\r
+threads and displays are wide today.\r
+\r
+I now altered Felix' patches from dis/enabling indentation to\r
+making indentation customisable.  I actually have no clue of\r
+elisp and the test suite, I really only altered his patches.\r
+\r
+The actual patch makes message indentation customisable by\r
+introducing a variable `notmuch-indent-messages-width' which\r
+defaults to `1', which is the same as before.  Felix could set\r
+this variable to `0' in order to disable indentation, I tested it\r
+with a value of `4' for a clearer separation of messages in a\r
+thread.  This patch works for me.\r
+\r
+I also altered Felix test to use this new variable.  I don't know\r
+how to run the test suite and therefore don't know if it really\r
+tests zero indentation.\r
+\r
+HTH and thanks for notmuch and notmuch-Emacs which perhaps helps\r
+me to use Emacs as a MUA, Gregor\r