From: Mark Walters Date: Wed, 9 Oct 2013 20:01:24 +0000 (+0100) Subject: [PATCH 0/2] emacs: show: use interactive instead of current-prefix-arg X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=a144211c73e5fdae5567ab6abacdc63c98a9515a;p=notmuch-archives.git [PATCH 0/2] emacs: show: use interactive instead of current-prefix-arg --- diff --git a/73/f7a09e046a8a29ee7acce1e01b869cb0120892 b/73/f7a09e046a8a29ee7acce1e01b869cb0120892 new file mode 100644 index 000000000..7e6c1ed4d --- /dev/null +++ b/73/f7a09e046a8a29ee7acce1e01b869cb0120892 @@ -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 17DED431FBC + for ; Wed, 9 Oct 2013 13:01:41 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 2.7 +X-Spam-Level: ** +X-Spam-Status: No, score=2.7 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001, + FREEMAIL_REPLY=2.499, 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 cIt679HynaOX for ; + Wed, 9 Oct 2013 13:01:33 -0700 (PDT) +Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com + [209.85.212.180]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id ED900431FAF + for ; Wed, 9 Oct 2013 13:01:32 -0700 (PDT) +Received: by mail-wi0-f180.google.com with SMTP id hj8so1242089wib.1 + for ; Wed, 09 Oct 2013 13:01:31 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=from:to:cc:subject:date:message-id; + bh=3D/P4zU0JUq9rJin+CE2yTjWqMJvE14SMCR3lKc2Pjo=; + b=QcdtrXaAQgNSo4ByGHJW4kgazmuVeKV0celizg0JLXy7Qze3w0ZeYYIO6aPljVKsdS + eZS3KcEQPRxBThC35UPBccNybZGOjnjisdk5yM7bpl1gXsROcBU7xwnTXRPKIV87gzFs + QMmsrzw4w0G+U/wm6RgagH4V7f90pAsz0Kg1ws/jCnX9A48fUq2+CyfaFnY4/PMWZzCQ + zBoMLA88kULYll1BRxUEO0oYgpqyzoXwo+WG5HcTP6hE/qN6ph6NW9F++JmstxICDuvS + EKBIVQG/WcvkRl/dA2IaUYmoL9LPGLK5SjK3v4tPZY9VAKpV9x23HxBjjREjwwWHUDbd + 3CBQ== +X-Received: by 10.180.208.97 with SMTP id md1mr4220420wic.41.1381348891798; + Wed, 09 Oct 2013 13:01:31 -0700 (PDT) +Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31]) + by mx.google.com with ESMTPSA id q17sm3617135wiv.10.1969.12.31.16.00.00 + (version=TLSv1.2 cipher=RC4-SHA bits=128/128); + Wed, 09 Oct 2013 13:01:31 -0700 (PDT) +From: Mark Walters +To: notmuch@notmuchmail.org +Subject: [PATCH 0/2] emacs: show: use interactive instead of + current-prefix-arg +Date: Wed, 9 Oct 2013 21:01:24 +0100 +Message-Id: <1381348886-5673-1-git-send-email-markwalters1009@gmail.com> +X-Mailer: git-send-email 1.7.9.1 +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: Wed, 09 Oct 2013 20:01:41 -0000 + +This is a tidied up version of the patch at +id:1380729013-3942-1-git-send-email-markwalters1009@gmail.com +(incorporating suggestions from Tomi in +id:m2siwjhapc.fsf@guru.guru-group.fi) + +This helps fix a problem in pick but there was reasonable agreement on +irc that show should not be looking at current-prefix-arg directly. + +One test needs to be changed to the new behaviour. + +Best wishes + +Mark + + +Mark Walters (2): + emacs: show: use interactive instead of current-prefix-arg + test: emacs-show: fix use of prefix-arg + + emacs/notmuch-show.el | 12 +++++++----- + emacs/notmuch.el | 5 +++-- + test/emacs-show | 3 +-- + 3 files changed, 11 insertions(+), 9 deletions(-) + +-- +1.7.9.1 +