From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id sEgCFD1FPmTShwAASxT56A (envelope-from ) for ; Tue, 18 Apr 2023 09:22:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id aBP4Ez1FPmQjoQAA9RJhRA (envelope-from ) for ; Tue, 18 Apr 2023 09:22:37 +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 9EC1FA986 for ; Tue, 18 Apr 2023 09:22:36 +0200 (CEST) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 314995F3E6; Tue, 18 Apr 2023 07:22:32 +0000 (UTC) Received: from mail-oi1-x235.google.com (mail-oi1-x235.google.com [IPv6:2607:f8b0:4864:20::235]) by mail.notmuchmail.org (Postfix) with ESMTPS id 91E585F3B3 for ; Tue, 18 Apr 2023 07:22:29 +0000 (UTC) Received: by mail-oi1-x235.google.com with SMTP id 5614622812f47-38ba6bd5a79so234064b6e.2 for ; Tue, 18 Apr 2023 00:22:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681802548; x=1684394548; 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=omUksOdsU7xVXEvgheUrQ4gRzczsq5PYL+b8R9TPXc8=; b=p5pIXQq0Mf/UNmaIaBMTBoPoisJx6dBuM5INfEZP2/IcMkGM4TRmSnHkifAHv6Wtjl sHdYzwBCfaqw9urxvxtTEGXkHoUVZkY3Zfd3upFvyFfN7YJXKTP5BvGvDZUIjvnXJ8yp F5QfaU2Sogn0YCkF3RcWorISZVEdR6OFK0ahKieAiY7pPJ4SG/JC2h0YEARC/KK9Ob9/ EXAPEQabbqhKFTBvjx6pAm921EYG/g4nOdXbUNMG4ZJacy6rVPvwuzjUzYehO4xZ0jvB CkXZrdrEjxUvjoU/7u/CK9EpQRRLwsF8gPAGlqWVw4wvILgy0+kEjGcvFJ0QEy7jMkRT A5ow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681802548; x=1684394548; 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=omUksOdsU7xVXEvgheUrQ4gRzczsq5PYL+b8R9TPXc8=; b=P8I2vv38Xw0Tku/hE3jPihxTKfSi7jk3A0qcUBb108f7rkSzs9H0Fr/gwa2G3RTxHZ ngdkOBi1qSLw+uS1i1Ir+jq7laVkqiqEONn4qP5roRGuAg8YVxI4gZy4+3dE3JdppSJD JWzMVO3S0OsDaHgmrQATqX5foRcQcQhM5Y9aHyuo6ASMyj1B6KOFph3SrJGv4aRsOFao c/4SzDKynScaCBdLsqklY0n3mArUAPppj/MLiyqOcMeA/D/x8QmmNWzt7yshvmi9jwvM ECuKqq6g8Lvi55LRyR7UIYpC2aOfafIERofb4K52qcojHJwWmVx3WPGtBLYeZKNmq8SN HglQ== X-Gm-Message-State: AAQBX9fGxor4ROWZXqhZQJ6CFOeGEs7iESpVHNgEGQA6/xfS4jlcGKuM I7AO5FL4WX00UD1d+85CV4nKPK8eTRs= X-Google-Smtp-Source: AKy350YpFZvsi7k8eHAxImdqjyHzlE5FROSUWJR1uGRnfhjE8UIJK7l5ONwyND8HXCjP4FMYGpV1Vg== X-Received: by 2002:a54:4787:0:b0:38b:f329:2717 with SMTP id o7-20020a544787000000b0038bf3292717mr533198oic.1.1681802547914; Tue, 18 Apr 2023 00:22:27 -0700 (PDT) Received: from localhost ([2806:2f0:4060:fff1:4ae7:daff:fe31:3285]) by smtp.gmail.com with ESMTPSA id d3-20020a05680813c300b00389509965e3sm5450032oiw.58.2023.04.18.00.22.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Apr 2023 00:22:27 -0700 (PDT) Date: Tue, 18 Apr 2023 01:22:26 -0600 From: Felipe Contreras To: Ralph Seichter , notmuch@notmuchmail.org Message-ID: <643e45327d185_21b043294e9@chronos.notmuch> In-Reply-To: <87ildtu3qd.fsf@ra.horus-it.com> References: <87h6tfjjuy.fsf@ra.horus-it.com> <643d3e7389719_751a294db@chronos.notmuch> <87jzyab8uy.fsf@ra.horus-it.com> <643de29ada33f_995029483@chronos.notmuch> <87ildtu3qd.fsf@ra.horus-it.com> Subject: Re: Recommended method to pair Notmuch with Neovim? Mime-Version: 1.0 Message-ID-Hash: SBQ7NQR76RMPJHOCKKERCUIS6T6D2CHQ X-Message-ID-Hash: SBQ7NQR76RMPJHOCKKERCUIS6T6D2CHQ 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=p5pIXQq0; 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; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1681802557; a=rsa-sha256; cv=none; b=JJRA7rNu2gM6+qwssEcULPujUFC4m4gTUX7lS1Vb2xW/KaWa6wYJVgk+UJY2u0gRLqKkTH xMqEyPaJ5TyQx7Z+977Ad3GxWiQrUETp3U6tdqTeAbA3FHenhyumIPoUFXwzOlsxlLjDK7 UAj3D5I533wdk/cffyJZI1kN4Vpz0ttnNbuq7AypwRHWZ4xJvZZ6g6WQDiiL2IIT5QVdZc kUuRcjfXpr3thXDzMO45WHjUmc2VtCTTxK9FWrjfIEvPtP5hfC/D0z81OUXbgdPgeLxWUQ xX3ZF4HJfbAqvyXX9iyzbWclm19my8KaiPNj2UIN3nrAlOAUTSf05byxFaYvKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1681802557; 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=9sxLXW4pEgoeY7mGySuohC+Nf//65RjevNB1qanaHnM=; b=THh7DXw5ht2IXFjnOoY7tvq3tk3MQXkoZFudPGcp7IpErq2XrQ4KXs1s4zpVU0vKWoYmwC qWAfiEoD7DkRslcvK49O45tGdBSeiJhjYhIv2EsZ2+zFBgAAnI3+KWiv1DqdD3pvBMImBd ZKCtJAzEv5X/cy5xdUusHyHrKHsY1g/zok+qxMffkG/aOMVzSsNoOeKYIFAEXfkoUa/0kq VdqpzeUrht+Jy9wh/kGYvaro0Qpl8JL6C1afBx0ZqMRw1Mx5dwuGprakx28Lj8B1y4AiOA ynBficbKDmNxWbyVQtfqbNOJXXSRkpO811MDXycAjzj8xcxrzOOiN+Bupwr2BA== X-Migadu-Spam-Score: 7.46 X-Spam-Score: 7.46 X-Migadu-Queue-Id: 9EC1FA986 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20221208 header.b=p5pIXQq0; 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; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) X-TUID: Os9+Nd1pL6PD Ralph Seichter wrote: > * Felipe Contreras: > > > neovim aims to support most of what vim does. > > At the time of me writing this, the Neovim tracker on GitHub lists a > whopping 1380 open issues, so I'd imagine that goal has not yet been > reached. ;-) I imagine many of those issues are not related to vim compatibility. > > Did you install the "mail" gem as the installation instructions > > recommend? > > I did indeed. The message header was sent during each of my tests, but > not the body text. I just installed neovim-ruby and tried to send an email with neovim+notmuch-vim: it was sent just fine. Note that notmuch-vim sends email using the `sendmail` command. Do you have that properly configured? How would you send email from the command line? > > It sounds better to you as a user. > > > > Just try to program a paginated list of items in Lua and you might > > change your mind. > > I am grateful for you investing time and effort in your plugin, and I > don't want to talk you out of using Ruby, if that is your language of > choice. I have no problem using another language, since anyway I'm planning on rewriting the whole thing. But it has to be the right language, and right now the right language seems to be Ruby. I'd be happy to consider other alternatives, but at this point which are those? > My choice would be different, but that is off topic. I'd be glad to get > notmuch-vim working with Neovim, even if that means installing Ruby. > Currently the log file looks like this: > > INFO 2023/04/18 07:27:20.254544 main.go:180: Starting up version 0.14.0-153-g6220711f90d7 +notmuch (go1.19.2 amd64 linux) > DEBUG 2023/04/18 07:27:20.254639 crypto.go:36: no internal pgp keyring, using system gpg > DEBUG 2023/04/18 07:27:20.263046 receive.go:30: Starting Unix server: /run/user/1000/aerc.sock > DEBUG 2023/04/18 07:27:20.264202 main.go:136: Setting terminal title > INFO 2023/04/18 07:27:20.269082 account.go:250: [Trial] connected. > ERROR 2023/04/18 07:28:07.049184 status.go:129: Cannot perform action. Messages still loading > DEBUG 2023/04/18 07:28:07.049322 status.go:104: Cannot perform action. Messages still loading > > aerc displays "(no folders)" and "(no messages)", on startup, so I > thought I'd try the search function with "date:yesterday..", causing the > "Message still loading" error. Running "notmuch search date:yesterday.." > in a shell returns the expected results. That's aerc, nothing to do with notmuch-vim. Are you getting the two confused? > > I would try in vim as well, just so you see how it's supposed to work. > > I guess I should do that. Right now, I don't know if my troubles are > caused by me somehow screwing up the notmuch-vim configuration or by > Neovim quirks. Speaking of my configuration: > > # Content of /home/trial/.config/aerc/accounts.conf > [Trial] > from = Trial User > maildir-store = /home/trial/.mail > source = notmuch:///home/trial > outgoing = /usr/sbin/sendmail Again: that's not notmuch-vim. Cheers. -- Felipe Contreras