Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: sticky emulation



On Thu, 12 Feb 2009 11:10:40 +0100
Oliver Kiddle <okiddle@xxxxxxxxxxx> wrote:
> Is it somehow possible with this new feature to, from a function, revert
> to the user's interactive option set. Could be useful for setopt
> completion to correctly complete set and unset options.

The code doesn't make the original options available deeper in.  You'd have
to do what the completion code optionally does and save it yourself.

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070



Messages sorted by: Reverse Date, Date, Thread, Author