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 13A2D431FAF for ; Mon, 3 Jun 2013 08:55:14 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[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 wNlBj3K2IoTE for ; Mon, 3 Jun 2013 08:55:06 -0700 (PDT) Received: from dmz-mailsec-scanner-1.mit.edu (dmz-mailsec-scanner-1.mit.edu [18.9.25.12]) by olra.theworths.org (Postfix) with ESMTP id 1D32D431FAE for ; Mon, 3 Jun 2013 08:55:06 -0700 (PDT) X-AuditID: 1209190c-b7f566d000004c69-fc-51acbc59517a Received: from mailhub-auth-2.mit.edu ( [18.7.62.36]) by dmz-mailsec-scanner-1.mit.edu (Symantec Messaging Gateway) with SMTP id 54.41.19561.95CBCA15; Mon, 3 Jun 2013 11:55:05 -0400 (EDT) Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by mailhub-auth-2.mit.edu (8.13.8/8.9.2) with ESMTP id r53Ft0Wn011110; Mon, 3 Jun 2013 11:55:00 -0400 Received: from drake.dyndns.org (216-15-114-40.c3-0.arl-ubr1.sbo-arl.ma.cable.rcn.com [216.15.114.40]) (authenticated bits=0) (User authenticated as amdragon@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id r53FsxRt025871 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); Mon, 3 Jun 2013 11:54:59 -0400 Received: from amthrax by drake.dyndns.org with local (Exim 4.77) (envelope-from ) id 1UjX62-0008MM-Sm; Mon, 03 Jun 2013 11:54:58 -0400 From: Austin Clements To: notmuch@notmuchmail.org Subject: [RFC PATCH] emacs: Remove v command Date: Mon, 3 Jun 2013 11:54:55 -0400 Message-Id: <1370274895-32098-1-git-send-email-amdragon@mit.edu> X-Mailer: git-send-email 1.7.10.4 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrMIsWRmVeSWpSXmKPExsUixG6nohu5Z02gwZ9tuhZN050trt+cyezA 5HHr/mt2j2erbjEHMEVx2aSk5mSWpRbp2yVwZTx9M42xYBN3xYO711kaGLdxdjFyckgImEi0 d/ayQthiEhfurWcDsYUE9jFKTD8v1MXIBWRvYJR48WoTK4Rzm0mi5+5/NghnLqPEvv/v2UFa 2AQ0JLbtX84IYosISEvsvDsbqIODg1nAXOJmSxxIWFhAR+LxlaMsIDaLgKrE2yUPmUBsXgEH iZbeOUwQVyhKdD+bwDaBkXcBI8MqRtmU3Crd3MTMnOLUZN3i5MS8vNQiXUO93MwSvdSU0k2M oLDglOTZwfjmoNIhRgEORiUeXoUtawKFWBPLiitzDzFKcjApifKu3gEU4kvKT6nMSCzOiC8q zUktPsQowcGsJML7ehdQjjclsbIqtSgfJiXNwaIkzns55aa/kEB6YklqdmpqQWoRTFaGg0NJ gvchSKNgUWp6akVaZk4JQpqJgxNkOA/Q8LVgw4sLEnOLM9Mh8qcYFaXEeZ+DJARAEhmleXC9 sLh9xSgO9Iow7w6QKh5gzMN1vwIazAQ0ePLrVSCDSxIRUlINjEumN8Y+2150f4/bnEWlE8VY GA8GXkqwMkhws/DK5WsJEt/05tbxpX9ZFTdnXJvP4n/39JLwO2UbT+zWndtp02YktLagoN18 JT+/Ev+G79dt15tZ/u24KXZr55p3N9LyA+5MOOTm67OF9eSH5ruqYY57F7GsCkzh6OaTZVy9 vPX87GmzpOIs65RYijMSDbWYi4oTAccloi+2AgAA 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, 03 Jun 2013 15:55:14 -0000 This removes the v command, since we now have much nicer part commands, and deprecates the underlying notmuch-show-view-all-mime-parts. This also means that people who try using the old unprefixed 'v' command on a part button will no longer be greeted by ALL of their parts popping up. --- emacs/notmuch-show.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index 5771950..bae3171 100644 --- a/emacs/notmuch-show.el +++ b/emacs/notmuch-show.el @@ -213,6 +213,9 @@ For example, if you wanted to remove an \"unread\" tag and add a "Enable Visual Line mode." (visual-line-mode t)) +;; DEPRECATED in Notmuch 0.16 since we now have convenient part +;; commands. We'll keep the command around for a version or two in +;; case people want to bind it themselves. (defun notmuch-show-view-all-mime-parts () "Use external viewers to view all attachments from the current message." (interactive) @@ -1216,7 +1219,6 @@ reset based on the original query." (define-key map "|" 'notmuch-show-pipe-message) (define-key map "w" 'notmuch-show-save-attachments) (define-key map "V" 'notmuch-show-view-raw-message) - (define-key map "v" 'notmuch-show-view-all-mime-parts) (define-key map "c" 'notmuch-show-stash-map) (define-key map "=" 'notmuch-show-refresh-view) (define-key map "h" 'notmuch-show-toggle-visibility-headers) -- 1.7.10.4