zsh-workers
 help / color / mirror / code / Atom feed
From: "Andrej Borsenkow" <borsenkow.msk@sni.de>
To: "ZSH workers mailing list" <zsh-workers@math.gatech.edu>
Subject: emulate -R resets localoptions
Date: Fri, 5 Jun 1998 11:58:23 +0400	[thread overview]
Message-ID: <005901bd9057$b7a4fe80$21c9ca95@ao13.mow.sni.de> (raw)

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
============================================================



             reply	other threads:[~1998-06-05  8:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-06-05  7:58 Andrej Borsenkow [this message]
1998-06-05  8:44 ` Zefram
1998-06-05  8:54 ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='005901bd9057$b7a4fe80$21c9ca95@ao13.mow.sni.de' \
    --to=borsenkow.msk@sni.de \
    --cc=zsh-workers@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).