--- /dev/null
+Return-Path: <daniel@schoepe.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by olra.theworths.org (Postfix) with ESMTP id 421FF431FAF\r
+ for <notmuch@notmuchmail.org>; Mon, 5 Mar 2012 13:08:52 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.8\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.8 tagged_above=-999 required=5\r
+ tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+ RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+ by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id QCKuWVwyAJIN for <notmuch@notmuchmail.org>;\r
+ Mon, 5 Mar 2012 13:08:50 -0800 (PST)\r
+Received: from mail-ey0-f181.google.com (mail-ey0-f181.google.com\r
+ [209.85.215.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id 01296431FAE\r
+ for <notmuch@notmuchmail.org>; Mon, 5 Mar 2012 13:08:49 -0800 (PST)\r
+Received: by eaa1 with SMTP id 1so2249775eaa.26\r
+ for <notmuch@notmuchmail.org>; Mon, 05 Mar 2012 13:08:47 -0800 (PST)\r
+Received-SPF: pass (google.com: domain of daniel@schoepe.org designates\r
+ 10.213.9.198 as permitted sender) client-ip=10.213.9.198; \r
+Authentication-Results: mr.google.com;\r
+ spf=pass (google.com: domain of daniel@schoepe.org\r
+ designates 10.213.9.198 as permitted sender)\r
+ smtp.mail=daniel@schoepe.org;\r
+ dkim=pass header.i=daniel@schoepe.org\r
+Received: from mr.google.com ([10.213.9.198])\r
+ by 10.213.9.198 with SMTP id m6mr157107ebm.65.1330981727494 (num_hops =\r
+ 1); Mon, 05 Mar 2012 13:08:47 -0800 (PST)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=schoepe.org; s=google;\r
+ h=from:to:cc:subject:in-reply-to:references:user-agent:date\r
+ :message-id:mime-version:content-type;\r
+ bh=Ij5Q6NPTzI7csWOPGKNjabx4rGNey44uKo+LxRdCcoE=;\r
+ b=W8mk7Mz/sR12A3bGlFh6rjwMUT++AeL9ceqB8t/e7SsubRXKMcxAaXf6ZuLtdfPIX3\r
+ bLHDOi/o54df3EjRY4kmSHtyKfiKq3vjTtnMJBVwChUDfVkTVP0DLfGr1md5AD2B4zAz\r
+ /FYFwUe6gS4NkL9lGTN+f2LuFogS1HJL+Q56Y=\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+ d=google.com; s=20120113;\r
+ h=from:to:cc:subject:in-reply-to:references:user-agent:date\r
+ :message-id:mime-version:content-type:x-gm-message-state;\r
+ bh=Ij5Q6NPTzI7csWOPGKNjabx4rGNey44uKo+LxRdCcoE=;\r
+ b=OtYe3oISTB7mwMMZbsM0krmml7rZXZUx5Ie6FJzFDA4qJ0edh5Cje2ExaYTB/ges3C\r
+ 1A0QSWfa5KLz/xtbXHabvICOIltjqg80U8nMKtgflVbjPGBnRQ1RilMl8xgHzfHOTIOW\r
+ DOGFjG4ioXCc7+DJdtd0hE1rj8T/ppGeqZlZFjBnCq5/1WiESZtwqNcDw3OpZDskIvTZ\r
+ nThi3A866/U202F7fBiTtQc7y203dH7oaKMAKSfyH9x3ncIxdq4XkAtQJa+dIQk5uFFY\r
+ oRbh2U/u3h0AtT2fKyRYrqdp5WWy7Ejw8JLPjr/aFL0KPz56zxnmRYS2aUIJ601fPAhs\r
+ sosg==\r
+Received: by 10.213.9.198 with SMTP id m6mr122947ebm.65.1330981727273;\r
+ Mon, 05 Mar 2012 13:08:47 -0800 (PST)\r
+Received: from localhost (dslb-088-069-139-015.pools.arcor-ip.net.\r
+ [88.69.139.15])\r
+ by mx.google.com with ESMTPS id v51sm65689844eef.2.2012.03.05.13.08.45\r
+ (version=TLSv1/SSLv3 cipher=OTHER);\r
+ Mon, 05 Mar 2012 13:08:46 -0800 (PST)\r
+From: Daniel Schoepe <daniel@schoepe.org>\r
+To: Jani Nikula <jani@nikula.org>,\r
+ Dmitry Kurochkin <dmitry.kurochkin@gmail.com>\r
+Subject: Re: [PATCH v2] emacs: Pass a copy to\r
+ notmuch-saved-search-sort-function\r
+In-Reply-To:\r
+ <CAB+hUn-iQbXq_UDcj97h2Duq=gJdxpiJjOn6YzmVcZw+GEgK0A@mail.gmail.com>\r
+References: <1330613059-5130-1-git-send-email-daniel@schoepe.org>\r
+ <1330613059-5130-2-git-send-email-daniel@schoepe.org>\r
+ <CAB+hUn-iQbXq_UDcj97h2Duq=gJdxpiJjOn6YzmVcZw+GEgK0A@mail.gmail.com>\r
+User-Agent: Notmuch/0.11.1+308~g28fc8d0 (http://notmuchmail.org)\r
+ Emacs/24.0.93.1 (x86_64-pc-linux-gnu)\r
+Date: Mon, 05 Mar 2012 22:08:39 +0100\r
+Message-ID: <87y5rekb6w.fsf@schoepe.localhost>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+ micalg=pgp-sha1; protocol="application/pgp-signature"\r
+X-Gm-Message-State:\r
+ ALoCoQnT8WrUpHuIGZlKKBaS8pXayywHnvCsqygouDDUgq6jm3anrROkIUA6vPEc1+NIRuyQYt/k\r
+Cc: notmuch@notmuchmail.org\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Mon, 05 Mar 2012 21:08:52 -0000\r
+\r
+--=-=-=\r
+Content-Type: text/plain\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On Mar 5, 2012 5:43 PM, "Dmitry Kurochkin" <dmitry.kurochkin@gmail.com>\r
+> I do not buy the argument that we should help users who implement their\r
+> own sorting functions but do not read documentation for functions they\r
+> use. Apparently, those who implemented the `sort' function had similar\r
+> ideas. And I do not think it is our job to add workarounds for it.\r
+\r
+Yeah that also sounds a bit more consistent, I guess my perception was\r
+colored by my surprise at learning that sort has side effects in elisp. :)\r
+\r
+On Mon, 5 Mar 2012 22:55:54 +0200, Jani Nikula <jani@nikula.org> wrote:\r
+> Providing the customization of the sort function is more powerful than the\r
+> compare function. In the case of saved searches I can imagine people might\r
+> want to partially use the original order while sort the rest (e.g.\r
+> important ones first in predefined order, others sorted). In fact this al=\r
+so\r
+> allows dropping out some elements. And renaming. And changing the queries=\r
+...\r
+>=20\r
+> (I had something like that in mind originally but then settled with just\r
+> capitalizing the important ones to show them first.)\r
+\r
+I have the same objections to only providing a customization option for\r
+comparing.\r
+\r
+Cheers,\r
+Daniel\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.12 (GNU/Linux)\r
+\r
+iQIcBAEBAgAGBQJPVStXAAoJEIaTAtce+Z+JbyEP+gPwAZBTknluKBrDDws7z+m2\r
+Pd3Pe3XNYCLzTnTsD0fJgAhkM5P0P0BiwMZI3D+2ct2sTNYIJuQ35+NN/gz1eNOa\r
+E7ooLocpX2ufQSnSyxzVU8VVEQ7VqZ/AA6PFKuCBe8WJnR0Q3c48ti2N8htWuB6U\r
+RJv+YIXqmMhgBBKDkpuEb3XZAqbntnQRYX13IG6/iJ8kBDqGDp57f7XEsFRfepV2\r
+CuoCILilu7t7yhQ5HCDGYC897QlTBBrhnJk3wXv7lW4B1q9Q6Q0M8TvRs5Wpl6Dz\r
+F/ppyxC4AjLp7Es2W0rWY4V2cc47qJyXH1fsGaHOq1eEc/vYIPXvQAOKtez4FmjD\r
+mRvtmMYSFJmoSUcLBcke/NkHQfGaxFYFiY85cwII81Wq7AATx3wvxuiADe3ZS+7+\r
+V4Umn2ukSHfft76nfffmYVxxwCu8wpJuvekLwQeqnVNcmd5RG5V3iIYWUQpoxEuB\r
+ZFhVV8VXMwNOGpihagWiNkx3OGHlgVL42HPso14By8YcmmSgBVzbii2b/X3Byu45\r
+fGVLKoY5fuAYu+x9rk6AlpNKmYN+i9BhjNI1t3ygZLF0To989dvcO5Ty5yTTNoXa\r
+L1wJomJh3/EtU+WvwjGxKutugwRs4g/uPi95AzFSOhBr3PKCZrYYMAM+hZaxhQFg\r
+k4aH6ZiMxyF1ZjKgWx6V\r
+=pDYB\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r