--- /dev/null
+Return-Path: <m.walters@qmul.ac.uk>\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 16A39431E64\r
+ for <notmuch@notmuchmail.org>; Sun, 2 Jun 2013 10:37:01 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -1.098\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-1.098 tagged_above=-999 required=5\r
+ tests=[DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001,\r
+ NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_MED=-2.3] 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 9Lp7dOWzaLeE for <notmuch@notmuchmail.org>;\r
+ Sun, 2 Jun 2013 10:36:53 -0700 (PDT)\r
+Received: from mail2.qmul.ac.uk (mail2.qmul.ac.uk [138.37.6.6])\r
+ (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id 63776431FBC\r
+ for <notmuch@notmuchmail.org>; Sun, 2 Jun 2013 10:36:53 -0700 (PDT)\r
+Received: from smtp.qmul.ac.uk ([138.37.6.40])\r
+ by mail2.qmul.ac.uk with esmtp (Exim 4.71)\r
+ (envelope-from <m.walters@qmul.ac.uk>)\r
+ id 1UjCD5-00045w-Lb; Sun, 02 Jun 2013 18:36:51 +0100\r
+Received: from 93-97-24-31.zone5.bethere.co.uk ([93.97.24.31] helo=localhost)\r
+ by smtp.qmul.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.71)\r
+ (envelope-from <m.walters@qmul.ac.uk>)\r
+ id 1UjCD4-0003x5-0e; Sun, 02 Jun 2013 18:36:51 +0100\r
+From: Mark Walters <markwalters1009@gmail.com>\r
+To: david@tethera.net, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] emacs: replace (funcall 'foo ...) with (foo ...)\r
+In-Reply-To: <1370175370-13561-1-git-send-email-david@tethera.net>\r
+References: <1370175370-13561-1-git-send-email-david@tethera.net>\r
+User-Agent: Notmuch/0.14+255~gff3cc55 (http://notmuchmail.org) Emacs/23.4.1\r
+ (i486-pc-linux-gnu)\r
+Date: Sun, 02 Jun 2013 18:36:39 +0100\r
+Message-ID: <8761xwv2hk.fsf@qmul.ac.uk>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+X-Sender-Host-Address: 93.97.24.31\r
+X-QM-SPAM-Info: Sender has good ham record. :)\r
+X-QM-Body-MD5: dcfcf0cdc0d1eabaa38588e30dcacadb (of first 20000 bytes)\r
+X-SpamAssassin-Score: -0.0\r
+X-SpamAssassin-SpamBar: /\r
+X-SpamAssassin-Report: The QM spam filters have analysed this message to\r
+ determine if it is\r
+ spam. We require at least 5.0 points to mark a message as spam.\r
+ This message scored -0.0 points.\r
+ Summary of the scoring: \r
+ * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail\r
+ provider * (markwalters1009[at]gmail.com)\r
+ * -0.0 AWL AWL: From: address is in the auto white-list\r
+X-QM-Scan-Virus: ClamAV says the message is clean\r
+Cc: David Bremner <bremner@debian.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: Sun, 02 Jun 2013 17:37:01 -0000\r
+\r
+\r
+This looks good to me +1\r
+\r
+Mark\r
+\r
+On Sun, 02 Jun 2013, david@tethera.net wrote:\r
+> From: David Bremner <bremner@debian.org>\r
+>\r
+> I can't see any benefit to the funcall, and it looks like the result\r
+> of cut-and-paste from some code that actually used a variable for the\r
+> function to call.\r
+> ---\r
+>\r
+> Mark and I were discussing some style issues in the context of pick,\r
+> and it seems to me that some of the elisp style in the current code\r
+> could be improved. I don't claim to be an elisp style expert by any\r
+> stretch of the imagination. It would be great if some experts could\r
+> add a section to devel/STYLE about elisp.\r
+>\r
+>\r
+> emacs/notmuch-message.el | 2 +-\r
+> emacs/notmuch-show.el | 6 +++---\r
+> emacs/notmuch.el | 4 ++--\r
+> 3 files changed, 6 insertions(+), 6 deletions(-)\r
+>\r
+> diff --git a/emacs/notmuch-message.el b/emacs/notmuch-message.el\r
+> index 4dc4883..914bdd1 100644\r
+> --- a/emacs/notmuch-message.el\r
+> +++ b/emacs/notmuch-message.el\r
+> @@ -40,7 +40,7 @@ the \"inbox\" and \"todo\" tags, you would set:\r
+> ;; get the in-reply-to header and parse it for the message id.\r
+> (let ((rep (mail-header-parse-addresses (message-field-value "In-Reply-To"))))\r
+> (when (and notmuch-message-replied-tags rep)\r
+> - (funcall 'notmuch-tag (notmuch-id-to-query (car (car rep)))\r
+> + (notmuch-tag (notmuch-id-to-query (car (car rep)))\r
+> (notmuch-tag-change-list notmuch-message-replied-tags)))))\r
+> \r
+> (add-hook 'message-send-hook 'notmuch-message-mark-replied)\r
+> diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el\r
+> index 613e666..18b4671 100644\r
+> --- a/emacs/notmuch-show.el\r
+> +++ b/emacs/notmuch-show.el\r
+> @@ -1726,7 +1726,7 @@ TAG-CHANGES is a list of tag operations for `notmuch-tag'."\r
+> (let* ((current-tags (notmuch-show-get-tags))\r
+> (new-tags (notmuch-update-tags current-tags tag-changes)))\r
+> (unless (equal current-tags new-tags)\r
+> - (funcall 'notmuch-tag (notmuch-show-get-message-id) tag-changes)\r
+> + (notmuch-tag (notmuch-show-get-message-id) tag-changes)\r
+> (notmuch-show-set-tags new-tags))))\r
+> \r
+> (defun notmuch-show-tag (&optional tag-changes)\r
+> @@ -1734,7 +1734,7 @@ TAG-CHANGES is a list of tag operations for `notmuch-tag'."\r
+> \r
+> See `notmuch-tag' for information on the format of TAG-CHANGES."\r
+> (interactive)\r
+> - (setq tag-changes (funcall 'notmuch-tag (notmuch-show-get-message-id) tag-changes))\r
+> + (setq tag-changes (notmuch-tag (notmuch-show-get-message-id) tag-changes))\r
+> (let* ((current-tags (notmuch-show-get-tags))\r
+> (new-tags (notmuch-update-tags current-tags tag-changes)))\r
+> (unless (equal current-tags new-tags)\r
+> @@ -1745,7 +1745,7 @@ See `notmuch-tag' for information on the format of TAG-CHANGES."\r
+> \r
+> See `notmuch-tag' for information on the format of TAG-CHANGES."\r
+> (interactive)\r
+> - (setq tag-changes (funcall 'notmuch-tag (notmuch-show-get-messages-ids-search) tag-changes))\r
+> + (setq tag-changes (notmuch-tag (notmuch-show-get-messages-ids-search) tag-changes))\r
+> (notmuch-show-mapc\r
+> (lambda ()\r
+> (let* ((current-tags (notmuch-show-get-tags))\r
+> diff --git a/emacs/notmuch.el b/emacs/notmuch.el\r
+> index 5a8c957..af107e2 100644\r
+> --- a/emacs/notmuch.el\r
+> +++ b/emacs/notmuch.el\r
+> @@ -562,7 +562,7 @@ will be signaled."\r
+> (defun notmuch-search-tag-region (beg end &optional tag-changes)\r
+> "Change tags for threads in the given region."\r
+> (let ((search-string (notmuch-search-find-thread-id-region-search beg end)))\r
+> - (setq tag-changes (funcall 'notmuch-tag search-string tag-changes))\r
+> + (setq tag-changes (notmuch-tag search-string tag-changes))\r
+> (notmuch-search-foreach-result beg end\r
+> (lambda (pos)\r
+> (notmuch-search-set-tags\r
+> @@ -576,7 +576,7 @@ See `notmuch-tag' for information on the format of TAG-CHANGES."\r
+> (interactive)\r
+> (let* ((beg (if (region-active-p) (region-beginning) (point)))\r
+> (end (if (region-active-p) (region-end) (point))))\r
+> - (funcall 'notmuch-search-tag-region beg end tag-changes)))\r
+> + (notmuch-search-tag-region beg end tag-changes)))\r
+> \r
+> (defun notmuch-search-add-tag ()\r
+> "Same as `notmuch-search-tag' but sets initial input to '+'."\r
+> -- \r
+> 1.8.2.rc2\r
+>\r
+> _______________________________________________\r
+> notmuch mailing list\r
+> notmuch@notmuchmail.org\r
+> http://notmuchmail.org/mailman/listinfo/notmuch\r