From: Mark Walters Date: Thu, 22 Aug 2013 17:10:15 +0000 (+0100) Subject: [PATCH v3 00/11] contrib: pick: keybindings X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=131cabb10b6d9f8706b4f9e51c150ca8b60955f5;p=notmuch-archives.git [PATCH v3 00/11] contrib: pick: keybindings --- diff --git a/e3/8b848e150cd5cc70cdaede20b70fb7c0e2e72e b/e3/8b848e150cd5cc70cdaede20b70fb7c0e2e72e new file mode 100644 index 000000000..5b1e93cb2 --- /dev/null +++ b/e3/8b848e150cd5cc70cdaede20b70fb7c0e2e72e @@ -0,0 +1,108 @@ +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 2A495429E27 + for ; Thu, 22 Aug 2013 10:10:37 -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 eHoXFbIuOkmQ for ; + Thu, 22 Aug 2013 10:10:32 -0700 (PDT) +Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com + [209.85.212.182]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 33622431FC2 + for ; Thu, 22 Aug 2013 10:10:32 -0700 (PDT) +Received: by mail-wi0-f182.google.com with SMTP id hi8so952466wib.15 + for ; Thu, 22 Aug 2013 10:10: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=z+14WNT+pUYtcl+094BvvRor12f8P9a255+MYs7G+oY=; + b=sp6//B2VR9n6oCr543a/yLc2fn+/XdlPUbYYPwfGeD4cmMoXm8NTLHUwspXvbh4sLJ + Miwe/6AmqIaOz3gbbNTYCSB5AdQHEOTAIvFNjeT9F18kfOvvPWPg8q6DU+31uSYxFGFI + ZNHNuh9ld6A64O9so9Uvxtb57pqHTWywtKLwn9qZa81u5cQaMp80G154Z5S0qQEtyz0d + DKRnxkXywm/EfJPsU9STinrO3kpCSuJO65jJLDcQ6bHOeX9ztMMub2MppxP3WuFvN6f7 + O0ww0UTEQVSzLH43DL09E3ded6duJbyIzzpM10dXNt4pG46ukmxNGQ/86p4Uedj6Qa75 + gGKQ== +X-Received: by 10.180.160.203 with SMTP id xm11mr19373799wib.17.1377191430999; + Thu, 22 Aug 2013 10:10:30 -0700 (PDT) +Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31]) + by mx.google.com with ESMTPSA id + fu13sm18210912wic.7.1969.12.31.16.00.00 + (version=TLSv1.2 cipher=RC4-SHA bits=128/128); + Thu, 22 Aug 2013 10:10:30 -0700 (PDT) +From: Mark Walters +To: notmuch@notmuchmail.org +Subject: [PATCH v3 00/11] contrib: pick: keybindings +Date: Thu, 22 Aug 2013 18:10:15 +0100 +Message-Id: <1377191427-6821-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: Thu, 22 Aug 2013 17:10:37 -0000 + +This is v3 of this patch set. v2 is at +id:1376828079-21455-1-git-send-email-markwalters1009@gmail.com + +This fixes the problem pointed out by Tomi in +id:m238q294je.fsf@guru.guru-group.fi : by using call-interactively +rather than funcall the prefix argument gets passed on to the called +function so things like ctrl-u m work (ie it prompts for sender) + +To answer Tomi's other question: with-current-notmuch-pick-message is +not needed because it is identical to +with-current-notmuch-show-message except it uses +notmuch-pick-get-message-id instead of notmuch-show-get-message-id. +But patch 1 of this series makes the function +notmuch-show-get-message-id work in either show or pick (by doing +slightly different things based on whether the major mode is show or +pick). + +(In fact the differentiation occurs slightly lower in +notmuch-show-get-prop which is called by notmuch-show-get-message-id) + + +Best wishes + +Mark + + + +Mark Walters (11): + contrib: pick: override notmuch-show-get-prop + contrib: pick: Link in notmuch-show-pipe-message + contrib: pick: Link in attachment functions straight from + notmuch-show + contrib: pick: Link in stash map straight from notmuch-show + contrib: pick: add in to-message-window function + contrib: pick: add button press helper + contrib: pick: pass tab through to the message pane + contrib: pick: close window function + contrib: pick: make help close the message pane first + contrib: pick: add in binding to view raw message + contrib: pick: use close-message-pane for reply etc + + contrib/notmuch-pick/notmuch-pick.el | 139 +++++++++++++++++----------------- + 1 files changed, 70 insertions(+), 69 deletions(-) + +-- +1.7.9.1 +