1 Return-Path: <pieter@praet.org>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id DCFF840EC33
\r
6 for <notmuch@notmuchmail.org>; Wed, 1 Feb 2012 05:48:51 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id 1IxZovRTPapj for <notmuch@notmuchmail.org>;
\r
16 Wed, 1 Feb 2012 05:48:51 -0800 (PST)
\r
17 Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com
\r
18 [209.85.212.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id E5B9840EC2D
\r
21 for <notmuch@notmuchmail.org>; Wed, 1 Feb 2012 05:48:50 -0800 (PST)
\r
22 Received: by wibhi8 with SMTP id hi8so971741wib.26
\r
23 for <notmuch@notmuchmail.org>; Wed, 01 Feb 2012 05:48:49 -0800 (PST)
\r
24 Received: by 10.180.95.1 with SMTP id dg1mr41754746wib.21.1328104129672;
\r
25 Wed, 01 Feb 2012 05:48:49 -0800 (PST)
\r
26 Received: from localhost ([109.131.39.11])
\r
27 by mx.google.com with ESMTPS id dr5sm74056774wib.0.2012.02.01.05.48.49
\r
28 (version=TLSv1/SSLv3 cipher=OTHER);
\r
29 Wed, 01 Feb 2012 05:48:49 -0800 (PST)
\r
30 From: Pieter Praet <pieter@praet.org>
\r
31 To: Tomi Ollila <tomi.ollila@iki.fi>, David Bremner <david@tethera.net>,
\r
32 David Edmondson <dme@dme.org>, Jani Nikula <jani@nikula.org>
\r
33 Subject: Re: [PATCH] emacs: globally replace non-branching "(if COND (progn
\r
34 ..." with "(when ..."
\r
35 In-Reply-To: <m2zkd5ipsr.fsf@guru.guru-group.fi>
\r
36 References: <87k44uprvy.fsf@praet.org>
\r
37 <1326532638-22068-1-git-send-email-pieter@praet.org>
\r
38 <87y5ssxam7.fsf@zancas.localnet> <8739ax7jts.fsf@praet.org>
\r
39 <m2zkd5ipsr.fsf@guru.guru-group.fi>
\r
40 User-Agent: Notmuch/0.11+132~ga81001f (http://notmuchmail.org) Emacs/23.3.1
\r
41 (x86_64-unknown-linux-gnu)
\r
42 Date: Wed, 01 Feb 2012 14:46:53 +0100
\r
43 Message-ID: <871uqe7jjm.fsf@praet.org>
\r
45 Content-Type: text/plain; charset=us-ascii
\r
46 Cc: Notmuch Mail <notmuch@notmuchmail.org>
\r
47 X-BeenThere: notmuch@notmuchmail.org
\r
48 X-Mailman-Version: 2.1.13
\r
50 List-Id: "Use and development of the notmuch mail system."
\r
51 <notmuch.notmuchmail.org>
\r
52 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
53 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
54 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
55 List-Post: <mailto:notmuch@notmuchmail.org>
\r
56 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
57 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
58 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
59 X-List-Received-Date: Wed, 01 Feb 2012 13:48:52 -0000
\r
61 On Mon, 30 Jan 2012 09:59:32 +0200, Tomi Ollila <tomi.ollila@iki.fi> wrote:
\r
62 > On Mon, 30 Jan 2012 08:03:59 +0100, Pieter Praet <pieter@praet.org> wrote:
\r
63 > > On Sat, 28 Jan 2012 08:41:36 -0400, David Bremner <david@tethera.net> wrote:
\r
64 > > > On Sat, 14 Jan 2012 10:17:18 +0100, Pieter Praet <pieter@praet.org> wrote:
\r
65 > > > > Less code, same results, without sacrificing readability.
\r
68 > > > This looks OK, although the re-indenting makes these kind of changes
\r
69 > > > painful to review (not that I'm suggesting we should re-indent, just
\r
70 > > > some random complaining).
\r
73 > > You can use `diff-refine-hunk' to see what the actual changes are.
\r
77 > > #+begin_src emacs-lisp
\r
78 > > (global-set-key (kbd "C-c /")
\r
80 > > "Refine display of unified diff hunks"
\r
83 > > (goto-char (point-min))
\r
84 > > (while (re-search-forward
\r
85 > > diff-hunk-header-re-unified
\r
87 > > (diff-refine-hunk)))))
\r
90 > > Work pretty much *anywhere*.
\r
92 > > Note: it does NOT work in `notmuch-show-mode' (not even with
\r
93 > > `notmuch-wash-convert-inline-patch-to-part' disabled), but this is
\r
94 > > easily solved by first running `notmuch-show-view-raw-message' ("V")
\r
95 > > and `diff-mode' (to fontify the buffer)...
\r
97 > What we need is 'notmuch-devel' minor mode which can do this, dme's
\r
98 > notmuch patching tool, nmbug tag changes and everything...
\r