From 5ca2828846990d1cd4a293daed1771e52b3ab563 Mon Sep 17 00:00:00 2001 From: Albin Stjerna Date: Mon, 2 Apr 2012 09:56:46 +0200 Subject: [PATCH] Can't run my functions using notmuch--add-tag since update --- ec/8be839be87039505ab5a826f1b32541418bc69 | 88 +++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 ec/8be839be87039505ab5a826f1b32541418bc69 diff --git a/ec/8be839be87039505ab5a826f1b32541418bc69 b/ec/8be839be87039505ab5a826f1b32541418bc69 new file mode 100644 index 000000000..9eea69560 --- /dev/null +++ b/ec/8be839be87039505ab5a826f1b32541418bc69 @@ -0,0 +1,88 @@ +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 DF027431FC2 + for ; Mon, 2 Apr 2012 00:56:52 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.799 +X-Spam-Level: +X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-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 e4m6Ya9kY1Op for ; + Mon, 2 Apr 2012 00:56:52 -0700 (PDT) +Received: from mail-bk0-f53.google.com (mail-bk0-f53.google.com + [209.85.214.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 28FD1431FC0 + for ; Mon, 2 Apr 2012 00:56:52 -0700 (PDT) +Received: by bkwj4 with SMTP id j4so2228110bkw.26 + for ; Mon, 02 Apr 2012 00:56:49 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=from:to:cc:subject:user-agent:date:message-id:mime-version + :content-type:content-transfer-encoding; + bh=/iyG7PkXArojkSd6/E3oMf6LKWbjsCh0NwoCXJBa/Ho=; + b=rn3R0pHsZ5hlT3HHnm0NYhqFvkofh/nnHoPEhE9tYlQU78NLEd/k1ALWbzrRO6dxko + rT/N2DicW9SOtd2UyERW0TSFRxWf9Mj9sOos3SkbGGnNFpyUOgWTRv5DK1bhLEgFztsx + 0cIHWDa6leJW3H6F0YFk7H6of+GXsCWSY6OpugqYJvvI0XgHzo3fSb2wnNzFv+dDtbjI + xtK76KYZhWq19BhGZkLJupnvNVpm2JtpXIG6lH3a3aV+XxegiqLbAZHiE+lFAptHKZG/ + zFLuN8d8FTR/OXe2J4kf4vaDRDmIscZBZNaI16gCWQOAJZJ2dKgenWVZKQ9cudT1AJu2 + ITdw== +Received: by 10.204.154.82 with SMTP id n18mr3067280bkw.85.1333353409328; + Mon, 02 Apr 2012 00:56:49 -0700 (PDT) +Received: from hecate (nl110-96-173.student.uu.se. [130.242.96.173]) + by mx.google.com with ESMTPS id z17sm36230182bkw.12.2012.04.02.00.56.47 + (version=TLSv1/SSLv3 cipher=OTHER); + Mon, 02 Apr 2012 00:56:48 -0700 (PDT) +From: Albin Stjerna +To: Notmuch Mail +Cc: +Subject: Can't run my functions using notmuch--add-tag since + update +User-Agent: Notmuch/0.12 (http://notmuchmail.org) Emacs/24.0.94.1 + (x86_64-pc-linux-gnu) +Date: Mon, 02 Apr 2012 09:56:46 +0200 +Message-ID: <87y5qey3b5.fsf@hecate.student.uu.se> +MIME-Version: 1.0 +Content-Type: text/plain; charset=utf-8 +Content-Transfer-Encoding: quoted-printable +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: Mon, 02 Apr 2012 07:56:53 -0000 + +Hi! + +I have a number of functions in my Emacs config to add standard tags to ema= +ils in notmuch. Since a recent upgrade of notmuch on debian testing (curren= +t version 0.12, not sure what the older version was), these functions no lo= +nger seem to work. For example, running this function: + +(defun notmuch-show-read/review () + (interactive) + (notmuch-show-add-tag "read/review") + (notmuch-show-archive-thread)) + +will produce the following error: + +notmuch-show-read/review: Wrong number of arguments: #[nil "=C3=80=C3=81!= +=C2=87" [notmuch-show-tag "+"] 2 ("/usr/share/emacs-snapshot/site-lisp/notm= +uch/notmuch-show.elc" . 53071) nil], 1 + +What has changed, and what can I do to fix this problem? The docstrings for= + the functions I use doesn't really give any clues. + +Thanks in advance! -- 2.26.2