From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Damien Cassou Newsgroups: gmane.emacs.bugs Subject: bug#40317: 27.0.90; Reverting a buffer that visits C file signals an error Date: Thu, 29 Oct 2020 15:19:51 +0100 Message-ID: <87a6w5qflk.fsf@cassou.me> References: <83k1335m2e.fsf@gnu.org> <87pn6lgb8o.fsf@cassou.me> <83tuvx7q74.fsf@gnu.org> <87mu1pg4g1.fsf@cassou.me> <20200920172517.GA10641@ACM> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15523"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 40317@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 29 15:20:27 2020 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 1kY8mx-0003uc-Hm for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 29 Oct 2020 15:20:27 +0100 Original-Received: from localhost ([::1]:42408 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kY8mw-0007qk-AH for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 29 Oct 2020 10:20:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49840) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kY8mY-0007qV-SE for bug-gnu-emacs@gnu.org; Thu, 29 Oct 2020 10:20:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42976) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kY8mY-0004wR-J0 for bug-gnu-emacs@gnu.org; Thu, 29 Oct 2020 10:20:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kY8mY-0003ld-D1 for bug-gnu-emacs@gnu.org; Thu, 29 Oct 2020 10:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Damien Cassou Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 29 Oct 2020 14:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40317 X-GNU-PR-Package: emacs Original-Received: via spool by 40317-submit@debbugs.gnu.org id=B40317.160398119614460 (code B ref 40317); Thu, 29 Oct 2020 14:20:02 +0000 Original-Received: (at 40317) by debbugs.gnu.org; 29 Oct 2020 14:19:56 +0000 Original-Received: from localhost ([127.0.0.1]:54522 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kY8mS-0003lA-K0 for submit@debbugs.gnu.org; Thu, 29 Oct 2020 10:19:56 -0400 Original-Received: from mail.choca.pics ([80.67.172.235]:55286) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kY8mQ-0003l0-Kp for 40317@debbugs.gnu.org; Thu, 29 Oct 2020 10:19:55 -0400 Original-Received: from localhost (localhost.localdomain [IPv6:::1]) by mail.choca.pics (Postfix) with ESMTP id BBFB31818FAFB; Thu, 29 Oct 2020 15:19:52 +0100 (CET) Original-Received: from mail.choca.pics ([IPv6:::1]) by localhost (mail.choca.pics [IPv6:::1]) (amavisd-new, port 10032) with ESMTP id eBjBZ6YgZgq5; Thu, 29 Oct 2020 15:19:52 +0100 (CET) Original-Received: from localhost (localhost.localdomain [IPv6:::1]) by mail.choca.pics (Postfix) with ESMTP id 2693418195BEB; Thu, 29 Oct 2020 15:19:52 +0100 (CET) X-Virus-Scanned: amavisd-new at choca.pics Original-Received: from mail.choca.pics ([IPv6:::1]) by localhost (mail.choca.pics [IPv6:::1]) (amavisd-new, port 10026) with ESMTP id KmDSYajwSLKE; Thu, 29 Oct 2020 15:19:52 +0100 (CET) Original-Received: from localhost (203.99.92.92.rev.sfr.net [92.92.99.203]) by mail.choca.pics (Postfix) with ESMTPSA id D7E1218191BB1; Thu, 29 Oct 2020 15:19:51 +0100 (CET) In-Reply-To: <20200920172517.GA10641@ACM> 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:191954 Archived-At: Alan Mackenzie writes: > On Wed, Sep 16, 2020 at 16:51:42 +0200, Damien Cassou wrote: >> Eli Zaretskii writes: >> > Does that happen with _any_ C# file? If not, can you post an example >> > of a file where this happens, and a recipe to reproduce the problem? > >> I don't know how to reproduce, it is infrequent and seems random. > > What do you mean by "infrequent"? Once a month, once a week, once a > day, several times a day? This didn't happen for some weeks and happened twice today: Warning (emacs): c-new-END is too big! 1217 > 729 Warning (emacs): c-new-END is too big! 2331 > 1902 > Does it happen frequently enough that you > would notice if it stopped happening? If so .... It would take me a while to realize. > csharp-mode has an inappropriate use of syntax-propertize-function, > which might be damaging things. I don't know if your comment is still relevant because csharp-mode changed a lot recently. I'm on latest master (commit fb1f7d57675df8c38bbf9cc3c99e0059c8b16d7f). > Could you please disable this with code > like the following in your .emacs (Note: this involves a minor loss of > functionality): do you still recommend it? Best -- Damien Cassou "Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churchill