emacs-devel
[Top][All Lists]
Advanced

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

Re: Installing the current emacs-28 branch under Windows 10


From: H. Dieter Wilhelm
Subject: Re: Installing the current emacs-28 branch under Windows 10
Date: Fri, 15 Oct 2021 11:26:22 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> From: "H. Dieter Wilhelm" <dieter@duenenhof-wilhelm.de>
>> I didn't set INFOPATH (checked ~/.bashrc, I think it isn't a Windows
>> environment variable).
>
> It isn't.  But when you start Emacs from the MSYS Bash, you get fed
> the INFOPATH value that's set there, for whatever reasons.  I don't
> know where INFOPATH is defined and why; if that's not what you want,

The culprits are: /etc/bash.bashrc which sources /etc/profile and
herein we have:

INFOPATH='/usr/local/info:/usr/share/info:/usr/info:/share/info'

> perhaps edit your MSYS/Bash init files to remove or update the
> setting, because it _will_ get in the way.

:-)
setting in ~/.bashrc:

INFOPATH="/d/Emacs/emacs28/share/info/":$INFOPATH

(Otherwise I'm loosing the GNU core util infos.)

Info-directory-list became then:
("D:\\Emacs\\emacs28\\share\\info\\" "D:\\appl\\MSYS2\\usr\\share\\info")

Works for me, at least when starting under the MinGW shell, thank you
very much!  But why is Emacs switching here to the Windows path
notation, I thought Emacs is using internally always slashes?

Then, I've to check if this works when starting Emacs without a shell.
Presumably not, maybe I've to set then the environment variable in the
OS?

>> By the way, there was no runemacs.bat in the installation directory
>> created.
>
> Neither should there be.  Why did you expect to see runemacs.bat?

I think runemacs.bat is coming from the Emacs installers for Windows.
Its sole content is:

runemacs.exe -Q

Helpful, didn't know that, but I'd rename it to emacs-Q.bat...

>> ------------------------------
>> 3) MSYS2 MinGW 64-bit, is working
>> ------------------------------

> And make sure the directory with MinGW DLLs is on PATH.

Thanks, will do :-)

I'd also like to mention, that the MSYS2 shells - seemingly - have no
job control: C-z in the terminal window means Emacs is gone forever :-/
Thankfully C-z under Gnu-Emacs just minimises it.


Well, the next topics will be the "little helper" programs ;-)

M-$
apply: Searching for program: No such file or directory, ispell

and gpg when doing (list-packages)

Failed to verify signature archive-contents.sig:
No public key for 066DAFCB81E42C40 created at 2021-10-13T23:10:03+0200 using RSA
Command output:
gpg: keyblock resource 
'/c/Users/uidg1626/.emacs.d/log/c:/Users/uidg1626/.emacs.d/elpa/gnupg/pubring.kbx':
 No such file or directory
gpg: Signature made Wed Oct 13 23:10:03 2021 WEST
gpg:                using RSA key C433554766D3DDC64221BFAA066DAFCB81E42C40
gpg: Can't check signature: No public key

     Dieter
-- 
Best wishes
H. Dieter Wilhelm
Zwingenberg, Germany




reply via email to

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