From: Gregor Zattler <telegraph@gmx.net>
To: notmuch <notmuch@notmuchmail.org>
Subject: [PATCH] emacs: make message indentation width customisable (was: Re: configure indentation width instead?)
Date: Sun, 23 Oct 2011 18:43:24 +0200 [thread overview]
Message-ID: <20111023164324.GC21842@shi.workgroup> (raw)
In-Reply-To: <87wrednlzz.fsf@steelpick.2x.cz>
Hi Michal, Felix, notmuch developers,
* Michal Sojka <sojkam1@fel.cvut.cz> [16. Aug. 2011]:
> On Tue, 19 Jul 2011, Gregor Zattler wrote:
>> Felix introduces a boolean configuration variable in order to
>> disable/enable indentation. Wouldn't it be more helpful and
>> powerful to customise the indentation width with "0" meaning no
>> indentation, "1" being the current behaviour, "2" meaning double
>> indentation, "3" threefold indentation ... ?
>
> +1
>
> Sometimes I find indenting by one character too small to find the
> replied message in long threads.
I also need more indentation in order to not get lost in long
threads and displays are wide today.
I now altered Felix' patches from dis/enabling indentation to
making indentation customisable. I actually have no clue of
elisp and the test suite, I really only altered his patches.
The actual patch makes message indentation customisable by
introducing a variable `notmuch-indent-messages-width' which
defaults to `1', which is the same as before. Felix could set
this variable to `0' in order to disable indentation, I tested it
with a value of `4' for a clearer separation of messages in a
thread. This patch works for me.
I also altered Felix test to use this new variable. I don't know
how to run the test suite and therefore don't know if it really
tests zero indentation.
HTH and thanks for notmuch and notmuch-Emacs which perhaps helps
me to use Emacs as a MUA, Gregor
next prev parent reply other threads:[~2011-10-23 16:43 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-11 8:42 [PATCH] Emacs: Add variable to toggle message indentation in a thread Felix Geller
2011-07-11 8:53 ` Dmitry Kurochkin
2011-07-11 9:24 ` Felix Geller
2011-07-11 9:55 ` Dmitry Kurochkin
2011-07-11 10:09 ` Felix Geller
2011-07-11 8:57 ` Daniel Schoepe
2011-07-11 16:32 ` Jameson Graef Rollins
2011-07-12 23:46 ` Felix Geller
2011-07-16 13:25 ` Felix Geller
2011-07-18 18:30 ` Jameson Graef Rollins
2011-07-18 18:57 ` [PATCH 1/2] Added variable to toggle message indendation in Emacs' notmuch-show Felix Geller
2011-07-18 18:57 ` [PATCH 2/2] Test for toggling message indentation Felix Geller
2011-07-18 19:14 ` [PATCH 1/2] Added variable to toggle message indendation in Emacs' notmuch-show Jameson Graef Rollins
2011-07-18 22:28 ` [PATCH] Emacs: Toggle message indentation for threads in notmuch-show Felix Geller
2011-07-18 22:28 ` [PATCH 1/2] Emacs: Test for turning off indentation of messages in threads Felix Geller
2011-07-18 22:28 ` [PATCH 2/2] Emacs: Add variable to toggle thread indentation to notmuch-show Felix Geller
2011-07-19 10:50 ` configure indentation width instead? (was: Re: [PATCH 2/2] Emacs: Add variable to toggle thread indentation to notmuch-show) Gregor Zattler
2011-08-16 20:24 ` Michal Sojka
2011-10-23 16:43 ` Gregor Zattler [this message]
2011-10-23 16:52 ` [PATCH 1/2] emacs: add customisation for message indentation width Gregor Zattler
2011-10-23 17:00 ` [PATCH] emacs: make message indentation width customisable (was: Re: configure indentation width instead?) David Bremner
2011-10-23 17:00 ` [PATCH 2/2] Emacs: test: notmuch-show for a message thread without the indentation Gregor Zattler
2011-10-23 19:09 ` sorry, this test does not work (was: Re: [PATCH 2/2] Emacs: test: notmuch-show for a message thread without the indentation) Gregor Zattler
2011-10-23 19:38 ` [PATCH 2a/2] emacs: test notmuch-indent-messages-width default Gregor Zattler
2011-11-24 13:13 ` David Bremner
2011-11-24 22:03 ` [PATCH 0/4] emacs: make message indentation width customisable (was: Re: [PATCH 2a/2] emacs: test notmuch-indent-messages-width default) Gregor Zattler
2011-11-24 22:03 ` [PATCH 1/4] emacs: make message indentation width customisable Gregor Zattler
2011-11-24 22:03 ` [PATCH 2/4] emacs: test notmuch-indent-messages-width default Gregor Zattler
2011-11-24 22:03 ` [PATCH 3/4] emacs: test: notmuch show without indentation Gregor Zattler
2011-11-24 22:03 ` [PATCH 4/4] emacs: test notmuch show with fourfold message indentation Gregor Zattler
2011-11-26 5:18 ` [PATCH 0/4] emacs: make message indentation width customisable (was: Re: [PATCH 2a/2] emacs: test notmuch-indent-messages-width default) David Bremner
2011-10-23 19:41 ` [PATCH 2b/2] emacs: test: notmuch show without indentation Gregor Zattler
2011-10-23 19:42 ` [PATCH 2c/2] emacs: test notmuch show with fourfold message indentation Gregor Zattler
2011-07-18 19:04 ` [PATCH] Emacs: Add variable to toggle message indentation in a thread Felix Geller
2011-07-18 19:10 ` David Bremner
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=20111023164324.GC21842@shi.workgroup \
--to=telegraph@gmx.net \
--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).