On Mon, Aug 14, 2000 at 12:59:44PM -0400, Bob Bell ([EMAIL PROTECTED]) said:
> On Mon, Aug 14, 2000 at 06:14:31PM +0200, Caster <[EMAIL PROTECTED]> wrote:
> > Hi!
> > Why something like this doesn't work:
> > 
> > set editor=`if test $DISPLAY ; then echo gvim -c ":normal 2/^$/"
> > +nohlsearch %s ; else echo vim -c ":normal 2/^$/" +nohlsearch %s ; fi`
> > 
> > It's all in one line. Mutt complains about unknown -c option (!). I've
> > tried to quote it and escape it somehow but it just doesn't work.
> 
>     Try a short shell script that basically does the above and then call
> that shell script.

You also might want to add the -f flag to gvim in your script, else
mutt will complain.

-- 
Jim Toth
[EMAIL PROTECTED]

Reply via email to