unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Felipe Contreras <felipe.contreras@gmail.com>
To: Ralph Seichter <ralph@ml.seichter.de>, notmuch@notmuchmail.org
Subject: Re: Recommended method to pair Notmuch with Neovim?
Date: Tue, 18 Apr 2023 01:22:26 -0600	[thread overview]
Message-ID: <643e45327d185_21b043294e9@chronos.notmuch> (raw)
In-Reply-To: <87ildtu3qd.fsf@ra.horus-it.com>

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 <trial@example.com>
> maildir-store = /home/trial/.mail
> source = notmuch:///home/trial
> outgoing = /usr/sbin/sendmail

Again: that's not notmuch-vim.

Cheers.

-- 
Felipe Contreras

  reply	other threads:[~2023-04-18  7:22 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-17  2:57 Recommended method to pair Notmuch with Neovim? Ralph Seichter
2023-04-17 12:41 ` Felipe Contreras
2023-04-17 13:34   ` inwit
2023-04-17 22:22     ` Ralph Seichter
2023-04-17 23:44       ` Jon Fineman
2023-04-18 19:12         ` Ralph Seichter
2023-04-18 21:31           ` Jon Fineman
2023-04-18 22:47             ` Ralph Seichter
2023-04-19  2:19               ` James Cook
2023-04-19  7:30                 ` Michael J Gruber
2023-04-19 15:57                   ` James Cook
2023-04-17 19:35   ` Ralph Seichter
2023-04-18  0:21     ` Felipe Contreras
2023-04-18  6:03       ` Ralph Seichter
2023-04-18  7:22         ` Felipe Contreras [this message]
2023-04-18 18:03           ` Ralph Seichter
2023-04-18 23:43             ` Felipe Contreras
2023-04-23 23:45 ` Ralph Seichter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=643e45327d185_21b043294e9@chronos.notmuch \
    --to=felipe.contreras@gmail.com \
    --cc=notmuch@notmuchmail.org \
    --cc=ralph@ml.seichter.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).