propose-patch:
@darcs push --and-apply --edit-description -o .darcspatch -T patches@xwt.org http://darcs.ibex.org/ibex/
@(echo "To: patches@xwt.org";\
- echo "Subject: "`grep -A2 \"New patches\" .darcspatch | tail -n 1 | cut -b 2-`;\
+ SUB=`grep -A2 New.patches .darcspatch | tail -n 1 | cut -b 2-`;\
+ echo "Subject: $SUB";\
cat .darcspatch) | /usr/sbin/sendmail -bm -f $(USER)@xwt.org patches@xwt.org
@rm .darcspatch