From: Angelo Graziosi <angelo.g0@libero.it>
To: "emacs-devel@gnu.org" <emacs-devel@gnu.org>,
"ofv@wanadoo.es" <ofv@wanadoo.es>
Subject: Re: msys2 build path problems + copy-paste english results in chinese characters
Date: Thu, 2 Dec 2021 15:21:52 +0100 (CET) [thread overview]
Message-ID: <772483541.66550.1638454912514@mail1.libero.it> (raw)
In-Reply-To: <1828600041.64054.1638454169068@mail1.libero.it>
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.
next prev parent reply other threads:[~2021-12-02 14:21 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-02 14:09 Angelo Graziosi
2021-12-02 14:21 ` Angelo Graziosi [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-12-01 15:04 msys2 build path problems + copy-paste english results in chinese characters arthur miller
2021-12-01 15:55 ` Lars Ingebrigtsen
2021-12-01 18:32 ` Arthur Miller
2021-12-01 18:50 ` Lars Ingebrigtsen
2021-12-01 22:42 ` Arthur Miller
2021-12-01 16:46 ` Eli Zaretskii
2021-12-01 18:25 ` Arthur Miller
2021-12-01 18:44 ` Eli Zaretskii
2021-12-01 22:39 ` Arthur Miller
2021-12-01 23:01 ` Óscar Fuentes
2021-12-02 7:19 ` Eli Zaretskii
2021-12-02 9:42 ` Óscar Fuentes
2021-12-02 10:05 ` Eli Zaretskii
2021-12-02 15:40 ` Óscar Fuentes
2021-12-02 18:05 ` Eli Zaretskii
2021-12-05 8:43 ` Arthur Miller
2021-12-02 7:17 ` Eli Zaretskii
[not found] ` <AM9PR09MB4977B43C2FC19514E4385B5E966C9@AM9PR09MB4977.eurprd09.prod.outlook.com>
2021-12-05 10:17 ` Eli Zaretskii
2021-12-05 10:57 ` Arthur Miller
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=772483541.66550.1638454912514@mail1.libero.it \
--to=angelo.g0@libero.it \
--cc=emacs-devel@gnu.org \
--cc=ofv@wanadoo.es \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).