Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: vi editting troubles
- X-seq: zsh-workers 14540
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: vi editting troubles
- Date: Tue, 29 May 2001 14:58:10 +0000
- In-reply-to: <200105290659.IAA08490@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- In-reply-to: <200105291157.NAA09013@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <200105290659.IAA08490@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <200105291157.NAA09013@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
On May 29, 1:57pm, Sven Wischnowsky wrote:
} Subject: PATCH: Re: vi editting troubles
}
} > Bart Schaefer wrote:
} >
} > > _comp_setup='setopt ${_comp_options[@]} localtraps;
} > > exec </dev/null;
} > > trap - ZERR'
} > >
} > > and then `eval' that variable in any function that is an entry point into
} > > the completion system.
}
} Here it is. There are still some functions in Base/Widget that don't
} eval $_comp_setup but they either call _main_complete later or something
} entirely different anyway (and use emulate -L or some such), so I wasn't
} sure if we should use it there, too. Some part of my brain says yes,
} other parts say no or `for some...'.
I think anything that eventually calls _main_complete can be left alone as
long as the surrounding code deals properly with ksh_arrays and the set of
globbing options.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
Messages sorted by:
Reverse Date,
Date,
Thread,
Author