From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ergus Newsgroups: gmane.emacs.devel Subject: Re: cc-mode fontification feels random Date: Sat, 5 Jun 2021 11:59:04 +0200 Message-ID: <20210605095904.vnyrph5n4lqooeyh@Ergus> References: <831r9iw473.fsf@gnu.org> <87h7ieyma7.fsf@gmail.com> <15be7dd8-e901-e317-5111-e1a34f6f0416@gmail.com> <83k0n9l9pv.fsf@gnu.org> <83eedhl83r.fsf@gnu.org> <838s3olsok.fsf@gnu.org> <87lf7oy7vn.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25424"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , Jim Porter , ubolonton@gmail.com, dancol@dancol.org, theo@thornhill.no, emacs-devel@gnu.org To: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jun 05 12:00:20 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 1lpT6J-0006NI-R1 for ged-emacs-devel@m.gmane-mx.org; Sat, 05 Jun 2021 12:00:19 +0200 Original-Received: from localhost ([::1]:43418 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lpT6I-0001GC-Sw for ged-emacs-devel@m.gmane-mx.org; Sat, 05 Jun 2021 06:00:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50646) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpT5X-0000X1-PY for emacs-devel@gnu.org; Sat, 05 Jun 2021 05:59:31 -0400 Original-Received: from sonic315-15.consmr.mail.bf2.yahoo.com ([74.6.134.125]:44621) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lpT5U-0007A4-F1 for emacs-devel@gnu.org; Sat, 05 Jun 2021 05:59:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1622887167; bh=XFticg+MnMZjjn0pOZkJYyxgzM3B37Mi7Nfz2L6Nq80=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject:Reply-To; b=MHF2bacLn3tQb1152l1AAZZnMhh10T4e/5DsPocrwpztf+D0g9CXTKCTZKURstiUr49JPNTKtgQ0DuCspBlzYIP2Rc11SgHGQq9ZSGgrMC5cSVGiKD2hIlT6rcqJMrsInD0sr6C7rNrrulMaWDR4UKfRIKzeQkVVETPRlcOt/EWIdUmbDEY3bipBTXQY9u/BF0ozpmsNj6yvuTKQC6+wPTmfS8t03zKcTZfe8YPhuVnZyZJ3GZYsvRhPq5DEU0MxU7DOwXe1+lpHRVEbu0RLrckNssZ5ir5TUuiPnqhTw/RQP/Ap1X55IompiHuireyAF83pM1w2KDBGT+Uu5GFc+Q== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1622887167; bh=co13GYfIPtEv4UphI1gWAKqf9REMF/Qmd+hfemC5zBz=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=Ig86/YqiXTJZsNSrKtmIDWQzyEQbDEx83Drh/13VHD0VZMh5S0BUQDER0i72NekiqE0cgszvyIK2uo1bngyAs9zfASCradSw3IfYep5VzWSSFNOrxLzsnrdBA8tdo4dxu7hvDaReqhFBsu6UEC/e8qpQIRI5maa5YAD0UQLGxBtqlR9lT1TOWExrYFra4qvDfMl6b0QQOJZ2g8dm8axhOgnW433CtGu2ws610IwzjTkt3OYUmhecZapQNNFbamxzRn51A05k+prO7osSmJntQTZBB72MFOIW+opbzWkntKPFChkmD1+j+rOuGIV0wvOItJR+qisIF+bXH3hu7XsShg== X-YMail-OSG: 6zX8sxIVM1l1d8QRCyrUJEUmuJyRgcg_LF3uX9sb8nd55MRvCCsHiL7lFGkJEki g1EMiByH301hArDbNRepcUPGFF.6Gu2r0JSm7mX3vMjtCR2LtPQQCjgjBWj2BLSEpbLXNzLf.Qlm Dt0I6EHHe6rZJnoR42VV1lgSG2rVzQgA5n1JIjuf6L2lHw6aeieCSMR1vl.8_BtNh629sAkH0kP6 y5t8C2eomxDtxgSmKJsp3tsoT0NjqiPETAEsaEUfFus8iTYf0f.ZevzHQmks_zXcTtHLa9jDaLyC 3PVm1yMfSEbIIqXZX09hdEmGSiuZBgVckuAMliLIy3nLntd_EK1PoEzEZcmS1KrkCSVsXceq09HO 33Pag3kfN1dhFJMP1NdyS8zJ0HvVbfOscGmDdNCkf6oOnxVne6BV2GnVn4zcM7LRkEEi2CAUiNVn 0Zr4iOpP21wjO.A6zBthVry9nS2L5WFz80XUfaUr0UKMPCBo7oUA2Krdm3Zc0A_otFkMgzxXXaOJ fGHbrcgmPjLfqHZuIgJsOc23zWL8erfUtYybLNk.Uwq70RADM8PAKSzfFat80.WoxS.st_LD7UU4 Fi3P6.sB1G8LmrpPdWIAi119CEITqp90DwEFHh2wHMN8Ia4Ma.BCV21HA7eCruiR5zxlflD.5rtc xhF8_16xL7Dsp57Dt5rSK8C33jLkxkLQCOXV_eZBXjr_DbHLhdkeVOFxRraO.cjAhoE_XzH09ODe EPa5YluquWHJkz79OlKzCoiMlYXa98GWyGKN8u08iDS85UoH_IWV0MztSwaC5ePp9zQGaCKQRTkv 0NGOi7040RNa9QiCeE1VXJGParEpwSd5HO2RncZooB X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.bf2.yahoo.com with HTTP; Sat, 5 Jun 2021 09:59:27 +0000 Original-Received: by kubenode531.mail-prod1.omega.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID d9eeae32c009cb040265752b37dc6463; Sat, 05 Jun 2021 09:59:25 +0000 (UTC) Content-Disposition: inline In-Reply-To: <87lf7oy7vn.fsf@gmail.com> X-Mailer: WebService/1.1.18368 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol Received-SPF: pass client-ip=74.6.134.125; envelope-from=spacibba@aol.com; helo=sonic315-15.consmr.mail.bf2.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable 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:270424 Archived-At: On Sat, Jun 05, 2021 at 10:32:12AM +0100, Jo�o T�vora wrote: >Eli Zaretskii writes: > >> That sounds like a use case for running Emacs on the remote machine, >> and only having the display on the local machine, like via X >> forwarding or similar technology? > >Then why use TRAMP at all? Anyway, this is just an aside, but running >the server remotely and also editing the files via TRAMP is still >popular and predates LSP by many years: Many use the SLIME or SLY Common >Lisp IDEs like that, pretty effectively. Personally I prefer running an >Emacs on the remote machine, but there's clearly a share of users who >like to keep use one local Emacs for everything. > >Jo�o > Usually running a remote emacs is extremely slow if using gui and creates all kind of issues if the connection fails or hang. When using tui there are also some issues due to terminfo in the remote system; because the local TERM is informed to the remote system when ssh connection starts, but if the remote system does not have terminfo for that term, then it tries to do the best (use a default). In that case, for normal uses it just works, even for vim and nano; but is seems like emacs tries to use more advanced features or characters. Also a connection hang is very problematic because emacs totally blocks and you lost your changes. And packages like xclip doesn't work (as expected). The other issue is also "resources", when using remote systems like raspberry pi or permissions restricted environments, installing emacs remotely is not always possible either.