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 4131D429E25 for ; Mon, 28 Nov 2011 13:14:29 -0800 (PST) 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 KmEqYrjIPz1q for ; Mon, 28 Nov 2011 13:14:28 -0800 (PST) Received: from mail-bw0-f53.google.com (mail-bw0-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 40D4A431FB6 for ; Mon, 28 Nov 2011 13:14:28 -0800 (PST) Received: by bkaq10 with SMTP id q10so9880129bka.26 for ; Mon, 28 Nov 2011 13:14:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:x-mailer:in-reply-to:references; bh=gkiqKiyhbuBWopI6Q6/1Z4/M0aF4jo1RjIG5UEgS294=; b=NkLr/4cxjys4V0Ntrk7sto4v8CqsGpFK7c8JMAotj0Wj5pLLklVjNqjy/txDWhK1HW IGcQ6ZMxXSMrEXEj5hyli9t80lDJkCb1B97T7JvuwFrsU0eDEmdJzEKopQR9MxmPyYad s1E1bPeqzeQD87HJ5OmaJ3t59DRK/C1EGEFPs= Received: by 10.204.154.143 with SMTP id o15mr21788420bkw.17.1322514865264; Mon, 28 Nov 2011 13:14:25 -0800 (PST) Received: from localhost ([91.144.186.21]) by mx.google.com with ESMTPS id x14sm32318969bkf.10.2011.11.28.13.14.23 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 28 Nov 2011 13:14:24 -0800 (PST) From: Dmitry Kurochkin To: notmuch@notmuchmail.org Subject: [PATCH v3 0/3] emacs: do not call notmuch show for non-inlinable parts Date: Tue, 29 Nov 2011 01:13:56 +0400 Message-Id: <1322514839-28441-1-git-send-email-dmitry.kurochkin@gmail.com> X-Mailer: git-send-email 1.7.7.3 In-Reply-To: <1322271878-32614-1-git-send-email-dmitry.kurochkin@gmail.com> References: <1322271878-32614-1-git-send-email-dmitry.kurochkin@gmail.com> 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, 28 Nov 2011 21:14:29 -0000 Make some changes suggested by Tomi Ollila [1]. Changes: v3 since v2: * Use read function instead of cat(1) to read counter value. * Add a newline after the count value in state file and notmuch_counter_value() output. v2 since v1: * Rename $notmuch_counter variable to $notmuch_counter_command. * Rename notmuch_counter() function to notmuch_counter_value(). * Fix documentation for notmuch_counter_value(). * Removed unneeded and add missing "|| return" in notmuch_counter_reset(). * Coding style fixes. [1] id:"yf6aa7gj7w5.fsf@taco2.nixu.fi"