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

Re: PATCH: narrow-to-region (was Re: This widget implementation feels a bit clunky)



>  emulate -L zsh
>  setopt extendedglob

These lines (not introduced by Bart's patch) have the effect of
resetting lots of options when inside the recursive-edit. That 
affects the behaviour of some things such as completion.

How much of emulate zsh is actually needed by narrow-to-region itself?
Can we get by with just setopt localoptions and a few extras? Or use an
anonymous function around everything but recursive-edit?

It'd also be good for the function to use the new undo limit features.

Oliver



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