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.

Thanks,

--
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA

Attachment: signature.asc
Description: PGP signature

Reply via email to