Re: [notmuch] [PATCH v3] notmuch-query.el: new file to support access to the notmuch database.

Subject: Re: [notmuch] [PATCH v3] notmuch-query.el: new file to support access to the notmuch database.

Date: Mon, 05 Apr 2010 17:59:51 +0100

To: david@tethera.net, notmuch@notmuchmail.org

Cc: David Bremner

From: David Edmondson


On Mon,  5 Apr 2010 13:46:16 -0300, david@tethera.net wrote:
> diff --git a/emacs/notmuch-query.el b/emacs/notmuch-query.el
> new file mode 100644
> index 0000000..3f1a7b3
> --- /dev/null
> +++ b/emacs/notmuch-query.el
> @@ -0,0 +1,90 @@
> +; notmuch-query.el --- provide an emacs api to query notmuch

Should this comment prefix be ';;'? A single ';' is indented way over to
the right by default.

> +(defun notmuch-query-map-aux  (mapper function seq)
> +  "private function to do the actual mapping and flattening"
> +
> +  (apply 'append
> +	 (mapcar
> +	   (lambda (tree)
> +	     (funcall mapper fn tree))
> +	   seq)))
> +
> +

There are a bunch of spurious blank lines in various places.

dme.
-- 
David Edmondson, http://dme.org

Thread: