<<< Date Index >>>     <<< Thread Index >>>

Re: Background mail composition



On Tue, Oct 14, 2003 at 02:55:00PM +0100, Andrew Sayers wrote:
> I'd like to compose mail in a different window/different
> screen/background task, a la GUI clients.  So far, I've managed to get
> this working for new messages by doing this:
> 
> macro index   m       "<shell-escape>screen -X screen mutt ''\n"
> 
> (in other words, tell the current screen session to open a new screen in
> the same session and run mutt with a blank "To" address)
> 
> Not a pretty solution, but it works.  You can presumably get similar
> results by using "mutt '' &" or "xterm -e mutt '' &".  However, I can't
> see how I'd do an equivalent trick when replying to an existing message.
> Does anyone have any suggestions?
> 
> Also, while looking around for the above macro, I found that in
> command-lines like `mutt -f /dev/null -e 'exec quit'`, the '-e' argument
> seems to be ignored because of the '-f'.  Should this be filed as a bug?
> 
Surely the neatest way to get a different window is to fire off an X
aware editor like xvile, it's text mode but launches its own window.
Just tell mutt to use xvile as your editor and it's done for all cases
that invoke the editor.

-- 
Chris Green (chris@xxxxxxxxxxx)