From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#23053: 25.0.92; error in cc-mode when editing C# file with a generic class inheritance Date: Sat, 26 Mar 2016 10:55:38 +0000 Message-ID: <20160326105538.GB3061@acm.fritz.box> References: <20160320211657.GD3603@acm.fritz.box> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1458989603 17186 80.91.229.3 (26 Mar 2016 10:53:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Mar 2016 10:53:23 +0000 (UTC) Cc: 23053@debbugs.gnu.org To: Saulius =?UTF-8?Q?Menkevi=C4=8Dius?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 26 11:53:13 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ajlqB-0004Ra-Rs for geb-bug-gnu-emacs@m.gmane.org; Sat, 26 Mar 2016 11:53:12 +0100 Original-Received: from localhost ([::1]:59624 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ajlqA-0000lz-N0 for geb-bug-gnu-emacs@m.gmane.org; Sat, 26 Mar 2016 06:53:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41742) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ajlq6-0000li-MZ for bug-gnu-emacs@gnu.org; Sat, 26 Mar 2016 06:53:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ajlq2-0000ea-LB for bug-gnu-emacs@gnu.org; Sat, 26 Mar 2016 06:53:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41178) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ajlq2-0000eV-Ha; Sat, 26 Mar 2016 06:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ajlq2-0008UH-6m; Sat, 26 Mar 2016 06:53:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Sat, 26 Mar 2016 10:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23053 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: Original-Received: via spool by 23053-submit@debbugs.gnu.org id=B23053.145898957032605 (code B ref 23053); Sat, 26 Mar 2016 10:53:02 +0000 Original-Received: (at 23053) by debbugs.gnu.org; 26 Mar 2016 10:52:50 +0000 Original-Received: from localhost ([127.0.0.1]:38305 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ajlpq-0008Tp-92 for submit@debbugs.gnu.org; Sat, 26 Mar 2016 06:52:50 -0400 Original-Received: from mail.muc.de ([193.149.48.3]:61588) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ajlpo-0008Th-Ka for 23053@debbugs.gnu.org; Sat, 26 Mar 2016 06:52:49 -0400 Original-Received: (qmail 94704 invoked by uid 3782); 26 Mar 2016 10:52:47 -0000 Original-Received: from acm.muc.de (p579E8C8B.dip0.t-ipconnect.de [87.158.140.139]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sat, 26 Mar 2016 11:52:47 +0100 Original-Received: (qmail 3579 invoked by uid 1000); 26 Mar 2016 10:55:38 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:115510 Archived-At: Hello, Saulius. On Mon, Mar 21, 2016 at 11:51:25PM +0200, Saulius Menkevičius wrote: > Alan Mackenzie writes: [ .... ] > > Explanation for the bug I saw: a new "language variable", > > c-<>-notable-chars-re, had been defined in CC Mode, but not compiled into > > the csharp-mode part. That left it's value at nil, rather than the > > string it should be. This nil then caused the error. > > But it could be I'm looking at totally the wrong problem. > It worked for me, actually. Removing csharp-mode and then reinstalling > via package manager fixed the issue for me. That's great! As a general principle, csharp-mode should be compiled together with the CC Mode that it's going to be run with. > > The same thing happening on Java would surprise me. That would imply a > > different problem. > I couldn't replicate the Java issue myself.. That was a newish CC Mode bug solely in the master branch of the Emacs repository, now fixed. [ .... ] > So the issue is resolved for me, reinstalling csharp-mode fixed it. Not > sure it works for Jostein. It does, now. I'm going to close the bug. Thanks for the report and all the help! > -- > Saulius Menkevičius (saulius.menkevicius@gmail.com) -- Alan Mackenzie (Nuremberg, Germany).