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 B170D431FAF for ; Mon, 26 Mar 2012 18:40:30 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[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 BSpdyBsVekNN for ; Mon, 26 Mar 2012 18:40:30 -0700 (PDT) Received: from dmz-mailsec-scanner-2.mit.edu (DMZ-MAILSEC-SCANNER-2.MIT.EDU [18.9.25.13]) by olra.theworths.org (Postfix) with ESMTP id 3B7FD431FAE for ; Mon, 26 Mar 2012 18:40:30 -0700 (PDT) X-AuditID: 1209190d-b7fbf6d0000008ba-c3-4f711a8d980f Received: from mailhub-auth-4.mit.edu ( [18.7.62.39]) by dmz-mailsec-scanner-2.mit.edu (Symantec Messaging Gateway) with SMTP id A2.DC.02234.D8A117F4; Mon, 26 Mar 2012 21:40:29 -0400 (EDT) Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by mailhub-auth-4.mit.edu (8.13.8/8.9.2) with ESMTP id q2R1eTKB024914; Mon, 26 Mar 2012 21:40:29 -0400 Received: from awakening.csail.mit.edu (awakening.csail.mit.edu [18.26.4.91]) (authenticated bits=0) (User authenticated as amdragon@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id q2R1eSQo005155 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); Mon, 26 Mar 2012 21:40:28 -0400 (EDT) Received: from amthrax by awakening.csail.mit.edu with local (Exim 4.77) (envelope-from ) id 1SCLOd-0006wy-Ue; Mon, 26 Mar 2012 21:40:27 -0400 From: Austin Clements To: notmuch@notmuchmail.org Subject: [PATCH] emacs: Fix mis-named argument to notmuch-get-bodypart-internal Date: Mon, 26 Mar 2012 21:40:26 -0400 Message-Id: <1332812426-26684-1-git-send-email-amdragon@mit.edu> X-Mailer: git-send-email 1.7.7.2 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrCIsWRmVeSWpSXmKPExsUixG6nrtsrVehvMHOLscX1mzOZHRg9nq26 xRzAGMVlk5Kak1mWWqRvl8CVsbR3PUvBAY6KM/81Gxi/sXUxcnJICJhIPPk5mwXCFpO4cG89 UJyLQ0hgH6PE6vktzBDOBkaJyXcOsUI4J5kkeuZeYAJpERLYzChx8pAjiM0moCGxbf9yRhBb REBaYufd2UANHBzMAmoSf7pUQExhAX+Jn3uEQSpYBFQlLkxuZAaxeQUcJE4t/8sEcYSCxIwp VxgnMPIuYGRYxSibklulm5uYmVOcmqxbnJyYl5dapGukl5tZopeaUrqJERQAnJK8OxjfHVQ6 xCjAwajEw2s4vcBfiDWxrLgy9xCjJAeTkigvr2ShvxBfUn5KZUZicUZ8UWlOavEhRgkOZiUR 3psngcp5UxIrq1KL8mFS0hwsSuK8qlrv/IQE0hNLUrNTUwtSi2CyMhwcShK8f0GGChalpqdW pGXmlCCkmTg4QYbzAA1/AFLDW1yQmFucmQ6RP8Woy/F66uzLjEIsefl5qVLivPdBigRAijJK 8+DmwCL3FaM40FvCvOdBqniAUQ836RXQEiagJUuO5IMsKUlESEk1MFaXuHlMXXk/vc/oSsd1 xU9WPfsrmdcubzrivWq+gO9p9xmVaReeVM0T+HX8pvLuqTN5Vyk0bBPZkX9RvOnBhGADLjbH xBOfuF+uDzu+r3d+iYAJw/tjm2ri1oW2r3gmFvreenGjfXha87lnqTq7Ixn2RURXOc7QPLF9 g076tbu1u7i6S5xC3ZVYijMSDbWYi4oTAcP2Jky3AgAA 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: Tue, 27 Mar 2012 01:40:30 -0000 Previously, this function took an argument called "message-id", even though it was a general query, rather than a message ID. This changes it to "query". --- emacs/notmuch-lib.el | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el index 2e367b5..4b17ecc 100644 --- a/emacs/notmuch-lib.el +++ b/emacs/notmuch-lib.el @@ -219,13 +219,13 @@ the given type." ;; Helper for parts which are generally not included in the default ;; JSON output. -(defun notmuch-get-bodypart-internal (message-id part-number process-crypto) +(defun notmuch-get-bodypart-internal (query part-number process-crypto) (let ((args '("show" "--format=raw")) (part-arg (format "--part=%s" part-number))) (setq args (append args (list part-arg))) (if process-crypto (setq args (append args '("--decrypt")))) - (setq args (append args (list message-id))) + (setq args (append args (list query))) (with-temp-buffer (let ((coding-system-for-read 'no-conversion)) (progn -- 1.7.7.2