From: Vladimir Lomov <lomov.vl@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: [PATCH] Small improvement for 'setuptex'
Date: Fri, 23 Sep 2011 21:37:16 +0900 [thread overview]
Message-ID: <20110923123716.GR21773@smoon> (raw)
In-Reply-To: <CALBOmsZQvePuVBUhDfx36RrWhJWen5Y-6GkZDC4x+oycV1pi2Q@mail.gmail.com>
Hello,
** Mojca Miklavec [2011-09-23 09:38:40 +0200]:
> On Thu, Sep 22, 2011 at 15:46, Vladimir Lomov <lomov.vl@gmail.com> 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.
I wasn't sure about that variable. Quick search (grep -r 'TEXMFOS'
CONTEXT_MINIMAL/*) shows me a lot places where that variable is used.
> Out of curiosity: why/when do you need export?
In short: for shell session set up.
IMHO, this is not right place to disscuss shell sessions, but I use `setuptex'
for tmux window initialization (see here:
https://github.com/vp1981/scripts/tree/master/tmux/scripts, files
smoon{,3,4}, though I didn't test with export yet).
---
WBR, Vladimir Lomov
--
It is wise to keep in mind that neither success nor failure is ever final.
-- Roger Babson
___________________________________________________________________________________
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
___________________________________________________________________________________
prev parent reply other threads:[~2011-09-23 12:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-22 13:46 Vladimir Lomov
2011-09-23 7:38 ` Mojca Miklavec
2011-09-23 12:37 ` Vladimir Lomov [this message]
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=20110923123716.GR21773@smoon \
--to=lomov.vl@gmail.com \
--cc=ntg-context@ntg.nl \
/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.
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).