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 D53A14196F2 for ; Sat, 24 Apr 2010 08:14:13 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.89 X-Spam-Level: X-Spam-Status: No, score=-2.89 tagged_above=-999 required=5 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, T_MIME_NO_TEXT=0.01] 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 PavO4KJvrPtQ; Sat, 24 Apr 2010 08:14:12 -0700 (PDT) Received: from yoom.home.cworth.org (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id BB1E8431FC1; Sat, 24 Apr 2010 08:14:12 -0700 (PDT) Received: by yoom.home.cworth.org (Postfix, from userid 1000) id 61A4F568DEC; Sat, 24 Apr 2010 08:14:12 -0700 (PDT) From: Carl Worth To: David Edmondson , notmuch@notmuchmail.org Subject: Re: [PATCH] emacs: Add more functions to clean up text/plain parts In-Reply-To: <1271939166-24100-1-git-send-email-dme@dme.org> References: <1271939166-24100-1-git-send-email-dme@dme.org> User-Agent: Notmuch/0.2-188-g9757095 (http://notmuchmail.org) Emacs/23.1.1 (i486-pc-linux-gnu) Date: Sat, 24 Apr 2010 08:14:12 -0700 Message-ID: <87tyr0hohn.fsf@yoom.home.cworth.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" 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: Sat, 24 Apr 2010 15:14:14 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable On Thu, 22 Apr 2010 13:26:06 +0100, David Edmondson wrote: > This is a small variant on the previous version of the patch. The > wrapping of long lines is not enabled by default - it's simply an > option in the customise interface. This is really close now. I especially like that the various wash options are as simple as just checkboxes in the customize interface. (That might not even be new in this case, but I at least didn't find it before.) And that again goes to my point. I don't think we should enable this washing by default since it can appear as silent corruption to the user, without any indication that it happened nor how to turn it off. Notmuch has always done some modification of the message with things like hiding long citations, etc. But those at least provide self-documenting buttons on how to make them disappear. Here's what I see in the customize buffer with the latest patch, along with some review. Some of this review applies to documentation already in notmuch---I'm just getting pickier as things appear in customize because I think we need to hold our documentation there to a higher standard. (Previously, one would practically have to dive into the source to find the documentation, and that suggests the reader has more experience and definitely means the user gsts a lot more context). Here, I'm trying to review these options from the point of view of a new user who just started using notmuch, wants to tweak a few things, and is looking at the customize buffer to figure out what tweaks are possible. Notmuch Show Hook:=20 [X] notmuch-show-pretty-hook [ ] notmuch-show-turn-off-word-wrap INS State: STANDARD. A list of functions called after populating a More What does "pretty hook" mean? What information would a user need to determine whether to turn this on or off? With "turn off word wrap", we have on option to disable wrapping here, and another option later to turn some wrapping on again. How is a user expected to figure out which combination of options does what they want? Notmuch Show Insert Text/Plain Hook: Hide Value [ ] notmuch-wash-wrap-long-lines Wrap text in the region whilst maintaining the correct prefix. [X] notmuch-wash-tidy-citations Clean up citations. [X] notmuch-wash-compress-blanks Compress successive blank lines into one blank line. Remove More [X] notmuch-wash-markup-citations Markup citations, and up to one signature in the buffer. "Tidy", "Clean up", and "Markup" citations are all too vague. What do each of these actually do? Also, think about line breaks so that something like "Remove more" doesn't appear there by default. Thanks, =2DCarl --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQFL0wrE6JDdNq8qSWgRAkBFAKCLHnzisSaucm51jUNocz/sV6kPygCghPsW Z6FHt0sQaIQudrec8gq1hm4= =XFeA -----END PGP SIGNATURE----- --=-=-=--