<br><br><b><i>Reinhard Kotucha &lt;reinhard.kotucha@web.de&gt;</i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> &gt;&gt;&gt;&gt;&gt; "Siep" == Siep Kroonenberg <siepo @cybercomm.nl=""> writes:<br><br>  &gt; Of course you could also set environment variables via Settings /<br>  &gt; Control Panel System / Advanced tab / Environment variables.<br><br>This is certainly much easier than setting the environment in Emacs.<br>It has some other advantages as well.<br></siepo></blockquote>For the person who posted this thread, I can imagine this is true&nbsp; but I am not <br> sure if that is the case for me.<br> <br> The endpoint I need is for a student to be able to put the DVD into a random <br> lab computer, probably a different one each time, and just start working. Because of its particular inter-operation with the R statistical language (these are Statistics students), Emacs is a necessary
 component. Asking students to click around setting environment variables each time will cost precious goodwill, so I am glad to put the work in on my side. I chose to go the Emacs route rather than tcl/tk (altering tlpmgui) because learning about that is something more likely to be useful to me in the near future than other alternatives. <br> <br> <siepo @cybercomm.nl=""></siepo> <blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><siepo @cybercomm.nl="">Regarding ELisp, it's probably not necessary to use concat here.  I<br>think that (setenv "PERL5LIB" "D:\\perlt\\lib;D:\\perltl\\site\\llib")<br>is sufficient.  There is also a typo: "perlt".</siepo><siepo @cybercomm.nl=""></siepo><siepo @cybercomm.nl=""></siepo></blockquote> <blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><siepo @cybercomm.nl="">conact has to be used if something has to be added to
 an existing<br>environment variable:<br><br>(setenv "FOO" "abc")<br>(message (getenv "FOO"))<br>  --&gt; "abc"<br>(setenv "FOO" (concat (getenv "FOO") "xyz"))<br>(message (getenv "FOO"))<br>  --&gt; "abcxyz"<br><br>Don't forget the path separator (semicolon on Windows).<br><br>Though (concat () "zzz") returns "zzz" it is better to replace<br>(concat () "zzz") by "zzz".  Keep things as simple as possible.<br>   <br>   <br>   </siepo></blockquote> Your information and the examples are exactly what I needed and <br> will save me much time as I try to interact with Windows XP through <br> Elisp. <br> -Poti<siepo @cybercomm.nl=""></siepo><br> <siepo @cybercomm.nl=""></siepo><p>&#32;

<hr size=1>Need Mail bonding?<br>Go to the <a href="http://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx?link=ask&sid=396546091">Yahoo! Mail Q&A</a> for <a href="http://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx?link=ask&sid=396546091">great tips from Yahoo! Answers</a> users.