From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/71283 Path: news.gmane.org!not-for-mail From: Mojca Miklavec Newsgroups: gmane.comp.tex.context Subject: Re: [PATCH] Small improvement for 'setuptex' Date: Fri, 23 Sep 2011 09:38:40 +0200 Message-ID: References: <20110922134608.GQ21773@smoon> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1316763550 6584 80.91.229.12 (23 Sep 2011 07:39:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 23 Sep 2011 07:39:10 +0000 (UTC) To: mailing list for ConTeXt users , Vladimir Lomov Original-X-From: ntg-context-bounces@ntg.nl Fri Sep 23 09:39:04 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R70Lf-0001eT-TD for gctc-ntg-context-518@m.gmane.org; Fri, 23 Sep 2011 09:39:03 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0A1DECAFB8; Fri, 23 Sep 2011 09:39:00 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id XjmrB0qBHmRU; Fri, 23 Sep 2011 09:38:56 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6D751CAFB0; Fri, 23 Sep 2011 09:38:56 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 16E39CAFB0 for ; Fri, 23 Sep 2011 09:38:54 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id qqGBicgSKqYL for ; Fri, 23 Sep 2011 09:38:42 +0200 (CEST) Original-Received: from filter1-nij.mf.surf.net (filter1-nij.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 43E98CAF37 for ; Fri, 23 Sep 2011 09:38:42 +0200 (CEST) Original-Received: from mail-qy0-f169.google.com (mail-qy0-f169.google.com [209.85.216.169]) by filter1-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p8N7ceC8027916 for ; Fri, 23 Sep 2011 09:38:41 +0200 Original-Received: by qyl38 with SMTP id 38so7335084qyl.14 for ; Fri, 23 Sep 2011 00:38:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=ANzS6LV1sGjMn58zcHGxi2q6RGJ8cCnmE6V6/zA4hVE=; b=bUDuNfwLlDW9X0zGWeFyhuQnGJDrT/vIp1PKagZkZtrNcjWGGEDf+NEvZJ63oD+T3i b/2KlasezS9hqrGfpOvfhGuNEoitBdHwr8av76N7Hns7DEvWMqd0ynwr5IOEScb/cjyg KzAgc9MYN+/7H2+PLL2OUKtuwXJEHQmiPHL0k= Original-Received: by 10.229.234.140 with SMTP id kc12mr2528098qcb.0.1316763520215; Fri, 23 Sep 2011 00:38:40 -0700 (PDT) Original-Received: by 10.229.82.205 with HTTP; Fri, 23 Sep 2011 00:38:40 -0700 (PDT) In-Reply-To: <20110922134608.GQ21773@smoon> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.216.169; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07FA7CEy5 - 68730c12e2e9 - 20110923 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.152 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:71283 Archived-At: On Thu, Sep 22, 2011 at 15:46, Vladimir Lomov wrote: > Hello. > > I'm using standard 'setuptex' file to set apropriate variables for my > shell. I'd like to suggest small improvement for this file. See > attached patch. > > P.S. The real use of this file is in my shell initialization scripts. > It is sourced in specific way so I faced a situation when 'export' is > required. Besides that unsetting unused variables also good habit to > interactive session. Done, thanks. But I also unset TEXMFOS. Out of curiosity: why/when do you need export? Mojca ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________