zsh-workers
 help / color / mirror / code / Atom feed
* emulate -R resets localoptions
@ 1998-06-05  7:58 Andrej Borsenkow
  1998-06-05  8:44 ` Zefram
  1998-06-05  8:54 ` Bart Schaefer
  0 siblings, 2 replies; 3+ messages in thread
From: Andrej Borsenkow @ 1998-06-05  7:58 UTC (permalink / raw)
  To: ZSH workers mailing list

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@sni.de
============================================================



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1998-06-05  8:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-06-05  7:58 emulate -R resets localoptions Andrej Borsenkow
1998-06-05  8:44 ` Zefram
1998-06-05  8:54 ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).