Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
emulate -R resets localoptions
- X-seq: zsh-workers 4048
- From: "Andrej Borsenkow" <borsenkow.msk@xxxxxx>
- To: "ZSH workers mailing list" <zsh-workers@xxxxxxxxxxxxxxx>
- Subject: emulate -R resets localoptions
- Date: Fri, 5 Jun 1998 11:58:23 +0400
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