From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.help Subject: Re: emacs won't start interactively Date: Sun, 26 May 2019 15:43:50 +0200 Message-ID: <87h89hwctl.fsf@telefonica.net> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="65436"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun May 26 15:50:22 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hUtXa-000Gss-Dn for geh-help-gnu-emacs@m.gmane.org; Sun, 26 May 2019 15:50:22 +0200 Original-Received: from localhost ([127.0.0.1]:55597 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hUtXZ-000820-7g for geh-help-gnu-emacs@m.gmane.org; Sun, 26 May 2019 09:50:21 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:49748) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hUtXH-00080U-2g for help-gnu-emacs@gnu.org; Sun, 26 May 2019 09:50:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hUtRQ-0004ft-AO for help-gnu-emacs@gnu.org; Sun, 26 May 2019 09:44:01 -0400 Original-Received: from [195.159.176.226] (port=53546 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hUtRQ-0004cZ-3t for help-gnu-emacs@gnu.org; Sun, 26 May 2019 09:44:00 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1hUtRN-0009ws-VM for help-gnu-emacs@gnu.org; Sun, 26 May 2019 15:43:57 +0200 X-Injected-Via-Gmane: http://gmane.org/ Cancel-Lock: sha1:uQJPulL/GFCceltKYO4ONiTGZSg= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.159.176.226 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:120644 Archived-At: Joe_Trivers--- via help-gnu-emacs 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 \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