From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.devel Subject: Re: cc-mode fontification feels random Date: Sat, 05 Jun 2021 14:12:25 +0200 Message-ID: <87sg1wy06h.fsf@fastmail.fm> References: <831r9iw473.fsf@gnu.org> <87h7ieyma7.fsf@gmail.com> <15be7dd8-e901-e317-5111-e1a34f6f0416@gmail.com> <83k0n9l9pv.fsf@gnu.org> <83eedhl83r.fsf@gnu.org> <8735txfkk7.fsf@fastmail.fm> <837dj8ls7d.fsf@gnu.org> <87czt0oagz.fsf@fastmail.fm> <83k0n8k0ol.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18238"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.5.12; emacs 27.2 Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jun 05 14:19:21 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 1lpVGr-0004Tf-05 for ged-emacs-devel@m.gmane-mx.org; Sat, 05 Jun 2021 14:19:21 +0200 Original-Received: from localhost ([::1]:53842 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lpVGo-0004FF-KM for ged-emacs-devel@m.gmane-mx.org; Sat, 05 Jun 2021 08:19:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40424) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpVG8-0003ZD-BF for emacs-devel@gnu.org; Sat, 05 Jun 2021 08:18:36 -0400 Original-Received: from out1-smtp.messagingengine.com ([66.111.4.25]:42375) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpVG5-0005gD-1s; Sat, 05 Jun 2021 08:18:36 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 2B3A15C00D6; Sat, 5 Jun 2021 08:18:32 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sat, 05 Jun 2021 08:18:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= references:from:to:cc:subject:date:in-reply-to:message-id :mime-version:content-type; s=fm3; bh=NjSRZII0UlkIwYC5T5SHlaxqQB mTYCYQtW+26fmd7IY=; b=TKdlQPv47uB3ujghpaovnoeOO2BRKOy9Z9ZzCIjadt AHlV4h50fHJ8pUardDOuh5K1LtRdboCUwfooaXNjMl8Cd5fyiEzp8MYCV61oYytL PVd1h2Q8iEfZb4q9AF83UTAguCnX5NiK8pbI9Ur9ty82NjdhPBgsDYfK0QUSkx9x FpopCa+1yGEDGIulWynxIg6VgLJZsVogP9MKiIhBG7A/I+bq9m4oZW/ghTQdJsqi OdxIihYsIvJQK4+zyoDBTGk0IrxQSrds0rUYpy5bWCivDt7ytat8azRVFn4PV5NV PfsxhoU25Q4GAzgyqHxThhd/5J2dQCO0bRk/2OqWmQog== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=NjSRZI I0UlkIwYC5T5SHlaxqQBmTYCYQtW+26fmd7IY=; b=VaWskqyCmK2v/IjJoTmSfj /Lutz2QKv3kW7pjdiCvbN3phj8/r+QbMAW0n6R9hmPInTJlLL7/ms3jOSmuzlhJr EMsFVupKAqwdx74fqroQ6Uf1dfb6UK84jGSiDUjrXtRACk98dQKsZbBODuE6xULU chZ6kQOHKY9dUv8cm7wDbiZw7PRaMQtc7/BDm/oKSBmpC/5Y4qubzkJKL3IvBIC4 EQrNhmlIH70q/zHw0oLgyy92xxJfWTEBUKv+P6U/S7u35SoxNWrFTWZ5pU4VuHIE 2HVwf7lOOLjCfrAoFv/nOAtrBwiH3rYbJ8MVUTR6YZ/V3q0QFyqvxny56Hjij00Q == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfedtfedghedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfhgfhffvufffjgfkgggtsehttdertddtredtnecuhfhrohhmpeflohhoshht ucfmrhgvmhgvrhhsuceojhhoohhsthhkrhgvmhgvrhhssehfrghsthhmrghilhdrfhhmqe enucggtffrrghtthgvrhhnpedviefhteeuveekudetheduieehvdelgfeijeehvdetfeeg leelhefhjeduieejveenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpehjohhoshhtkhhrvghmvghrshesfhgrshhtmhgrihhlrdhfmh X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 5 Jun 2021 08:18:31 -0400 (EDT) In-reply-to: <83k0n8k0ol.fsf@gnu.org> Received-SPF: pass client-ip=66.111.4.25; envelope-from=joostkremers@fastmail.fm; helo=out1-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-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:270431 Archived-At: On Sat, Jun 05 2021, Eli Zaretskii wrote: >> From: Joost Kremers >> Cc: emacs-devel@gnu.org >> Date: Sat, 05 Jun 2021 12:14:42 +0200 >> >> Of course the LSP server won't just give up if there is missing information, >> but its functionality will be reduced. For me, if my development environment >> were on a remote machine and I couldn't (or don't want to) replicate that >> environment on my local machine, running the LSP server locally would >> probably take away much of the appeal of using one. > > And the speedup doesn't matter? I guess it would be a trade-off. Last time I had to run my code on a remote machine I wasn't using lsp-mode yet, so I'm not speaking from experience here. I just wanted to say that running an LSP server without the full development environment makes the LSP server less capable, and if all the server does is provide syntax highlighting and indentation, it might be less of a hassle to use something else instead (e.g., elpy, or just plain old python-mode). -- Joost Kremers Life has its moments