[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: msys2 build path problems + copy-paste english results in chinese ch
From: |
Angelo Graziosi |
Subject: |
Re: msys2 build path problems + copy-paste english results in chinese characters |
Date: |
Thu, 2 Dec 2021 15:21:52 +0100 (CET) |
Oops, missed subject in replay..
> Il 02/12/2021 15:09 Angelo Graziosi ha scritto:
>
>
> > Try this in your .emacs :
> >
> > (let ((dir (file-name-directory (car command-line-args))))
> > (setenv "PATH" (concat (getenv "PATH") path-separator dir))
> > (setq exec-path (append exec-path (list dir))))
>
> I tried this
>
> (let ((dir (file-name-directory (car command-line-args))))
> (setenv "PATH" (concat (getenv "PATH") path-separator dir))
> (setq exec-path (append exec-path '("C:/msys64/mingw64/bin"
> "C:/msys64/usr/bin"))))
>
> but it does not seem to work.
>
> First, I had to change it this way
>
> - ...setq exec-path (append exec-path (list dir)...
> + ...setq exec-path (append exec-path '(list dir)...
>
> otherwise Emacs won't start.
>
> Second, with that change only '...\Emacs\bin' is added to the PATH, not the
> MSYS2/MINGW64 paths...
>
> Instead of change the init file, it is some year I use a Windows .lnk with
>
> Target: C:\Windows\System32\cmd.exe /c "SET
> path=C:\msys64\mingw64\bin;%path%&& SET PRELOAD_WINSOCK=1&& START /D
> ^"C:\LocalApps\Emacs\bin^" runemacs.exe"
>
>
> Ciao,
> Angelo.
- Re:, Angelo Graziosi, 2021/12/02
- Re: msys2 build path problems + copy-paste english results in chinese characters,
Angelo Graziosi <=