[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#23053: 25.0.92; error in cc-mode when editing C# file with a generic
From: |
Alan Mackenzie |
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 |
User-agent: |
tin/2.3.1-20141224 ("Tallant") (UNIX) (FreeBSD/10.2-RELEASE-p9 (amd64)) |
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).
- bug#23053: 25.0.92; error in cc-mode when editing C# file with a generic class inheritance, (continued)
- bug#23053: 25.0.92; error in cc-mode when editing C# file with a generic class inheritance, Alan Mackenzie, 2016/03/25
- bug#23053: 25.0.92; error in cc-mode when editing C# file with a generic class inheritance, Jostein Kjønigsen, 2016/03/26
- bug#23053: 25.0.92; error in cc-mode when editing C# file with a generic class inheritance, Alan Mackenzie, 2016/03/26
- bug#23053: 25.0.92; error in cc-mode when editing C# file with a generic class inheritance, Ingo Lohmar, 2016/03/19
- bug#23053: 25.0.92; error in cc-mode when editing C# file with a generic class inheritance, jostein, 2016/03/19
- bug#23053: 25.0.92; error in cc-mode when editing C# file with a generic class inheritance, Jostein Kjønigsen, 2016/03/19
- bug#23053: 25.0.92; error in cc-mode when editing C# file with a generic class inheritance, Jostein Kjønigsen, 2016/03/20
Message not available
- bug#23053: 25.0.92; error in cc-mode when editing C# file with a generic class inheritance,
Alan Mackenzie <=
bug#23053: 25.0.92; error in cc-mode when editing C# file with a generic class inheritance, Saulius Menkevičius, 2016/03/19