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)



On Jul 19,  5:55am, Oliver Kiddle wrote:
}
} How much of emulate zsh is actually needed by narrow-to-region itself?

It uses a bunch of unquoted variable references without braces so it
clearly expects no-shwordsplit and no-ksharrays.  I don't see any need
for extendedglob, on another quick read-through.

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

I was going to send a follow-up message about undo-ing and whether a call
to split-undo is needed before (and/or after) the recursive-edit.

Related, should -S / -R implicitly set undo points?



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