X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 16ACC386F448 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1598433450; bh=yZF4ebGsa13M8evQ8NyPKBDoMcJurNBQpgcqS4sh9z8=; h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=tKl/AFMAVcIB7PnP3idhWiD/Nkf4UUvWXdc6xQj5I3HgqoXbl0l//PjEZKjhyp0U2 zeOrFnj76HTJKKyMuVdPqA/AC6PXa4Ua6i2SjvNuPn+mT8iZbaMCPkzuOmRBj10cMj PRt4fs4lHaaq8UXJZOs6Pyj7mLDdcRaOB1bi+edQ= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 2113D386F410 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-04.nifty.com 07Q9Gj3T015610 X-Nifty-SrcIP: [124.155.38.192] Date: Wed, 26 Aug 2020 18:17:11 +0900 To: cygwin AT cygwin DOT com Subject: Re: [cygwin] Issue on output when using javac or scalac under emacs Message-Id: <20200826181711.4b19bceba741e182d2a0d12b@nifty.ne.jp> In-Reply-To: References: <254353029 DOT 2017595 DOT 1598395227754 DOT JavaMail DOT open-xchange AT opme11oxm24aub DOT bagnolet DOT francetelecom DOT fr> <069901d67b36$35b4f370$a11eda50$@pdinc.us> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Takashi Yano via Cygwin Reply-To: Takashi Yano Content-Type: text/plain; charset="utf-8" Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 07Q9I4aq026971 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 -- 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