[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mutt: compose message in new window [was: Re: Musings on debian-user list]



On 2009-08-02 01:13:31 +0300, Andrei Popescu wrote:
> The proposed solution involves the script[1]:
> 
> ,----[ external-reply.sh ]
> | #!/bin/sh
> | DRAFT="$1"
> | cp "$DRAFT" "$DRAFT.tmp"
> | (
> |     xterm -e "exec mutt -H \"$DRAFT.tmp\""
> |     sleep 1
> |     rm -f "$DRAFT.tmp"
> | ) &
> |
> | exit 0
> `----
> 
> which you set as your editor (set editor="external-reply.sh"). Now 
> whenever you compose a message it opens in a new xterm and you can use 
> the first mutt to do whatever you want.

That won't set the "replied" flag (even though this may not be very
important).

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)


Reply to: