1 Return-Path: <kas@shutemov.name>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 87BBF431FAF
\r
6 for <notmuch@notmuchmail.org>; Mon, 28 Jan 2013 07:57:09 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id hSmr327p+7Pb for <notmuch@notmuchmail.org>;
\r
16 Mon, 28 Jan 2013 07:57:08 -0800 (PST)
\r
17 Received: from shutemov.name (shutemov.name [204.155.152.216])
\r
18 by olra.theworths.org (Postfix) with ESMTP id 25AC1431FBF
\r
19 for <notmuch@notmuchmail.org>; Mon, 28 Jan 2013 07:57:08 -0800 (PST)
\r
20 Received: by shutemov.name (Postfix, from userid 1000)
\r
21 id 39C33333DB; Mon, 28 Jan 2013 17:52:25 +0200 (EET)
\r
22 From: "Kirill A. Shutemov" <kirill@shutemov.name>
\r
23 To: Felipe Contreras <felipe.contreras@gmail.com>
\r
24 Subject: [PATCH 3/5] /usr/sbin/sendmail as a default g:notmuch_rb_sendmail
\r
25 Date: Mon, 28 Jan 2013 17:52:18 +0200
\r
26 Message-Id: <1359388340-27136-4-git-send-email-kirill@shutemov.name>
\r
27 X-Mailer: git-send-email 1.7.10.4
\r
28 In-Reply-To: <1359388340-27136-1-git-send-email-kirill@shutemov.name>
\r
29 References: <1359388340-27136-1-git-send-email-kirill@shutemov.name>
\r
30 Cc: notmuch@notmuchmail.org
\r
31 X-BeenThere: notmuch@notmuchmail.org
\r
32 X-Mailman-Version: 2.1.13
\r
34 List-Id: "Use and development of the notmuch mail system."
\r
35 <notmuch.notmuchmail.org>
\r
36 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
37 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
38 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
39 List-Post: <mailto:notmuch@notmuchmail.org>
\r
40 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
41 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
42 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
43 X-List-Received-Date: Mon, 28 Jan 2013 15:57:09 -0000
\r
45 From: "Kirill A. Shutemov" <kirill@shutemov.name>
\r
47 It's confusing that we don't have a default sendmail program. Let's use
\r
48 /usr/sbin/sendmail as reasonable default.
\r
50 Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
\r
52 notmuch-ruby.vim | 5 +++++
\r
53 1 file changed, 5 insertions(+)
\r
55 diff --git a/notmuch-ruby.vim b/notmuch-ruby.vim
\r
56 index 624987e..81da9b3 100644
\r
57 --- a/notmuch-ruby.vim
\r
58 +++ b/notmuch-ruby.vim
\r
59 @@ -52,6 +52,7 @@ let s:notmuch_rb_folders_default = [
\r
60 let s:notmuch_rb_date_format_default = '%d.%m.%y'
\r
61 let s:notmuch_rb_datetime_format_default = '%d.%m.%y %H:%M:%S'
\r
62 let s:notmuch_rb_reader_default = 'terminal -e "mutt -f %s"'
\r
63 +let s:notmuch_rb_sendmail_default = '/usr/sbin/sendmail'
\r
65 if !exists('g:notmuch_rb_date_format')
\r
66 let g:notmuch_rb_date_format = s:notmuch_rb_date_format_default
\r
67 @@ -65,6 +66,10 @@ if !exists('g:notmuch_rb_reader')
\r
68 let g:notmuch_rb_reader = s:notmuch_rb_reader_default
\r
71 +if !exists('g:notmuch_rb_sendmail')
\r
72 + let g:notmuch_rb_sendmail = s:notmuch_rb_sendmail_default
\r
75 function! s:new_file_buffer(type, fname)
\r
76 exec printf('edit %s', a:fname)
\r
77 execute printf('set filetype=notmuch-%s', a:type)
\r