From: mailinglists Date: Sun, 25 May 2014 22:33:36 +0000 (+1700) Subject: Cannot apply multiple tags to a selection in search view X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b8fb3db4c021aec811a507d5f52843f5abfe4a3b;p=notmuch-archives.git Cannot apply multiple tags to a selection in search view --- diff --git a/5c/49172541a28307ed92c774f99d73d50df66245 b/5c/49172541a28307ed92c774f99d73d50df66245 new file mode 100644 index 000000000..855240d5f --- /dev/null +++ b/5c/49172541a28307ed92c774f99d73d50df66245 @@ -0,0 +1,78 @@ +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 51D27431FBD + for ; Sun, 25 May 2014 15:33:57 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + 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 vQOdtWUmknw7 for ; + Sun, 25 May 2014 15:33:51 -0700 (PDT) +Received: from filter04.dlls.pa.frontiernet.net + (filter04.dlls.pa.frontiernet.net [199.224.80.234]) + by olra.theworths.org (Postfix) with ESMTP id 63005431FAF + for ; Sun, 25 May 2014 15:33:51 -0700 (PDT) +Received: from localhost (localhost [127.0.0.1]) + by filter04.dlls.pa.frontiernet.net (Postfix) with ESMTP id 2D71D28E23A + for ; Sun, 25 May 2014 22:33:50 +0000 (UTC) +Received: from relay03.dlls.pa.frontiernet.net ([199.224.80.246]) + by localhost (filter04.dlls.pa.frontiernet.net [199.224.80.234]) + (amavisd-new, port 10024) + with LMTP id D6830-MXKn1O for ; + Sun, 25 May 2014 22:33:38 +0000 (UTC) +X-Originating-IP: [50.53.240.83] +X-Previous-IP: 50.53.240.83 +Received: from beetle_b (unknown [50.53.240.83]) + by relay03.dlls.pa.frontiernet.net (Postfix) with ESMTPA id 622B0940EA + for ; Sun, 25 May 2014 22:33:38 +0000 (UTC) +Received: by beetle_b (Postfix, from userid 1000) + id E13FA86999; Sun, 25 May 2014 15:33:36 -0700 (PDT) +From: mailinglists@nawaz.org +To: notmuch@notmuchmail.org +Subject: Cannot apply multiple tags to a selection in search view +nm-tags: +Date: Sun, 25 May 2014 15:33:36 -0700 +Message-ID: <87d2f1jxof.fsf@nawaz.org> +MIME-Version: 1.0 +Content-Type: text/plain +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: Sun, 25 May 2014 22:33:57 -0000 + + +Hi, + +After upgrading to version 0.17, the following function that used to +work fine in the past misbehaves when I select multiple messages: + +(define-key notmuch-search-mode-map "d" + (lambda () + "Delete message." + (interactive) + (notmuch-search-tag '("+delete" "-inbox" "-lowpriority" "-@review" "-@respond" "-unread")))) + +If I press "d", it only applies the tags to the message my cursor is on +- not my whole message. + +If I manually execute the notmuch-search-tag command, it does work on +the whole selection, though. + +Any ideas? + +Thanks!