From: Karl Fogel Date: Sat, 6 Apr 2013 18:33:26 +0000 (+2000) Subject: [PATCH] emacs: add missing paren to fix defun in notmuch-address.el. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5b8a4c9a5b1321e04747c65329d2b63855503f9d;p=notmuch-archives.git [PATCH] emacs: add missing paren to fix defun in notmuch-address.el. --- diff --git a/2c/21793fb438a80f291f6eeba1edc184fafc23c7 b/2c/21793fb438a80f291f6eeba1edc184fafc23c7 new file mode 100644 index 000000000..ac7a177ef --- /dev/null +++ b/2c/21793fb438a80f291f6eeba1edc184fafc23c7 @@ -0,0 +1,132 @@ +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 83A27431FB6 + for ; Sat, 6 Apr 2013 11:33:30 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.699 +X-Spam-Level: +X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, + 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 wq32KEEA+UF6 for ; + Sat, 6 Apr 2013 11:33:30 -0700 (PDT) +Received: from mail-vb0-f49.google.com (mail-vb0-f49.google.com + [209.85.212.49]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id D88C7431FAE + for ; Sat, 6 Apr 2013 11:33:29 -0700 (PDT) +Received: by mail-vb0-f49.google.com with SMTP id 11so2903587vbf.36 + for ; Sat, 06 Apr 2013 11:33:29 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=x-received:sender:from:to:subject:reply-to:date:message-id + :user-agent:mime-version:content-type; + bh=bHp9419IobinShm/0NaJ/jlVBjdfBFRTvtLIYiP87to=; + b=JlzJLlUddKG+EJVcjASgLNNLm9EUM0eKXP/KnSDi8qS5I+zK1rC2sdliaXoKRH2l0i + 0DdacDTQAL7A0jECVncOQJGgOY+1D13RgUaZzGFPFyLkTZrQAoTJfyoCB1ky5DRxkhaz + 2MXGh3XQf9qShTq61jib//5O/riVNBLiyTdKV71MjTXT2v+cVoF0HaR+spCCS/dS/z1A + HOa3L2Ol2VuJUeTKLr9VCgAgjuPkax4wC4uk27AQ+u4m1j1k0VvM85u9MbFZNgvZMKMr + MMPX58uPKI6F/zdlWeaFTrU768rk5PKZ8NIMzACJzwyBcKVH9O11tmacTbX+/NzSzOlC + MwDQ== +X-Received: by 10.58.45.71 with SMTP id k7mr11684741vem.0.1365273208209; + Sat, 06 Apr 2013 11:33:28 -0700 (PDT) +Received: from floss.red-bean.com ([74.113.160.38]) + by mx.google.com with ESMTPS id q5sm18775054vdj.5.2013.04.06.11.33.27 + (version=TLSv1.2 cipher=RC4-SHA bits=128/128); + Sat, 06 Apr 2013 11:33:27 -0700 (PDT) +Sender: Karl Fogel +From: Karl Fogel +To: notmuch@notmuchmail.org +Subject: [PATCH] emacs: add missing paren to fix defun in notmuch-address.el. +Date: Sat, 06 Apr 2013 14:33:26 -0400 +Message-ID: <87wqsfik5l.fsf@floss.red-bean.com> +User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) +MIME-Version: 1.0 +Content-Type: multipart/mixed; boundary="=-=-=" +X-Mailman-Approved-At: Sun, 07 Apr 2013 06:36:21 -0700 +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +Reply-To: Karl Fogel +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Sat, 06 Apr 2013 18:33:30 -0000 + +--=-=-= +Content-Type: text/plain + +This patch fixes a trivial missing-paren problem in notmuch-address.el +(and reindents the following defun accordingly). I'm not subscribed +to this list, so please keep me CC'd on any followups. + +Best, +-Karl + + +--=-=-= +Content-Type: text/x-diff +Content-Disposition: inline; + filename=0001-emacs-add-missing-paren-to-close-notmuch-bbdb-snarf-.patch +Content-Description: Trivial fix to restore missing paren in + notmuch-address.el. + +>From 4c74ad313f608f0834961c63c70d1f811ef103b7 Mon Sep 17 00:00:00 2001 +From: Karl Fogel +Date: Sat, 6 Apr 2013 13:21:54 -0400 +Subject: [PATCH] emacs: add missing paren to close + `notmuch-bbdb/snarf-headers' definition. + +This unbreaks emacs/notmuch-address.el. Without this fix, +the notmuch build process fails with this error: + + $ make + ... + In toplevel form: + emacs/notmuch.el:56:1:Error: End of file during parsing: \ + /path/to/source/tree/notmuch/emacs/notmuch-address.el + make: *** [emacs/notmuch.elc] Error 1 + $ +--- + emacs/notmuch-address.el | 12 ++++++------ + 1 file changed, 6 insertions(+), 6 deletions(-) + +diff --git a/emacs/notmuch-address.el b/emacs/notmuch-address.el +index 32c8490..4eda098 100644 +--- a/emacs/notmuch-address.el ++++ b/emacs/notmuch-address.el +@@ -107,13 +107,13 @@ line." + (let ((addrs (bbdb-get-addresses nil nil 'notmuch-bbdb/get-header-content)) + (bbdb-get-addresses-headers headers) ; headers to read + (bbdb-gag-messages t)) ; suppress m/n processed message) +- (bbdb-update-records addrs t t)) ++ (bbdb-update-records addrs t t))) + +- (defun notmuch-bbdb/snarf-from () +- "Import the sender of the current message into BBDB" +- (interactive) +- (notmuch-bbdb/snarf-headers +- (list (assoc 'authors bbdb-get-addresses-headers)))) ++(defun notmuch-bbdb/snarf-from () ++ "Import the sender of the current message into BBDB" ++ (interactive) ++ (notmuch-bbdb/snarf-headers ++ (list (assoc 'authors bbdb-get-addresses-headers)))) + + (defun notmuch-bbdb/snarf-to () + "Import all recipients of the current message into BBDB" +-- +1.7.10.4 + + +--=-=-=--