From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7453 invoked by alias); 16 Mar 2015 16:08:55 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 34722 Received: (qmail 29533 invoked from network); 16 Mar 2015 16:08:39 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:cc:mime-version:content-type; bh=cPooQ/4ag7gjRY9H05ZqcghEmKkxon9C2YnX6aq21NA=; b=YvzvdfjpLy7F4JtCSc/yzoc1WiZppZXeop1X1Hp/q//QJHEyaHjeo67h7/apqW8ylg d32UM8vS+Kz8EffLJm5Dd5ifCFWKKYYDK2D0/H1P0QaLbDqJYETPsJ1vuoLgNZSAg/lp XtJQMYMd+YkqSxkc/x10MkcpWU7kTHmOmjSMzlql7J87FPkh7ZFqdA/NcqZr3JLnH69i XD27HsAjxLV/XkIH9s0M2Xk7cGGhyN/VatxjGMhIAUc7rtG6bCqy0yBcaEe67xl06ast 119EaDNyJOie4RGlLl61ge+L7HbQrUIIcjisO6g9UX50XzKt4cR9MGVzRmReudhmqHQx hQ2A== X-Gm-Message-State: ALoCoQlkZJvRXFthenhFGiyOluWd8EYt2A8zfV7GPFiIepIGWQ0onVIVo6T48enxrdmwe17UX5Hw X-Received: by 10.202.226.198 with SMTP id z189mr46635331oig.64.1426522113553; Mon, 16 Mar 2015 09:08:33 -0700 (PDT) From: Bart Schaefer Message-Id: <150316090829.ZM15335@torch.brasslantern.com> Date: Mon, 16 Mar 2015 09:08:29 -0700 In-Reply-To: <20150316080819.GR4524@isis.sigpipe.cz> Comments: In reply to Roman Neuhauser "Re: fndir introspection, site-packages documentation" (Mar 16, 9:08am) References: <20150313224121.GO4524@isis.sigpipe.cz> <150313203904.ZM25016@torch.brasslantern.com> <20150315021436.GQ4524@isis.sigpipe.cz> <150315121447.ZM27996@torch.brasslantern.com> <20150316080819.GR4524@isis.sigpipe.cz> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: fndir introspection, site-packages documentation Cc: Roman Neuhauser MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Mar 16, 9:08am, Roman Neuhauser wrote: } } but then i'm bound to miss replies. i don't want to subscribe to } zsh-workers (yet)... We're pretty good about Cc'ing people when they ask to be. Everybody, please Cc Roman. } > Can anyone give me a situation in which an } > oridinary user (i.e., not a software packager) would need this? } } how about: a site admin wants to install a function for all users. And the site admin can't determine where to do this by simply looking at the value of $fpath? If he's automating it for a bunch of dissimilar platforms he's back to being a software packager. } the behavior with *default* --prefix is, well, completely contrary } to the intent described: "no matter how the shell was configured" is } blatantly false thanks to this special case. I'm leaving this to PWS as he made the changes to configure.ac. I will however note that I think --disable-site-fndir ought to do exactly that, and the documentation blurb is what needs fixing. If the shell is being configured for some kind of secure/embedded environment, removing all access to locally added functions is perfectly reasonable. } > Maybe the right thing is to throw all of this into a module (and doc } > for that module) that can be loaded by package maintainers } } zmodload or pkg-config? I meant a zmodload module.