[PATCH 5/5] Drop harmful reply buffer preparation
authorKirill A. Shutemov <kirill@shutemov.name>
Mon, 28 Jan 2013 15:52:20 +0000 (17:52 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:53:24 +0000 (09:53 -0800)
7c/4ba751a4503ce1704eb452e2d4c44fe6d7023f [new file with mode: 0644]

diff --git a/7c/4ba751a4503ce1704eb452e2d4c44fe6d7023f b/7c/4ba751a4503ce1704eb452e2d4c44fe6d7023f
new file mode 100644 (file)
index 0000000..8e55ebd
--- /dev/null
@@ -0,0 +1,83 @@
+Return-Path: <kas@shutemov.name>\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 B96BC431FC3\r
+       for <notmuch@notmuchmail.org>; Mon, 28 Jan 2013 07:57:08 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+       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 JLo54OGttyak for <notmuch@notmuchmail.org>;\r
+       Mon, 28 Jan 2013 07:57:08 -0800 (PST)\r
+Received: from shutemov.name (shutemov.name [204.155.152.216])\r
+       by olra.theworths.org (Postfix) with ESMTP id 2114A431FAF\r
+       for <notmuch@notmuchmail.org>; Mon, 28 Jan 2013 07:57:08 -0800 (PST)\r
+Received: by shutemov.name (Postfix, from userid 1000)\r
+       id 4C92B333DE; Mon, 28 Jan 2013 17:52:25 +0200 (EET)\r
+From: "Kirill A. Shutemov" <kirill@shutemov.name>\r
+To: Felipe Contreras <felipe.contreras@gmail.com>\r
+Subject: [PATCH 5/5] Drop harmful reply buffer preparation\r
+Date: Mon, 28 Jan 2013 17:52:20 +0200\r
+Message-Id: <1359388340-27136-6-git-send-email-kirill@shutemov.name>\r
+X-Mailer: git-send-email 1.7.10.4\r
+In-Reply-To: <1359388340-27136-1-git-send-email-kirill@shutemov.name>\r
+References: <1359388340-27136-1-git-send-email-kirill@shutemov.name>\r
+Cc: notmuch@notmuchmail.org\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, 28 Jan 2013 15:57:09 -0000\r
+\r
+From: "Kirill A. Shutemov" <kirill@shutemov.name>\r
+\r
+Inserting empty lines at the end of reply buffer and switching to insert\r
+mode are not what user want on reply. It's only annoying if you try to\r
+comment on patch.\r
+\r
+If a user really wants this kind of preparation it should be implemented\r
+as an user-specific hook.\r
+\r
+Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>\r
+---\r
+ notmuch-ruby.vim |    4 ----\r
+ 1 file changed, 4 deletions(-)\r
+\r
+diff --git a/notmuch-ruby.vim b/notmuch-ruby.vim\r
+index cda5df4..44d127f 100644\r
+--- a/notmuch-ruby.vim\r
++++ b/notmuch-ruby.vim\r
+@@ -144,7 +144,6 @@ ruby << EOF\r
+ EOF\r
+       call s:set_map(g:notmuch_rb_compose_maps)\r
+       autocmd BufUnload <buffer> call s:compose_unload()\r
+-      startinsert!\r
+ endfunction\r
\r
+ function! s:show_info()\r
+@@ -511,9 +510,6 @@ ruby << EOF\r
+                       part.convert.each_line do |l|\r
+                               body_lines << "> %s" % l.chomp\r
+                       end\r
+-                      body_lines << ""\r
+-                      body_lines << ""\r
+-                      body_lines << ""\r
\r
+                       reply.body = body_lines.join("\n")\r
\r
+-- \r
+1.7.10.4\r
+\r