From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 8CDBC431E82 for ; Thu, 1 Mar 2012 06:44:30 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.8 X-Spam-Level: X-Spam-Status: No, score=-0.8 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7] 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 KSG8PEDBGiK6 for ; Thu, 1 Mar 2012 06:44:29 -0800 (PST) Received: from mail-ee0-f53.google.com (mail-ee0-f53.google.com [74.125.83.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id C7DAF431FAE for ; Thu, 1 Mar 2012 06:44:28 -0800 (PST) Received: by eekb47 with SMTP id b47so324676eek.26 for ; Thu, 01 Mar 2012 06:44:26 -0800 (PST) Received-SPF: pass (google.com: domain of daniel@schoepe.org designates 10.213.29.209 as permitted sender) client-ip=10.213.29.209; Authentication-Results: mr.google.com; spf=pass (google.com: domain of daniel@schoepe.org designates 10.213.29.209 as permitted sender) smtp.mail=daniel@schoepe.org; dkim=pass header.i=daniel@schoepe.org Received: from mr.google.com ([10.213.29.209]) by 10.213.29.209 with SMTP id r17mr1103282ebc.137.1330613066311 (num_hops = 1); Thu, 01 Mar 2012 06:44:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=schoepe.org; s=google; h=mime-version:from:to:subject:date:message-id:x-mailer; bh=Q4SUJqE2pDPdIEe+7GkTJgsbwg5Eq6TXdoyYD428pQA=; b=eUz/OiCuKqSGZSDk8IXXtwsNJilxfvxPYsy6msYNWRdIycDaT1sBEGotn/Ic+6xtd8 E20TS5uYJ8EStTwroLoqVxXlSVkfmdxi9edUra347aNo5ohulx4w1ui0ySlfT6vRkUR5 oO6nrZQNvLfoifgGTxX9uPc9Lz2E2r09jpB20= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:from:to:subject:date:message-id:x-mailer :x-gm-message-state; bh=Q4SUJqE2pDPdIEe+7GkTJgsbwg5Eq6TXdoyYD428pQA=; b=BKjRJkEiIgykpwQgvztdGLJwqBKS3IKtGNYCz3hmtuvmWKep9WV8qAlUDFGAFNrGpy JRx2eOzLQR+HLJ/CJma+TyzO03imYaeyA8wI3oQEkZvi4C9dtUq1sqMfZ3lczaM+lneG kmA8mqYT9deCAmqLZEvn7dUPiRdcfOdclnmv8HjXFflv37nIZxIfRVMactpAW0N3DHX3 DqwLDckz/I2BTUUWXpxeyDW6ygqk9LW8OdKDyTvt7Eg44riewW0vj+z/rSgv/vh/KZqR MX+6xV/5ArcJCFzB1uksDl1EbJiUDQvsEK4HRP9gldBlqIIM+tb2o+d/69g2Ig4cFYj/ kDmQ== MIME-Version: 1.0 Received: by 10.213.29.209 with SMTP id r17mr830216ebc.137.1330613065830; Thu, 01 Mar 2012 06:44:25 -0800 (PST) Received: from localhost (dslb-188-107-168-245.pools.arcor-ip.net. [188.107.168.245]) by mx.google.com with ESMTPS id v51sm8045982eef.2.2012.03.01.06.44.22 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 01 Mar 2012 06:44:24 -0800 (PST) From: Daniel Schoepe To: notmuch@notmuchmail.org Subject: [PATCH 0/1] emacs: Pass a copy to notmuch-saved-search-sort-function Date: Thu, 1 Mar 2012 15:44:18 +0100 Message-Id: <1330613059-5130-1-git-send-email-daniel@schoepe.org> X-Mailer: git-send-email 1.7.9.1 X-Gm-Message-State: ALoCoQlhGTse9tox8FdnqD1IYbnCy/Wl2+zZZUB88d5fV7QdqMm0cjsQsKroBYQU0ldiFzqxv5fU 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: Thu, 01 Mar 2012 14:44:30 -0000 As Jani discovered, `sort' modifies its input list, leading to deleted saved searches when using notmuch-sort-saved-searches.