emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Proposed patch to nt\runemacs.c: a way to augment environment variab


From: Evgeny Roubinchtein
Subject: Re: Proposed patch to nt\runemacs.c: a way to augment environment variables prior to starting Emacs
Date: Thu, 15 Oct 2015 07:32:43 -0700

For the same reason runemacs is an executable, rather than a batch
script: having a batch script will pop up a console window, and I
would like to keep that hidden from view.

On Thu, Oct 15, 2015 at 7:31 AM, Evgeny Roubinchtein
<address@hidden> wrote:
> For the same reason runemacs is an executable, rather than a batch
> script: having a batch script will pop up a console window, and I
> would like to keep that hidden from view.
>
> On Thu, Oct 15, 2015 at 12:47 AM, Juanma Barranquero <address@hidden> wrote:
>> On Thu, Oct 15, 2015 at 12:08 AM, Evgeny Roubinchtein <address@hidden>
>> wrote:
>>
>>> With this patch applied, I can set the environment variable EMACS_ENV
>>> to ">PATH>${msys2_root}/mingw64/bin", and have that directory appended
>>> to the PATH but only in the environment of the runemacs process.  That
>>> environment is inherited by the emacs process, so I can allow Emacs to
>>> find the libraries it needs in order to run without copying them to
>>> the Emacs installation directory and without altering the PATH for my
>>> user account.
>>
>> Why not simply have a myrunemacs.bat
>>
>> @echo off
>> setlocal
>> set PATH=%PATH;/your/path/to/mingw64/bin
>> runemacs %*
>> endlocal
>>
>> ??



reply via email to

[Prev in Thread] Current Thread [Next in Thread]