I installed emacs 26 under cygwin64, terminal version, no X.

When I enter emacs to start there is a second or so delay before the bash prompt reurns, the error code is set to 0.

The same thing occurs with emacs 25.

I have two machines, one Win7, the other Win10. The behaviour above is exhibited only on the Win7 machine.

I am unable to find any log info to see what might be going on.

Any ideas?

  • 1
    run strace /usr/bin/emacs it should rise a pop up with an error message. You likely had a incorrect update
    – matzeri
    Aug 21 '18 at 7:26
  • 1
    You might also try running it with -Q --debug-init to stop it reading any startup files.
    – meuh
    Aug 21 '18 at 7:59
  • $ strace /usr/bin/emacs strace.exe: error creating process C:\cygwin64\bin\emacs, (error 5) $ emacs -Q --debug-init $ Aug 21 '18 at 8:32

I believe the issue is as highlighted here.


TL;DR - Problem is Trend anti virus.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.