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 D4554431FAF for ; Sat, 2 Nov 2013 07:03:47 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.799 X-Spam-Level: X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, 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 gGO1rvHhD36d for ; Sat, 2 Nov 2013 07:03:47 -0700 (PDT) Received: from mail-oa0-f46.google.com (mail-oa0-f46.google.com [209.85.219.46]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 7154E431FDB for ; Sat, 2 Nov 2013 07:03:07 -0700 (PDT) Received: by mail-oa0-f46.google.com with SMTP id g12so5621396oah.19 for ; Sat, 02 Nov 2013 07:03:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=smUbuqwxaJsslh3qGYPSC+UDs4UShSBksoOOhH5/RBw=; b=CySy+f5iHfLpVOgJWnesekN5oSz3etus+V4SVyANpg9rh6Ue0nI0dwjAldKnsFpKG/ Y08auCzf8/qhEd1hGx3ekgqzdX9RVljTrwSqXF7STrNDyeKDrGigphQ/7AS4f2bv5/LF Rq7EiZikifCbGOJCGL4PCKFhJiQzoT+VGux5rlzlg7ECg1+e1zNbeT9ved/ZEVFUQCqE RGv+MJtQLnz7xumDsw9mSQIeSJgX9tDDMSQ32awEapGAjjyvPD9ZUDak31JTKbWfJxM/ RB3HJEPJx3UV0IIr/amRqwj79a9FV0dXD54JD2NCxG0+xwVlBBna7AOKiEtSj3smv2ka 3gxw== X-Received: by 10.182.142.229 with SMTP id rz5mr6460217obb.12.1383400986968; Sat, 02 Nov 2013 07:03:06 -0700 (PDT) Received: from localhost (187-162-140-241.static.axtel.net. [187.162.140.241]) by mx.google.com with ESMTPSA id s14sm24761208oeo.1.2013.11.02.07.03.05 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 02 Nov 2013 07:03:06 -0700 (PDT) From: Felipe Contreras To: notmuch@notmuchmail.org Subject: [PATCH 12/21] vim: trivial cleanup Date: Sat, 2 Nov 2013 07:55:45 -0600 Message-Id: <1383400554-1832-13-git-send-email-felipe.contreras@gmail.com> X-Mailer: git-send-email 1.8.4.2+fc1 In-Reply-To: <1383400554-1832-1-git-send-email-felipe.contreras@gmail.com> References: <1383400554-1832-1-git-send-email-felipe.contreras@gmail.com> 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: Sat, 02 Nov 2013 14:03:48 -0000 Using $email_address is more straight forward. Signed-off-by: Felipe Contreras --- vim/notmuch.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vim/notmuch.vim b/vim/notmuch.vim index cf829a6..9a45300 100644 --- a/vim/notmuch.vim +++ b/vim/notmuch.vim @@ -566,7 +566,7 @@ ruby << EOF f.flush - VIM::command("let s:reply_from='%s'" % reply.from.first.to_s) + VIM::command("let s:reply_from='%s'" % $email_address) VIM::command("call s:new_file_buffer('compose', '#{f.path}')") VIM::command("call cursor(#{old_count}, 0)") end -- 1.8.4.2+fc1