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

emulate -R resets localoptions



emulate -R seems to reset *all* options, in particular localoptions. I find
it confusing; it breaks my simple notion, that I should be able to say

function foo() {
    setopt localoptions

and then set *any* option without fear, that it will mess the caller.

May be, there shoud be some flag (EXPLICIT or like), which says, that option
can be reset only explicitly?

============================================================
Andrej Borsenkow                Fax:   +7 (095) 796 99 20
SNI ITS Moscow                  Tel:   +7 (095) 796 99 24

NERV:  borsenkow.msk            E-Mail: borsenkow.msk@xxxxxx
============================================================




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