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 5F028431FBC for ; Thu, 10 Dec 2009 04:25:38 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org 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 tf0HH9vV1auS for ; Thu, 10 Dec 2009 04:25:38 -0800 (PST) Received: from mail-fx0-f214.google.com (mail-fx0-f214.google.com [209.85.220.214]) by olra.theworths.org (Postfix) with ESMTP id 0CE99431FAE for ; Thu, 10 Dec 2009 04:25:37 -0800 (PST) Received: by fxm6 with SMTP id 6so7325506fxm.0 for ; Thu, 10 Dec 2009 04:25:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:to:cc:subject :in-reply-to:references:date:message-id:mime-version:content-type; bh=ISpqdwV7SP1yHIfUZCJ/hg00dPLonMVJt0Alwzx0A/c=; b=vt4NISpDTPZJLx1ysphCYCFM7/305T7wdBKdW96+n8M2mSUx3jLKo9F2AtPR+Txi44 rL+10PUVerWIkvaQcoMnH99cgFDtLkfp4VbXG8mLb9sPCdBX6csb7C+4xrznr5V0N8mi 5iIvqG/aPjpMCDPUI83zEUNN4CxgO+lXolxfk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; b=AdO8476nQ7VI33Ntb1moep+fT49uQPQE6EZW4j3c2MfGJgYdbCGPfIJJO5MwdJW2kJ 9VluZGL0siWNQ3pZsB/+rRZ0ETvyxb1L10bi7eOq4v24D03m6HfCDEl9AGlZohQdfR1D 0bDiqXrC0z3nLrikfYzD+UP2C4ATbtVEDKW/4= Received: by 10.223.19.200 with SMTP id c8mr3260779fab.55.1260447930710; Thu, 10 Dec 2009 04:25:30 -0800 (PST) Received: from kunyang (vawpc43.ethz.ch [129.132.59.11]) by mx.google.com with ESMTPS id 18sm1232409fkq.41.2009.12.10.04.25.28 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 10 Dec 2009 04:25:29 -0800 (PST) Sender: Jed Brown From: Jed Brown To: Carl Worth , Manuel Hermenegildo In-Reply-To: <87aaxr6hpm.fsf@yoom.home.cworth.org> References: <87d43gqf1t.fsf@yoom.home.cworth.org> <857929.5376.qm@web28310.mail.ukl.yahoo.com> <7A89F1FA-6DCC-43BE-8937-6715706B1CBC@gmail.com> <87zl6j5q44.fsf@yoom.home.cworth.org> <87my1x5q7y.wl%bremner@pivot.cs.unb.ca> <19229.26805.811027.494933@gazelle.local> <87y6ld2860.fsf@yoom.home.cworth.org> <19231.26471.562026.681739@gazelle.local> <87aaxr6hpm.fsf@yoom.home.cworth.org> Date: Thu, 10 Dec 2009 13:26:25 +0100 Message-ID: <87ein3vwum.fsf@59A2.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: David Bremner , notmuch@notmuchmail.org Subject: Re: [notmuch] [Orgmode] Notmuch: An emacs interface for fast global search and tagging of email X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.12 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, 10 Dec 2009 12:25:38 -0000 On Wed, 09 Dec 2009 12:00:21 -0800, Carl Worth wrote: > 1. Rewriting the code to not use apply-partially 1b. Use apply-partially (defun apply-partially (fun &rest args) "Return a function that is a partial application of FUN to ARGS. ARGS is a list of the first N arguments to pass to FUN. The result is a new function which does the same as FUN, except that the first N arguments are fixed at the values with which this function was called." (lexical-let ((fun fun) (args1 args)) (lambda (&rest args2) (apply fun (append args1 args2))))) Jed