I have activated in Alpine email client the following setting in order to use Emacs as an editor when composing emails:
[X] Enable Alternate Editor Implicitly Editor = emacsclientw.exe -ca runemacs.exe
When I put the cursor in the body field of message, Emacs opens. But the problem is returning the contents of the Emacs buffer to Alpine. When I save the temporary buffer and return to Alpine, the typed text does not appear in Alpine.
If I use the below settings, Alpine returns the content of Emacs buffer to Alpine, but the problem is that this opens a new instance of Emacs that I dislike.
[X] Enable Alternate Editor Implicitly Editor = emacs.exe