From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ergus via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#60966: 30.0.50; Emacs -nw on msys2 is not clearing the terminal Date: Tue, 31 Jan 2023 17:55:22 +0100 Message-ID: <20230131165522.wb4guuchczzlpni5@Ergus> 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> <83mt67hnu5.fsf@gnu.org> Reply-To: Ergus Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7210"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 60966@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 31 17:56:19 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 1pMtvf-0001ed-Es for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 31 Jan 2023 17:56:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pMtvP-0003ZA-SZ; Tue, 31 Jan 2023 11:56:03 -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 1pMtvO-0003Yn-HB for bug-gnu-emacs@gnu.org; Tue, 31 Jan 2023 11:56:02 -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 1pMtvO-0003TK-8f for bug-gnu-emacs@gnu.org; Tue, 31 Jan 2023 11:56:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pMtvN-0005D8-Sb for bug-gnu-emacs@gnu.org; Tue, 31 Jan 2023 11:56:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ergus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 31 Jan 2023 16:56:01 +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.167518413919991 (code B ref 60966); Tue, 31 Jan 2023 16:56:01 +0000 Original-Received: (at 60966) by debbugs.gnu.org; 31 Jan 2023 16:55:39 +0000 Original-Received: from localhost ([127.0.0.1]:54846 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMtv0-0005CM-Cl for submit@debbugs.gnu.org; Tue, 31 Jan 2023 11:55:38 -0500 Original-Received: from sonic315-13.consmr.mail.bf2.yahoo.com ([74.6.134.123]:33682) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMtuu-0005C3-J8 for 60966@debbugs.gnu.org; Tue, 31 Jan 2023 11:55:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1675184127; bh=bar0yCD/5Cry7ljSAZkzt+N35AROcyXb2xGVbB8CUW8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject:Reply-To; b=G8+TVGSkOSgalAGhRc2N0mScM/8YLVFgYOh73CwL20Wf6Wu3ZLMqzAcjz5US+hfI3jUhFD40Cg3gAbbaADLBzSCg25Ldsfr80BYJaiCWSn9Gd324mH6gKx8sEeEhj89UQVqlybBIC2lvcfld/DadXCjGIoZJ3aEOj5zRW7dGGJe+NAc+Aiv3oNHCAKXX9rItZ95jWLObbm6lFuO261BrTvUM6TfmrWLoD+f+HgM8WrDtiyt7SEslsQ0CbN+BIXaxDaQPnBVYIpFP/Lcg0R/cSvlZr86cTUF/2WUo5NrVjHDh11/VwxveuEQ+78EzEITwC/7sPklEifRVBqYT6yBn2Q== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1675184127; bh=GhhSS2d/yBMCx9Yc5oBhqb8dQyqfMirolIjxVLpgHxK=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=pVNE/wPXYS7MVZrCzEjVBMKR5qegZLmJRvGpw7/URZwZTy5fd/uft4Jn67TMUyjCS/zdCbGZe0R0OV6glvYwFroSGwpN2wMKKJYO7Kncy6ar/ZLACHO//B6MiBkzh7IsOO3VCaKILWXrzdIZoP4JZpZaD0Y5z57i/Vhvx89r1vNadEMy+bquBqoWR8L8PEtAQGVBwggTrB+9imTaC6c5ab1zCGadtEL1dYZo/o1O7SZmXxeEW5r1IdOmcj4jr59fjHaLuf8ogVa8lfTpnOqhJoaSEZUVMSx9m592K+nWHLioM1FmMleY8BlbkLgYoNta7t65G2gF/A4D+j5YLJLn5Q== X-YMail-OSG: 5kFFmWQVM1m18nVePE9jImlcAbrnyR1o0Rt6fREsRHhhoDOOwLt7UGvUQgaUtMg s76vaLrRmkm.B0Dbq0TpbLFJ0uBkgajON6a1edTA81iFnZBekSd2oPxJJ_VickANDcsPYUwgwkfZ iWkEkoUxB7W6b9dGbN6UCSv2Jiaoro75ofn7a40zQevtxfY7KRBa13f5.t5ng0_cYfgwxVSrgdRy giV4nHir_aW2f9NUDNTfoHA3k87gVWn1ba8BoWnG3FxHhcX0obliGMllStmwI9BnL.dz2tRG0CoK ZRAarYCTtkKm8.ZHUviWaBZ_mdEDhu4PuyWlkHtfWyqtcioikIDahwMsDexzIe5zmhto_TLDFV68 .9wa4rtig5L5QkXf9U4cG3e1mX0tJgCut3pWTf6qp2xxxRflJqy2LKkCwtbYHshWieEs2uo7W_5I x8_0Z2dCkvjxzWY55nW.6sl.lRtn84SLIn9x2kxp4CM0K5upr5qZnYzbeA41bxsMokMOuFBffzlG yRz0j1ABt789Do4U3kppJtlrxWjM5bNNrTD0vdJeZ74reLx6e8Uw1hrHxfBxIHQfIN26_pQmN2TX mU21OQnIuqKmEDyNoLoKttQjAnI_.X0BhDpIEsv4eWoHc702Y9eA4ZJKFVH7KvytbXOG8t7HxkZV JuNqeog4dc85Pzw0OYNGz8fo5Q3KvF2u0j5uQk1F_CjCLXYmNJHsP91txKQ64eZMcXAay5zeFZlv 8elkVjNNnbVbX5rSLHCBxzuz.Dvc532Avj1lRqttv3cVoLK2lH7F1P812dOxGQ9eT4cwAO6ezqb8 UByKpaHfLTKQeM2ccx8oL7lEjHTfxpTVjn18WcbrRw X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.bf2.yahoo.com with HTTP; Tue, 31 Jan 2023 16:55:27 +0000 Original-Received: by hermes--production-ir2-65c64dfd66-wgvcl (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 429ce81e74ae664bef656f4df7e14f9a; Tue, 31 Jan 2023 16:55:24 +0000 (UTC) Content-Disposition: inline In-Reply-To: <83mt67hnu5.fsf@gnu.org> X-Mailer: WebService/1.1.21123 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol 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:254536 Archived-At: Hi Eli: 1) I think you can close this issue or just add a comment about it somewhere in the documentation... So, it is done from my side. (If I get some time I will try to fix the build system script, but not now) 2) I have another issue because rgrep + MS-Windows does not work for me, I try to use it like usual, but I get this: ---------------------------------------- -*- mode: grep; default-directory: "e:/Repository/" -*- Grep started at Tue Jan 31 17:25:49 find -H . -type d "(" -path "*/SCCS" -o -path "*/RCS" -o -path "*/CVS" -o -path "*/MCVS" -o -path "*/.src" -o -path "*/.svn" -o -path "*/.git" -o -path "*/.hg" -o -path "*/.bzr" -o -path "*/_MTN" -o -path "*/_darcs" -o -path "*/{arch}" ")" -prune -o ^"^!^" -type d "(" -name ".#*" -o -name "*.o" -o -name "*~" -o -name "*.bin" -o -name "*.bak" -o -name "*.obj" -o -name "*.map" -o -name "*.ico" -o -name "*.pif" -o -name "*.lnk" -o -name "*.a" -o -name "*.ln" -o -name "*.blg" -o -name "*.bbl" -o -name "*.dll" -o -name "*.drv" -o -name "*.vxd" -o -name "*.386" -o -name "*.elc" -o -name "*.lof" -o -name "*.glo" -o -name "*.idx" -o -name "*.lot" -o -name "*.fmt" -o -name "*.tfm" -o -name "*.class" -o -name "*.fas" -o -name "*.lib" -o -name "*.mem" -o -name "*.x86f" -o -name "*.sparcf" -o -name "*.dfsl" -o -name "*.pfsl" -o -name "*.d64fsl" -o -name "*.p64fsl" -o -name "*.lx64fsl" -o -name "*.lx32fsl" -o -name "*.dx64fsl" -o -name "*.dx32fsl" -o -name "*.fx64fsl" -o -name "*.fx32fsl" -o -name "*.sx64fsl" -o -name "*.sx32fsl" -o -name "*.wx64fsl" -o -name "*.wx32fsl" -o -name "*.fasl" -o -name "*.ufsl" -o -name "*.fsl" -o -name "*.dxl" -o -name "*.lo" -o -name "*.la" -o -name "*.gmo" -o -name "*.mo" -o -name "*.toc" -o -name "*.aux" -o -name "*.cp" -o -name "*.fn" -o -name "*.ky" -o -name "*.pg" -o -name "*.tp" -o -name "*.vr" -o -name "*.cps" -o -name "*.fns" -o -name "*.kys" -o -name "*.pgs" -o -name "*.tps" -o -name "*.vrs" -o -name "*.pyc" -o -name "*.pyo" ")" -prune -o -type f "(" -iname "*" ")" -exec grep --color=always -i -nH --null -e "protoc" "{}" ";" FIND: Parameter format not correct Grep exited abnormally with code 2 at Tue Jan 31 17:25:49 ------------------------ I tried this simplified version of the command from the msys-mingw64 terminal and it actually does not work. find -H . -type d "(" -path "*/.git" ")" -prune -o type -f "(" -iname "*" ")" -exec grep -e "protoc" "{}" ";" Is this a known issue for you? Else, I can open a new issue if you prefer. 3) Is it there a clean way I could migrate one emacs installation (packages in the elpa directory) between machines? Because the machine I am using now does not have access to internet from the terminal (the system has some ldap proxy); so, emacs cannot access elpa/melpa or github to download any package. Is there some tool in emacs intended for this purpose? Thanks in advance, And sorry for the bother Ergus On Tue, Jan 24, 2023 at 06:57:54PM +0200, Eli Zaretskii wrote: >> 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 ;-)