all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Óscar Fuentes" <ofv@wanadoo.es>
To: help-gnu-emacs@gnu.org
Subject: Re: emacs won't start interactively
Date: Sun, 26 May 2019 15:43:50 +0200	[thread overview]
Message-ID: <87h89hwctl.fsf@telefonica.net> (raw)
In-Reply-To: CO1P102MB005638DDC9BEE833F63B6DF5EE1C0@CO1P102MB0056.NAMP102.PROD.OUTLOOK.COM

Joe_Trivers--- via help-gnu-emacs <help-gnu-emacs@gnu.org> writes:

> I am trying to install emacs on a new (to me) desktop Windows 10 PC.
> After following the download instructions for Windows, clicking on the
> runemacs.exe icon has no apparent effect. Running emacs from the
> command prompt with a --help argument produces the Usage: line and
> list of command line options. Running emacs as: emacs-26.1\bin\emacs
> --batch -eval (message \"hi there\") produces the expected string: hi
> there so apparently command line parsing and elisp execution works.
> However, running just emacs-26.1\bin\emacs returns almost immediately
> with no output, and so does emacs-26.1\bin\emacs -nw.
>
> First I downloaded and unpacked emacs-26.2-i686.zip from a mirror and
> it didn't work. I then tried emacs-26.2-x86_64.zip
> emacs-26.1-x86_64.zip from the ftp.gnu.org site, as well as the
> no-deps version with emacs-26-x86_64-deps unpacked on top. None of
> them worked. I moved the unpacked tree from <me>\Downloads to c:\GNU
> but that didn't seem to help either.
>
> I installed 26.1-x86_64 on a Windows 10 laptop last year (in c:\GNU)
> and it works just fine. Both PCs are set up by my employer's IT
> department, presumably using the same procedure. I can't figure out
> what's different on this system. Using "run as administrator" doesn't
> seem to make any difference.
>
> Can someone please advise me what might be wrong, or what I can try
> next?

What's the exit code of emacs?

emacs.exe -nw
echo %errorlevel%

or

start /wait emacs.exe
echo %errorlevel%

If, on the command line, you set PATH to the bare minimum
(c:\windows\system32) and then run emacs.exe, does it work?

You can try installing Dependencies [1] and see if there is some missing
dll or a mismatch.

1. https://github.com/lucasg/Dependencies




  reply	other threads:[~2019-05-26 13:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-26  3:27 emacs won't start interactively Joe_Trivers--- via help-gnu-emacs
2019-05-26 13:43 ` Óscar Fuentes [this message]
2019-05-26 14:41 ` Eli Zaretskii
     [not found] <BN6P102MB00661ACF5A35AD540DAC0C10EE1D0@BN6P102MB0066.NAMP102.PROD.OUTLOOK.COM>
2019-05-27 16:59 ` Eli Zaretskii
2019-05-27 17:09   ` Óscar Fuentes
  -- strict thread matches above, loose matches on Subject: below --
2019-05-28  1:09 Joe Trivers via help-gnu-emacs
2019-05-28  2:10 ` Óscar Fuentes
2019-05-28 14:51   ` Eli Zaretskii
2019-05-28 14:48 ` Eli Zaretskii
2019-05-28 17:30 Joe Trivers via help-gnu-emacs
2019-05-28 18:55 ` Eli Zaretskii

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=87h89hwctl.fsf@telefonica.net \
    --to=ofv@wanadoo.es \
    --cc=help-gnu-emacs@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.