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 87BBF431FAF for ; Mon, 28 Jan 2013 07:57:09 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] 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 hSmr327p+7Pb for ; Mon, 28 Jan 2013 07:57:08 -0800 (PST) Received: from shutemov.name (shutemov.name [204.155.152.216]) by olra.theworths.org (Postfix) with ESMTP id 25AC1431FBF for ; Mon, 28 Jan 2013 07:57:08 -0800 (PST) Received: by shutemov.name (Postfix, from userid 1000) id 39C33333DB; Mon, 28 Jan 2013 17:52:25 +0200 (EET) From: "Kirill A. Shutemov" To: Felipe Contreras Subject: [PATCH 3/5] /usr/sbin/sendmail as a default g:notmuch_rb_sendmail Date: Mon, 28 Jan 2013 17:52:18 +0200 Message-Id: <1359388340-27136-4-git-send-email-kirill@shutemov.name> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1359388340-27136-1-git-send-email-kirill@shutemov.name> References: <1359388340-27136-1-git-send-email-kirill@shutemov.name> Cc: notmuch@notmuchmail.org 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, 28 Jan 2013 15:57:09 -0000 From: "Kirill A. Shutemov" It's confusing that we don't have a default sendmail program. Let's use /usr/sbin/sendmail as reasonable default. Signed-off-by: Kirill A. Shutemov --- notmuch-ruby.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/notmuch-ruby.vim b/notmuch-ruby.vim index 624987e..81da9b3 100644 --- a/notmuch-ruby.vim +++ b/notmuch-ruby.vim @@ -52,6 +52,7 @@ let s:notmuch_rb_folders_default = [ let s:notmuch_rb_date_format_default = '%d.%m.%y' let s:notmuch_rb_datetime_format_default = '%d.%m.%y %H:%M:%S' let s:notmuch_rb_reader_default = 'terminal -e "mutt -f %s"' +let s:notmuch_rb_sendmail_default = '/usr/sbin/sendmail' if !exists('g:notmuch_rb_date_format') let g:notmuch_rb_date_format = s:notmuch_rb_date_format_default @@ -65,6 +66,10 @@ if !exists('g:notmuch_rb_reader') let g:notmuch_rb_reader = s:notmuch_rb_reader_default endif +if !exists('g:notmuch_rb_sendmail') + let g:notmuch_rb_sendmail = s:notmuch_rb_sendmail_default +endif + function! s:new_file_buffer(type, fname) exec printf('edit %s', a:fname) execute printf('set filetype=notmuch-%s', a:type) -- 1.7.10.4