From: Alan Mackenzie <acm@muc.de>
To: saulius.menkevicius@gmail.com (Saulius Menkevičius)
Cc: 23053@debbugs.gnu.org
Subject: bug#23053: 25.0.92; error in cc-mode when editing C# file with a generic class inheritance
Date: 19 Mar 2016 13:14:56 -0000 [thread overview]
Message-ID: <20160319131456.55652.qmail@mail.muc.de> (raw)
In-Reply-To: <mailman.7741.1458315553.843.bug-gnu-emacs@gnu.org>
Hello, Saulius.
In article <mailman.7741.1458315553.843.bug-gnu-emacs@gnu.org> you wrote:
> When writing code:
> namespace X
> {
> public class A: B<T>
> {$
> ($ above denotes cursor position)
> Typing [Enter] after the second { would trigger this error:
> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
> signal(wrong-type-argument (stringp nil))
> c-syntactic-re-search-forward(nil nil t t)
> c-forward-<>-arglist-recur(nil)
> c-forward-<>-arglist(nil)
> c-backward-<>-arglist(nil nil)
> c-looking-at-decl-block(13 t)
> c-guess-basic-syntax()
> c-indent-line()
> indent-according-to-mode()
> evil-open-below(1)
> funcall-interactively(evil-open-below 1)
> call-interactively(evil-open-below nil nil)
> command-execute(evil-open-below)
> Note, that typing [Enter] after non-generic class inheritance would work ok (no error would get triggered):
> namespace X
> {
> public class A: B
> {$
> I *think* it could be related to this commit (will test):
> commit 02b037b85ce32fdcf454f5b12d72f09bcb217891
> Author: Alan Mackenzie <acm@muc.de>
> Date: Mon Feb 15 12:45:42 2016 +0000
> Allow arithmetic operators inside C++ template constructs.
Thanks for such an informative bug report. Could you possibly tell me
what major mode you're using (presumably some C# Mode) and where I can
get a copy of it from, please. That will enable me to reproduce the
problem.
> In GNU Emacs 25.0.92.3 (x86_64-apple-darwin15.3.0, NS appkit-1404.34 Version 10.11.3 (Build 15D21))
> of 2016-03-17 built on mbp.local
> Repository revision: 9ab03f27fad7b1ae68dda7a2effd075658dcf184
> Windowing system distributor 'Apple', version 10.3.1404
> Configured using:
> 'configure --with-gnutls --with-ns'
> Configured features:
> JPEG DBUS NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS
> Important settings:
> value of $LANG: de_LT
> locale-coding-system: utf-8
> Major mode: mu4e-headers
???
Thanks in advance!
--
Alan Mackenzie (Nuremberg, Germany).
next prev parent reply other threads:[~2016-03-19 13:14 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
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 [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160319131456.55652.qmail@mail.muc.de \
--to=acm@muc.de \
--cc=23053@debbugs.gnu.org \
--cc=saulius.menkevicius@gmail.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).