From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: Tramp and conversion of \r\n into \n Date: Thu, 17 Dec 2020 13:50:04 +0100 Message-ID: <878s9wzjer.fsf@gmx.de> References: <193e76e900f64f01a39893b12cf7c4ff@3ds.com> <871rfw900w.fsf@gmx.de> <87sg8c7i5w.fsf@gmx.de> <4f2b42e36d924f83883e120e601d40f7@3ds.com> <87tuslzrw1.fsf@gmx.de> <7135a39a200c4f8397c8bddb9da8d3fc@3ds.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30720"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: "emacs-devel@gnu.org" To: APEL Martin Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 17 13:51:18 2020 Return-path: Envelope-to: ged-emacs-devel@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 1kpskY-0007tC-G2 for ged-emacs-devel@m.gmane-mx.org; Thu, 17 Dec 2020 13:51:18 +0100 Original-Received: from localhost ([::1]:43400 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kpskX-0000v7-Hz for ged-emacs-devel@m.gmane-mx.org; Thu, 17 Dec 2020 07:51:17 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60702) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kpsjX-0008L1-OE for emacs-devel@gnu.org; Thu, 17 Dec 2020 07:50:15 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]:53317) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kpsjU-0005et-SM for emacs-devel@gnu.org; Thu, 17 Dec 2020 07:50:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1608209406; bh=vBsmmQhnyGTgvTsWy4SXyf2346nzcvccJKnbDenmvHY=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=NodhZE5xSZY2QpfpMTy8n04anX0MagfRYG08Sieyun6LtQ0tL+CJoJ7xa5PO/Q2ip zCUhGI5+1t1cgKGBe1tCnaxxHeL8kfbH0qI071dwepQojiIPNB/iX8ETmKT3RMIkat aGbGgVUZ3aUGtGHIhYu12XjKyAnx/ihHzQAGQ71k= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([79.140.118.184]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MLzBj-1kXwCq3OrZ-00Hzc6; Thu, 17 Dec 2020 13:50:05 +0100 In-Reply-To: <7135a39a200c4f8397c8bddb9da8d3fc@3ds.com> (APEL Martin's message of "Thu, 17 Dec 2020 11:35:51 +0000") X-Provags-ID: V03:K1:m+1XLlEbErz9rrBip2dzLckvgkpxhRVAJwY4Z3kKbUfqKIOf1S5 LSbLXIr9NoUjLV9EyIy/3LhUMDV40dzOoQOCO6qUdr3idtTX/rYN5EQtw7exrdunqHQiBQk vH/ZlHQj1ewQxWKVd5oBE1aveRvwvtaJ+oGZVXq6Bo2k9TzdgmziNKchhU/wHtL5AKF/9zP PbPk58gZy3XX+3/n0P8kQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:CaKZppU8jLQ=:QVwdgieeoUAj/o/hJ8Os/M cLNK1TsTdtiKJ4fSzOWDjhxefh1mxI6vH+kP+zXXd7RnLboHILgn0PgsWK09Dft2F4v7BIpB7 0x99saacBINsHUkTUPiSnvJideM3xJToCzNvEp3bHCEaWAqP9GQAy6oB+age9vkyZaHuv9iHy 8D+jLRZkHKvDlr2j6r0uvC0TjdiEoNylwLSeI8a2qMtV1/3PYfZgi27Tia/OG2+/6Djrzcwuh qxKudUZFL5CSPzurugtHa1VbfsCR4hUumu5xzrmC75ZhLUJVgLeNzcsPkHNhFfYyF0Qi3urHY iANiqhaMlqfn01ge5WTygo8GUT1e1NbtqGzKB1pQ+8TPoQfdVoN5mN7CIyYCxOC68C4Bui+CF 1/dAm5WmwgaTJqPqoP9RiERnhnYwCLKzZWiMY2wwveJzGPFlPy3gQg2QujtkL9v8uIJbXlYvQ 5WuUSzw8l1Px0+YPrUpYMm77WrZ8eornyHwfGqdz/dzWhJzleNpxdpVk61n1HALpAIwOz07qf V+CXA3L3YAw+MBWSR/RF1x5rFfgKj1YFiI48Q+x0qEH+aiuzioQwedQKZ9j43+zqdCRnRTe1z TO9Rt83q4+DUWQ1bfeR1Mfcr5WG2HbAQott9M/Pf/qFrjqZeeAELbhkQdiYFwW7fVM5uJd4eY hpdscllguSddds7OIoROTTYH5EPxMfLupNxHqNsOh0u1tRo9TcqxdcfWfkyiHWPgQQuqlpemE Caq6+nW8ant3EW7oNp6kj2afv1BFnQc5Xr3vjV3v2spPN9X5gaPJKuasIPBjkFLYZsSihSYI Received-SPF: pass client-ip=212.227.15.15; envelope-from=michael.albinus@gmx.de; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:261103 Archived-At: APEL Martin writes: > Hi Michael, Hi Martin, > I built an Emacs version from the current master branch and tried it out: > lsp-mode works well with a remote clangd now. Thanks for the feedback. > Unfortunately there are > some other problems, which do not occur with Emacs 27.1 and which > might be related to TRAMP: > - my remote compile setup does not work anymore. It seems that the > arguments to the invoked compile command are lost on the way to the > remote machine > - rgrep on a remote machine also does not work. It produces a list of > files it intends to search instead of the grep output Direct async calls are new in Emacs 28, so they might not work yet in all cases. Pls run your test with tramp-verbose set to 10, and send me the debug traces in both cases. It would also good to know, how compile and rgrep are invoked. > - I also encountered an error message from TRAMP once. Unfortunately I > restarted Emacs afterwards, so I don't have the exact error > message. It was something about a recursive call detected and a > sentinel was mentioned. This is not related to the lsp-mode change, but rather to hardening Tramp detecting blocking situations (you've seen my message about "Tramp and timers"). Process sentinels are also affected. In order to circumvent this, you might add to your .emacs (setq debug-ignored-errors (cons 'remote-file-error debug-ignored-errors)) > Best Regards, > > Martin Best regards, Michael.