From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#60966: 30.0.50; Emacs -nw on msys2 is not clearing the terminal Date: Tue, 24 Jan 2023 18:57:54 +0200 Message-ID: <83mt67hnu5.fsf@gnu.org> References: <87v8l1p3bi.fsf.ref@aol.com> <87v8l1p3bi.fsf@aol.com> <83lelxm2x8.fsf@gnu.org> <163867763.625356.1674513915222@mail.yahoo.com> <83sfg0gji9.fsf@gnu.org> <20230124152429.7ihf3y5naana7khr@Ergus> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39213"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 60966@debbugs.gnu.org To: Ergus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 24 17:58:18 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pKMci-0009xs-Us for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 24 Jan 2023 17:58:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pKMcV-0004ay-Vs; Tue, 24 Jan 2023 11:58:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKMcU-0004ah-Nf for bug-gnu-emacs@gnu.org; Tue, 24 Jan 2023 11:58:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pKMcU-0002Qx-Dy for bug-gnu-emacs@gnu.org; Tue, 24 Jan 2023 11:58:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pKMcU-0001pu-6n for bug-gnu-emacs@gnu.org; Tue, 24 Jan 2023 11:58:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 Jan 2023 16:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60966 X-GNU-PR-Package: emacs Original-Received: via spool by 60966-submit@debbugs.gnu.org id=B60966.16745794717033 (code B ref 60966); Tue, 24 Jan 2023 16:58:02 +0000 Original-Received: (at 60966) by debbugs.gnu.org; 24 Jan 2023 16:57:51 +0000 Original-Received: from localhost ([127.0.0.1]:57463 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pKMcI-0001pN-OW for submit@debbugs.gnu.org; Tue, 24 Jan 2023 11:57:50 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42882) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pKMcG-0001p6-PD for 60966@debbugs.gnu.org; Tue, 24 Jan 2023 11:57:49 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKMcB-0002Po-9s; Tue, 24 Jan 2023 11:57:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=boUSHBT8rQC++IIoMnXVINpmv7s+fCFZkr1Ff+iMQEU=; b=qcwFjy9f2UTd ijImK7K+8vtEUEjOLrKMo5pMs8LxhoR7qlo8M7+/6220C6qB07OtIdK9jyQtVx/iS8ezDUc+jGkby ldSNoU/uvQSZcL/MzERdeAq6xjCyxhlmiqor+M3RHisAgBb+YROb2aiEmZ9J0a0k3DD8wodeaObgy ipGtVEyBAQVKe8bMovr6D73HEaGyax7cCWy113kegtO+aEZMH4FBReM1iP5C/g9pPhEy4MN4zg1Xy wmoxoILxUdRx0yFceFjFKb9Bqwgf+N5YTP8pfODO5NaBWseZJGp8ME94LiyaRNVw+Bzf/Jt1RmPDn ZbbrQ5n6SO3qSd7hG7xqdA==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKMcA-00065w-NF; Tue, 24 Jan 2023 11:57:43 -0500 In-Reply-To: <20230124152429.7ihf3y5naana7khr@Ergus> (message from Ergus on Tue, 24 Jan 2023 16:24:29 +0100) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:254055 Archived-At: > Date: Tue, 24 Jan 2023 16:24:29 +0100 > From: Ergus > Cc: 60966@debbugs.gnu.org > > It is just a bit weird that emacs shouldn't be called from within the > msys terminal, maybe a warning message or something may help here. It is > not terrible, just a bit confusing. Maybe you should ask mintty developers to look into this? No one never asked Emacs to support mintty on Windows. But then almost no one uses the -nw sessions on Windows (why would you want to?). > gcc -c -mtune=generic -DUSE_CRT_DLL=1 -I /c/Documents and > Settings/T008593/Downloads/emacs/build/../source/nt/inc -mtune=generic > -MMD -MF deps/fingerprint.d -MP -g3 -O2 -gdwarf-2 -I. -I../src > -I../../source/lib -I../../source/lib/../src -DGL_COMPILE_CRYPTO_STREAM > -o fingerprint.o ../../source/lib/fingerprint.c > > So, probably is this the problem?? Yes. Feel free to suggest a patch for configure.ac that would quote the names. Better yet, don't build Emacs inside directories with whitespace in their names ;-)