From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id WKRDM3o+PWQPMQEASxT56A (envelope-from ) for ; Mon, 17 Apr 2023 14:41:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id eGQ3Mno+PWTNcgAAG6o9tA (envelope-from ) for ; Mon, 17 Apr 2023 14:41:30 +0200 Received: from mail.notmuchmail.org (yantan.tethera.net [135.181.149.255]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9064A10817 for ; Mon, 17 Apr 2023 14:41:30 +0200 (CEST) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 5CF015F386; Mon, 17 Apr 2023 12:41:28 +0000 (UTC) Received: from mail-oa1-x35.google.com (mail-oa1-x35.google.com [IPv6:2001:4860:4864:20::35]) by mail.notmuchmail.org (Postfix) with ESMTPS id 5807B5F35B for ; Mon, 17 Apr 2023 12:41:26 +0000 (UTC) Received: by mail-oa1-x35.google.com with SMTP id 586e51a60fabf-187bee46f9dso8693367fac.11 for ; Mon, 17 Apr 2023 05:41:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681735285; x=1684327285; h=content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=pgWPpzPTfXGLF9JbsE+qIGGxnRKGZX3BlhRZ6vzI2B4=; b=kzyEjldLMssIfyW3rDxM42+oTJN5hbKBFuGS3LTO4zEDxo60zFJGWMOB+1X017QLXl YJbw5CY3hY1IJ2o+dkxCDkni/FgQXOQtc7Lkj+jESJSl13C3wNZ+U6B0n0q0Q5MEf2Pa To2y2LxKA83rHL8wC7gNceQ1BGRyHeaVrCKK/BkKSP4Fp+Zp7bIzCz8L3IXNc4bzgU3i O1Wpd5SO4wgxRmQ2bQ7vbvlfR4BT8REyXTcQY71U44uKY9sqoHc9dslGrXAWj90MeORV +x/L9JrvUnzX3w58F/bLLUE9/YYarAvBg8kWHEZ8WTdxaGlJpu7YEoVBR1mo7dHmYb8R ljHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681735285; x=1684327285; h=content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pgWPpzPTfXGLF9JbsE+qIGGxnRKGZX3BlhRZ6vzI2B4=; b=aptv60femqDDs1FmnjQ5v2Jg0JiwKMKPhe235BiJf1AW4psMkTgWQ/vIGIqillCUKc egJXh4mOsbrnlkx+GY1CqsN6VHVDF2zTSlo+yBx1/f9qbj6O/DZTN23nBSJ9LQP9kKP8 Pv00+yYxvYFshS8wYC6G/VCM2EbqHcosBBlkM7ySxjpSrwCvoAGBd1znOu5LveHp2R2J OAgI9KfXIfy5Kdnrr9SiamBhJaZ6VygK3mqzd4f/XqGoj92vEzqScHVb7DZFuE69Lcnt ihQaQubwHVSQTR76sjtU6A7RACXIXHuBzaT3H1BSbwvLyFKxPVIsm6Huz6Zfun2F7VW4 wt7g== X-Gm-Message-State: AAQBX9eNEEramKZjOCylHsLUtcBpR0FQe5OVgZBWAtAwHTjxAQeECjWE giwvdLU0txyCxb3t/0Cuf+gvo8YLeR4= X-Google-Smtp-Source: AKy350ZCy6jooqkt6xKNZNhJXSEhPcTQn3YTaWIHC8nO+1+0ftGiWZo0h5TCBhFx6MqoGcKvUXJcww== X-Received: by 2002:a05:6870:2196:b0:177:b026:3cd1 with SMTP id l22-20020a056870219600b00177b0263cd1mr10136666oae.35.1681735284856; Mon, 17 Apr 2023 05:41:24 -0700 (PDT) Received: from localhost ([2806:2f0:4060:fff1:4ae7:daff:fe31:3285]) by smtp.gmail.com with ESMTPSA id yy21-20020a056871259500b0017ae1aede32sm4435476oab.46.2023.04.17.05.41.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Apr 2023 05:41:24 -0700 (PDT) Date: Mon, 17 Apr 2023 06:41:23 -0600 From: Felipe Contreras To: Ralph Seichter , notmuch@notmuchmail.org Message-ID: <643d3e7389719_751a294db@chronos.notmuch> In-Reply-To: <87h6tfjjuy.fsf@ra.horus-it.com> References: <87h6tfjjuy.fsf@ra.horus-it.com> Subject: Re: Recommended method to pair Notmuch with Neovim? Mime-Version: 1.0 Message-ID-Hash: 667AD6KKGPJXK2HNFYXRQZWE6GHNM5MV X-Message-ID-Hash: 667AD6KKGPJXK2HNFYXRQZWE6GHNM5MV X-MailFrom: felipe.contreras@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-Country: DE ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20221208 header.b=kzyEjldL; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1681735290; a=rsa-sha256; cv=none; b=YAc3ebaA0A6yUQEpiGZTgWZqWuOl73VlL07o9cY6T1rqoLOhlvflo8f313aVVUhETfE6zH 5vmtD4D+bUBQ4HMCHxDOaG1adGnS5FeD8bEMz3DG12+J16SScwD/Us4B0Pdtf+4zWnhpJF XsdKhrcXYhaj8RVugc1dHqy91wdCeyCkEd/g1PFKpzurkL8FmrF9jLOBy7akrYtEpMWet4 2Zo8Slwm9T84HI3iKRcG3+elj4EWVmhDXID2cKA7YYcNETVtLbCZrX/QLo/2kasAiMaU+v mPwD2nkTr5jP6WdJJ4qE0ciGzHoFsYVTTU5QXiuM6XtCMSpK2w7MjC+MTCrjXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1681735290; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=gfwNxPAqy87ohgUvj5XsTWA6EQJLSROMauVtbyW6CHM=; b=hX3eiG5EO/MSSnQThtOW7Sjw9RyOix/8M/uao2cBgNabFnkDiWANNRsX/qHI3IuvO5gB+l In8hoxLwpIdeqNHBbhFV8XF2lV7JASyUOCSGT6gpx7aBLRxfKNW1/WBGS0hcfsaK8EHRis rIPn4s6g0E6zU1Eq08BVIjmKPbSItxXSzRycH4gWhBFwVQU35tzFgLCDMtbuAB96MFEzHy duhgrA2XNIx79MDhftIgPQx2eopfEajMAwlvS78um/GfFh1/dgRUrz4wfoJUSso+QRFWl4 MD1Un06k53rJLmy9jIHLyYgiYZFPaztNiuA5Pun4GxqBADEOw4jUrK+EVSyLPA== X-Migadu-Spam-Score: 7.88 X-Spam-Score: 7.88 X-Migadu-Queue-Id: 9064A10817 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20221208 header.b=kzyEjldL; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Scanner: scn0.migadu.com X-TUID: Z7T0LWJeq8Ye Ralph Seichter wrote: > Based on the Notmuch documentation [1] and Internet search results, > Felipe Contreras' notmuch-vim plugin [2] used to be a popular method of > combining Notmuch with Vim (at least classic Vim). However, there have > not been any Git repository updates for this plugin for two years, while > Neovim development has been very active during that time. There hasn't been any development because to be frank it just works. It does everything I need, there's only one patch that I've added that I'm still not sure how to merge. I've also started to rewrite it from scratch because a lot of it I think can be done in a much simpler way, but that doesn't really affect the users, it's just the maintenance of the code. > Also, this particular plugin requires Ruby support in Vim, which I'd rather > avoid, if possible. > > [1] https://git.notmuchmail.org/git/notmuch/blob/HEAD:/vim/README > [2] https://github.com/felipec/notmuch-vim > > My questions are: > > 1. Do any of you fellow mailing list members use notmuch-vim with > Neovim? I still use vim, but I've started to move to neovim (although it still has many issues for me). I tried notmuch-vim on neovim with ruby support some time ago and it worked fine. I think there was some issue with slowness, but they fixed it. I don't really remember. > 2. Can you recommend an alternative Notmuch/Neovim plugin? > > I am currently using Notmuch with Emacs, but I'd like to find a way to > integrate Notmuch with Neovim instead. > > Your feedback is appreciated. One alternative that I considered is to rewrite notmuch-vim in lua, but that would probably require some libnotmuch bindings for lua, which would take considerable amount of time to write. And that would only work for neovim, not vim. It might be better to just keep using ruby. It's a fantastic language, there's already pretty good bindings for libnotmuch, and it works for both vim and neovim. I think you should just give it a try. Cheers. -- Felipe Contreras