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.bugs Subject: bug#48871: 27.2; Unusably slow in C# mode Date: Sun, 06 Jun 2021 16:50:28 +0300 Message-ID: <83y2bngl0b.fsf@gnu.org> References: <835yyri2f2.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8318"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 48871@debbugs.gnu.org To: jan Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 06 15:51:10 2021 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 1lptBG-0001q1-Kp for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 06 Jun 2021 15:51:10 +0200 Original-Received: from localhost ([::1]:39840 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lptBE-0003Lh-Mh for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 06 Jun 2021 09:51:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42054) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lptB8-0003LI-J5 for bug-gnu-emacs@gnu.org; Sun, 06 Jun 2021 09:51:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39528) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lptB8-0003EQ-CN for bug-gnu-emacs@gnu.org; Sun, 06 Jun 2021 09:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lptB8-0000aQ-86 for bug-gnu-emacs@gnu.org; Sun, 06 Jun 2021 09:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Jun 2021 13:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48871 X-GNU-PR-Package: emacs Original-Received: via spool by 48871-submit@debbugs.gnu.org id=B48871.16229874392211 (code B ref 48871); Sun, 06 Jun 2021 13:51:02 +0000 Original-Received: (at 48871) by debbugs.gnu.org; 6 Jun 2021 13:50:39 +0000 Original-Received: from localhost ([127.0.0.1]:51074 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lptAl-0000ZZ-9k for submit@debbugs.gnu.org; Sun, 06 Jun 2021 09:50:39 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:48340) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lptAi-0000ZM-TV for 48871@debbugs.gnu.org; Sun, 06 Jun 2021 09:50:38 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:51334) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lptAd-0002wo-Kj; Sun, 06 Jun 2021 09:50:31 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1606 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 1lptAd-0000Gs-7u; Sun, 06 Jun 2021 09:50:31 -0400 In-Reply-To: (message from jan on Sun, 6 Jun 2021 14:34:19 +0100) 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" Xref: news.gmane.io gmane.emacs.bugs:208131 Archived-At: > From: jan > Date: Sun, 6 Jun 2021 14:34:19 +0100 > Cc: 48871@debbugs.gnu.org > > had already tried the -Q option. Emacs started but when I tried "M-x > csharp-mode" it didn't recognise it. I tried exactly the same on the > normally-started emacs to check I was entering it correctly and that > did understand it. > I guess the -Q effectively disables some modes? I was surprised. > > Yep, customisation may well be the issue here. So let's try to figure out why "emacs -Q" fails to load csharp-mode. Since there's no such mode bundled with Emacs, I guess you downloaded it from somewhere? Then try this: emacs -Q M-x load-file RET /path/to/csharp-mode.el RE The last line assumes that the Lisp file which defines the function csharp-mode is called csharp-mode.el; if not, change the file name to fit the reality. Also, "/path/to/" should be replaced with the actual absolute file name of the file on your system. Then say what you tried: M-x csharp-mode RET If that still doesn't work, please show the error messages. Likely they will identify packages csharp-mode depends on that you also need to load with "M-x load-file". > I have a file of equivalent size which should demo the issue but can't > zip it as gmail blocks anything with a zip attached, I can post as > attachment directly but it's 220KBytes, you ok with that on your > mailing list? Yes, it's okay. But let's first try and see whether "emacs -Q" exhibits the same problem, okay?