emacs-devel
[Top][All Lists]
Advanced

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

Re: PATH, exxec-path and early-init file [Windows]


From: Angelo Graziosi
Subject: Re: PATH, exxec-path and early-init file [Windows]
Date: Wed, 12 Aug 2020 14:54:21 +0200 (CEST)

> Il 12/08/2020 14:45 Richard Copley ha scritto:
> 
>  
> On Wed, 12 Aug 2020 at 00:06, Angelo Graziosi wrote:
> > [...]
> > In any case is there a way to avoid to modify Windows PATH?
> 
> One way is to install Emacs to c:\msys64\mingw64\bin, by running 'make
> install'. The default library search path includes the invocation
> directory. Installing comes with its own disadvantages.
> 
> Another is to call SetDllDirectory (and optionally
> SetDefaultDllDirectories) from "main". I don't know how well that
> works out.

..but why early-init.el does not work as one expect?

Anyway, it seem that this solves my problem: I create a Windows link (.lnk) 
whose target is

C:\msys64\usr\bin\env.exe PATH="/mingw64/bin:$PATH" 
HOME=/c/Users/utente/AppData/Roaming /c/Emacs/bin/runemacs.exe



reply via email to

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