all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "H. Dieter Wilhelm" <dieter@duenenhof-wilhelm.de>
Cc: emacs-devel@gnu.org
Subject: Re: Installing the current emacs-28 branch under Windows 10
Date: Fri, 15 Oct 2021 13:58:18 +0300	[thread overview]
Message-ID: <8335p2k111.fsf@gnu.org> (raw)
In-Reply-To: <86h7diy6yp.fsf@duenenhof-wilhelm.de> (dieter@duenenhof-wilhelm.de)

> From: "H. Dieter Wilhelm" <dieter@duenenhof-wilhelm.de>
> Date: Fri, 15 Oct 2021 11:26:22 +0200
> 
> 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?

It's not Emacs that does that, it's MSYS.  One of the "special things"
it does, and the reason why it's a fork of Cygwin, is that it converts
Posix-style /foo/bar file names to Windows-style X:\SOMETHING\foo\bar,
where "X:\SOMETHING" comes from MSYS notion of where the root of the
Posix tree lives, unless the original file name starts with something
like "/d/", in which case it's converted to "D:\".  Emacs can deal
with both forward and backslashes alike.

> 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?

Yes, if you install the Info files unrelated to Emacs in a place that
doesn't match the value of Info-default-directory-list.

> >> 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...

I think this batch file shouldn't be there, as it just muddies the
waters.  But it isn't our call to make, it's the call of those who
produced the batch file and added it to the distribution.

> 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)

You need to install those programs, and make sure they are MinGW
programs, not MSYS programs.  The latter might work, but could have
subtle "issues", because they are not really native Windows programs,
whereas the Emacs you built is.

> 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

That it reports an MSYS-style file name means you are invoking Emacs
from MSYS shell.  Don't.



  reply	other threads:[~2021-10-15 10:58 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-12  9:23 Installing the current emacs-28 branch under Windows 10 H. Dieter Wilhelm
2021-10-12 14:06 ` Eli Zaretskii
2021-10-12 18:02   ` H. Dieter Wilhelm
2021-10-12 18:59     ` Eli Zaretskii
2021-10-13 20:30       ` H. Dieter Wilhelm
2021-10-13 21:28         ` Óscar Fuentes
2021-10-14  6:45           ` Eli Zaretskii
2021-10-17 23:01             ` Óscar Fuentes
2021-10-17 23:43               ` Óscar Fuentes
2021-10-14  6:33         ` Eli Zaretskii
2021-10-14 15:59           ` H. Dieter Wilhelm
2021-10-14 16:41             ` Eli Zaretskii
2021-10-15  9:26               ` H. Dieter Wilhelm
2021-10-15 10:58                 ` Eli Zaretskii [this message]
2021-10-16  9:57                   ` H. Dieter Wilhelm
2021-10-18 20:13                     ` H. Dieter Wilhelm
2021-10-18 20:34                       ` Óscar Fuentes
2021-10-19  7:00                         ` H. Dieter Wilhelm
2021-10-19 19:43                       ` H. Dieter Wilhelm
2021-10-20 11:49                         ` Eli Zaretskii
2021-10-20 19:15                           ` H. Dieter Wilhelm

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8335p2k111.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=dieter@duenenhof-wilhelm.de \
    --cc=emacs-devel@gnu.org \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.