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.devel Subject: Re: cc-mode fontification feels random Date: Fri, 04 Jun 2021 22:53:28 +0300 Message-ID: <83eedhl83r.fsf@gnu.org> References: <831r9iw473.fsf@gnu.org> <87h7ieyma7.fsf@gmail.com> <15be7dd8-e901-e317-5111-e1a34f6f0416@gmail.com> <83k0n9l9pv.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29260"; mail-complaints-to="usenet@ciao.gmane.io" Cc: ubolonton@gmail.com, dancol@dancol.org, theo@thornhill.no, joaotavora@gmail.com, emacs-devel@gnu.org To: Jim Porter Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jun 04 21:54:05 2021 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 1lpFtN-0007Lb-Ky for ged-emacs-devel@m.gmane-mx.org; Fri, 04 Jun 2021 21:54:05 +0200 Original-Received: from localhost ([::1]:57570 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lpFtM-0001bi-Nh for ged-emacs-devel@m.gmane-mx.org; Fri, 04 Jun 2021 15:54:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34360) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpFst-0000wd-Tv for emacs-devel@gnu.org; Fri, 04 Jun 2021 15:53:35 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49370) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lpFst-00024c-62; Fri, 04 Jun 2021 15:53:35 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4490 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 1lpFss-0006Pd-Nf; Fri, 04 Jun 2021 15:53:35 -0400 In-Reply-To: (message from Jim Porter on Fri, 4 Jun 2021 12:41:56 -0700) 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:270408 Archived-At: > From: Jim Porter > Date: Fri, 4 Jun 2021 12:41:56 -0700 > Cc: joaotavora@gmail.com, theo@thornhill.no, dancol@dancol.org, > ubolonton@gmail.com, emacs-devel@gnu.org > > Currently, the way Eglot works for remote files is that it > runs the LSP server on the remote host via TRAMP. Why does it do that? Does the LSP server have to access the file itself? We have all the contents of that file locally in a buffer, so we could hand it to LSP locally.