On Sun, Feb 09, 2020 at 06:07:18PM -0800, Kevin J. McCarthy wrote: > Hi Everyone, > > I thought I'd send an email to the list, since it's been pretty quiet for a > while. > > Recently, I've been playing around with background editing. This is still > in the early stages, and is very much "work in progress" - meaning the code > is a mess, light on testing, and subject to rebasing. But if any of you > want to try it out I'm working in branch "kevin/background-edit". > > Caveats and notes: > - Turn it on by setting $background_edit. > > - $editor needs to be something that doesn't require the same terminal as > Mutt, (e.g. a graphical editor, or a script that opens a new screen window > or xterm), and that doesn't detach on exec. > > - Right now it only works for the <mail> function, and only allows a single > backgrounded session. I did this just to get something working more > quickly. It would be quite feasible to add multiple background sessions, > and I plan on expanding to the various reply functions. Not *everything* > will be backgroundable though. > > - Also, right now, backgrounding dumps you back in the index. This week, > I'll work on a landing page that doesn't force exiting. > > - Resume the send process by invoking <mail> again. > > - I haven't gotten around to blocking exiting with a backgrounded session > yet, so for now "don't do that". > > Yeah, that's a lot of caveats, but I'd still appreciate ideas or feedback > from those brave enough to give it a try.
God bless you, works perfectly. Is it possible to add new statusline format like "number of finished, yet not sent emails"? Sometimes I get distracted and forget to actually send the mail I wrote so it just seats there until I accidentally come by.