[RFC PATCH] emacs: Remove v command
authorAustin Clements <amdragon@MIT.EDU>
Mon, 3 Jun 2013 15:54:55 +0000 (11:54 +2000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:55:22 +0000 (09:55 -0800)
8c/49091343df502967ec266da2227541ca1e844e [new file with mode: 0644]

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