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 25AFF431FAF for ; Mon, 7 Oct 2013 23:46:59 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -1.098 X-Spam-Level: X-Spam-Status: No, score=-1.098 tagged_above=-999 required=5 tests=[DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_MED=-2.3] 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 z9XZBvRzFbtU for ; Mon, 7 Oct 2013 23:46:53 -0700 (PDT) Received: from mail2.qmul.ac.uk (mail2.qmul.ac.uk [138.37.6.6]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id E1D01431FAE for ; Mon, 7 Oct 2013 23:46:52 -0700 (PDT) Received: from smtp.qmul.ac.uk ([138.37.6.40]) by mail2.qmul.ac.uk with esmtp (Exim 4.71) (envelope-from ) id 1VTR4A-00066i-Ez; Tue, 08 Oct 2013 07:46:49 +0100 Received: from 93-97-24-31.zone5.bethere.co.uk ([93.97.24.31] helo=localhost) by smtp.qmul.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.71) (envelope-from ) id 1VTR4A-0004wB-5m; Tue, 08 Oct 2013 07:46:46 +0100 From: Mark Walters To: Austin Clements , notmuch@notmuchmail.org Subject: Re: [PATCH 7/6] emacs: Improved `notmuch-describe-keymap' documentation In-Reply-To: <1381186131-27552-1-git-send-email-amdragon@mit.edu> References: <1381029768-11883-1-git-send-email-amdragon@mit.edu> <1381186131-27552-1-git-send-email-amdragon@mit.edu> User-Agent: Notmuch/0.16 (http://notmuchmail.org) Emacs/24.3.1 (x86_64-pc-linux-gnu) Date: Tue, 08 Oct 2013 07:46:45 +0100 Message-ID: <87ob70qmy2.fsf@qmul.ac.uk> MIME-Version: 1.0 Content-Type: text/plain X-Sender-Host-Address: 93.97.24.31 X-QM-SPAM-Info: Sender has good ham record. :) X-QM-Body-MD5: 447f9aef6041e1eb6d47474f7cb6919d (of first 20000 bytes) X-SpamAssassin-Score: 0.0 X-SpamAssassin-SpamBar: / X-SpamAssassin-Report: The QM spam filters have analysed this message to determine if it is spam. We require at least 5.0 points to mark a message as spam. This message scored 0.0 points. Summary of the scoring: * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (markwalters1009[at]gmail.com) * 0.0 AWL AWL: From: address is in the auto white-list X-QM-Scan-Virus: ClamAV says the message is clean 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: Tue, 08 Oct 2013 06:46:59 -0000 Hello This looks good to me +1 Best wishes Mark On Mon, 07 Oct 2013, Austin Clements wrote: > --- > emacs/notmuch.el | 11 ++++++++--- > 1 file changed, 8 insertions(+), 3 deletions(-) > > diff --git a/emacs/notmuch.el b/emacs/notmuch.el > index e559472..c47c6b5 100644 > --- a/emacs/notmuch.el > +++ b/emacs/notmuch.el > @@ -141,10 +141,15 @@ This is basically just `format-kbd-macro' but we also convert ESC to M-." > (concat desc " ")))) > > (defun notmuch-describe-keymap (keymap ua-keys &optional prefix tail) > - "Return a list of strings, each describing one key in KEYMAP. > + "Return a list of strings, each describing one binding in KEYMAP. > > -Each string gives a human-readable description of the key and the > -first line of documentation for the bound function." > +Each string gives a human-readable description of the key and a > +one-line description of the bound function. See `notmuch-help' > +for an overview of how this documentation is extracted. > + > +UA-KEYS should be a key sequence bound to `universal-argument'. > +It will be used to describe bindings of commands that support a > +prefix argument. PREFIX and TAIL are used internally." > (map-keymap > (lambda (key binding) > (cond ((mouse-event-p key) nil) > -- > 1.8.4.rc3 > > _______________________________________________ > notmuch mailing list > notmuch@notmuchmail.org > http://notmuchmail.org/mailman/listinfo/notmuch