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 87491421179 for ; Fri, 13 Jan 2012 04:25:43 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0.463 X-Spam-Level: X-Spam-Status: No, score=0.463 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, RDNS_DYNAMIC=0.363] autolearn=disabled 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 5lbR9HhJgtIT for ; Fri, 13 Jan 2012 04:25:42 -0800 (PST) Received: from xhlj.maillard.im (cha51-3-88-164-105-66.fbx.proxad.net [88.164.105.66]) by olra.theworths.org (Postfix) with ESMTP id 901F1421174 for ; Fri, 13 Jan 2012 04:25:39 -0800 (PST) Received: from xhlj.maillard.im (xhlj.maillard.im [127.0.0.1]) by xhlj.maillard.im (Postfix) with ESMTP id D2EBE287; Fri, 13 Jan 2012 13:25:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=maillard.im; h=from:to:cc :subject:in-reply-to:references:reply-to:date:message-id :mime-version:content-type; s=postfix; bh=DbZpjvmqbfF4cCXDrAZWHA nAk6A=; b=Sv0wKed3/vID5fg/YP6CAjxEQC6EeVWXcozCZWybu7CvDWApCmEQ5Q Miml9gfteTfnvNoJTp2XYliKe2v0l/dYcRjZr7Y0Gu4EqRwPqRzCiFWDmmDU4Psg Y360tOAC7VHzew63hhj39/loq5X29dSby2a8vqt6btwS4p/uhfoA0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=maillard.im; h=from:to:cc :subject:in-reply-to:references:reply-to:date:message-id :mime-version:content-type; q=dns; s=postfix; b=zUXMnRLH9jp2XIP0 a2K7wc8tNq/eEXi53ARg8fAICQxx21LMVTivj2+vCtaNmJ0gm8pli0Xy8MAENJs/ 8mlR1nhUAHD8B27+8CFzvmvb/qb9rDSKDdGy1v6zVVKuz7NBa99lxsmrR62NmazF ZoyM02CVPv6RTU4AEGRMD8XUFxY= Received: from maillard.im (cha51-3-88-164-105-66.fbx.proxad.net [88.164.105.66]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by xhlj.maillard.im (Postfix) with ESMTPSA; Fri, 13 Jan 2012 13:25:37 +0100 (CET) From: Xavier Maillard To: David Edmondson , Pieter Praet , Jani Nikula Subject: Re: [PATCH] emacs: globally replace non-branching "(if (not ..." with "(unless ..." In-Reply-To: References: <87vcogketu.fsf@praet.org> <1326389586-21683-1-git-send-email-pieter@praet.org> User-Agent: Notmuch/0.10.1 (http://notmuchmail.org) Emacs/23.2.1 (i486-slackware-linux-gnu) Date: Fri, 13 Jan 2012 13:42:55 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Notmuch Mail X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Xavier Maillard List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jan 2012 12:25:43 -0000 On Fri, 13 Jan 2012 08:23:55 +0000, David Edmondson wrote: > On Thu, 12 Jan 2012 18:33:06 +0100, Pieter Praet wrote: > > Less code, same results, without sacrificing readability. > > +1, but why not replace non-branching `if' with `when' as well? I tend to use WHEN for case I need to execute multiple statements. For the rest, IF is ok. /Xavier