From: Alan Mackenzie <acm@muc.de>
To: jostein@kjonigsen.net
Cc: Ingo Lohmar <i.lohmar@gmail.com>, 23053@debbugs.gnu.org
Subject: bug#23053: 25.0.92; error in cc-mode when editing C# file with a generic class inheritance
Date: Mon, 21 Mar 2016 12:26:42 +0000 [thread overview]
Message-ID: <20160321122641.GA3641@acm.fritz.box> (raw)
In-Reply-To: <1458376039.1351011.553705922.10F4D27F@webmail.messagingengine.com>
Hello, Jostein.
On Sat, Mar 19, 2016 at 09:27:19AM +0100, Jostein Kjønigsen wrote:
> > So to move the issue forward I guess we need to decide: Are we
> > blaming cc-mode or csharp-mode?
> > Anyone with strong opinions on the matter?
I suspect the interface between CC Mode and csharp-mode. :-)
My working hypothesis is that the compiled csharp-mode.elc was compiled
on an earlier revision of the emacs-25 branch, hence didn't pick up a
newly introduced c-lang-defvar properly, thus leaving its value at nil.
This nil value is what triggered the error in
c-forward-<>-arglist-recur.
This hypothesis is not consistent with the bug also happening in Java
Mode, hence my questions below....
> > --
> > Jostein Kjønigsen
> > jostein@kjonigsen.net / jostein@secure.kjonigsen.net
> And in that regard, I'd like to report that this issue can be reproduced
> just as easily in Java-mode as well.
Can we be absolutely clear here, please. Have you observed this bug in
Java Mode yourself? If so, could you possibly give me details of the
version of the emacs-25 branch you saw it in, and any other details I'd
need to reproduce it. Thanks!
What I tried was taking Saulius's C# file, doing M-x java-mode, then
typing that carriage return. I could not reproduce the bug in Java
Mode. I was running a recent emacs-25 branch, latest commit was
5cc691930808ccf7afdbc53ed49ca24badd97013 from Mon Mar 14 21:44:11 2016
+0000.
Also, having recompiled csharp-mode-0.8.12 in that emacs-25 branch, I
don't see the error any more. I did see the error when I ran
csharp-mode compiled on Emacs-24.5 in the emacs-25 branch.
> So it's not just csharp-mode which is affected.
> --
> Jostein
--
Alan Mackenzie (Nuremberg, Germany).
next prev parent reply other threads:[~2016-03-21 12:26 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-18 9:07 bug#23053: 25.0.92; error in cc-mode when editing C# file with a generic class inheritance Saulius Menkevičius
2016-03-18 21:13 ` bug#23053: followup on 23053 Saulius Menkevičius
2016-03-18 21:33 ` bug#23053: 25.0.92; error in cc-mode when editing C# file with a generic class inheritance Jostein Kjønigsen
2016-03-18 23:08 ` Ingo Lohmar
2016-03-19 7:29 ` Jostein Kjønigsen
2016-03-19 8:27 ` Jostein Kjønigsen
2016-03-21 12:26 ` Alan Mackenzie [this message]
2016-03-21 12:45 ` Jostein Kjønigsen
2016-03-21 21:53 ` Saulius Menkevičius
2016-03-22 10:21 ` Jostein Kjønigsen
2016-03-25 18:54 ` Alan Mackenzie
2016-03-26 7:26 ` Jostein Kjønigsen
2016-03-26 10:48 ` Alan Mackenzie
2016-03-19 10:05 ` Ingo Lohmar
2016-03-19 15:00 ` jostein
2016-03-19 17:54 ` Jostein Kjønigsen
2016-03-20 20:57 ` Jostein Kjønigsen
[not found] ` <mailman.7741.1458315553.843.bug-gnu-emacs@gnu.org>
2016-03-19 13:14 ` Alan Mackenzie
2016-03-19 14:15 ` Saulius Menkevičius
2016-03-20 21:16 ` Alan Mackenzie
2016-03-21 21:51 ` Saulius Menkevičius
2016-03-26 10:55 ` Alan Mackenzie
2016-03-26 10:59 ` Alan Mackenzie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160321122641.GA3641@acm.fritz.box \
--to=acm@muc.de \
--cc=23053@debbugs.gnu.org \
--cc=i.lohmar@gmail.com \
--cc=jostein@kjonigsen.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.