From: David Bremner Date: Fri, 6 Apr 2012 15:34:52 +0000 (+2100) Subject: Re: [PATCH] emacs: do not modify the alist passed to notmuch-sort-saved-searches X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=b2bdc8689836a2d497040d8dced7367094ac4ebb;p=notmuch-archives.git Re: [PATCH] emacs: do not modify the alist passed to notmuch-sort-saved-searches --- diff --git a/bd/3c6ff5148d236899385b912022739aa3ce2c63 b/bd/3c6ff5148d236899385b912022739aa3ce2c63 new file mode 100644 index 000000000..aca5bffc3 --- /dev/null +++ b/bd/3c6ff5148d236899385b912022739aa3ce2c63 @@ -0,0 +1,65 @@ +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 4D1FB431FB6 + for ; Fri, 6 Apr 2012 08:35:00 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + 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 Aqs2h9J-5uo6 for ; + Fri, 6 Apr 2012 08:34:59 -0700 (PDT) +Received: from tesseract.cs.unb.ca (tesseract.cs.unb.ca [131.202.240.238]) + (using TLSv1 with cipher AES256-SHA (256/256 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id AF8B5431FAE + for ; Fri, 6 Apr 2012 08:34:59 -0700 (PDT) +Received: from fctnnbsc30w-156034089108.dhcp-dynamic.fibreop.nb.bellaliant.net + ([156.34.89.108] helo=zancas.localnet) + by tesseract.cs.unb.ca with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) + (Exim 4.72) (envelope-from ) + id 1SGBBh-0001kU-PQ; Fri, 06 Apr 2012 12:34:58 -0300 +Received: from bremner by zancas.localnet with local (Exim 4.77) + (envelope-from ) + id 1SGBBc-0006Vh-Hb; Fri, 06 Apr 2012 12:34:52 -0300 +From: David Bremner +To: Jani Nikula , notmuch@notmuchmail.org +Subject: Re: [PATCH] emacs: do not modify the alist passed to + notmuch-sort-saved-searches +In-Reply-To: <1333291883-1030-1-git-send-email-jani@nikula.org> +References: <1333291883-1030-1-git-send-email-jani@nikula.org> +User-Agent: Notmuch/0.12+92~g6acd61d (http://notmuchmail.org) Emacs/23.3.1 + (x86_64-pc-linux-gnu) +Date: Fri, 06 Apr 2012 12:34:52 -0300 +Message-ID: <87zkaoj2lf.fsf@zancas.localnet> +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +X-Spam_bar: - +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: Fri, 06 Apr 2012 15:35:00 -0000 + +Jani Nikula writes: + +> Sort modifies its input as a side effect. Pass it a copy in +> notmuch-sort-saved-searches to not modify the notmuch-saved-searches +> alist. + +Pushed. + +d