On Wed, 26 Aug 2020 08:31:35 +0200 Luc Henninger wrote: > Le 26/08/2020 à 01:19, Jason Pyeron a écrit : > >> -----Original Message----- > >> From: Luc Henninger > >> Sent: Tuesday, August 25, 2020 6:40 PM > >> > > I'm thick - what the issue? There was no body to the email. > > > > > Hello, > > ( My previous message dos not contain the text, only the attachments!!! ) > > For years, I use emacs-nt (the one provided by gnu.org) under cygwin. I > just discover that emacs is also directly provided by cygwin (late is > better than never :-)). So I try to use it successfully up to a > compilation error in one of my program in java. > > To compile java (or scala), I use my own makefile that I start from emacs. > > In case of error, I encountered a strange output undex emacs_w32 and > emacs_nox compared to emacs_nt (see trace_nox, trace_w32 and trace_nt in > attachment).
I'm not sure what you meant by emacs_w32, but if you start make by M-x compile, I guess env CYGWIN=disable_pcon emacs will solve the issue. > I currently use emacs release 27.1 for all emacses, but I verify that I > have the same strange behaviour with emacs 26.3. > > Can anybody explain this? and more gane give a workaround? Cygwin 3.1.x and later enables pseudo console for non-cygwin apps. Pseudo console generates some ANSI escape sequences if non-cygwin apps are executed. However, emacs provides dumb terminal for M-x compile, M-x shell or M-x eshell. As a result, the problem occurs. CYGWIN=disable_pcon disables pseudo console, so it will resolve the issue. -- Takashi Yano <takashi.y...@nifty.ne.jp> -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple