[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#10590: c++-mode closing nested template angle braces breaks font-loc
From: |
Alex |
Subject: |
bug#10590: c++-mode closing nested template angle braces breaks font-lock, indentation and show-paren-mode. |
Date: |
Thu, 08 Sep 2016 17:41:14 -0600 |
close 10590 25.1
quit
Matt Renaud <mrenaud92@gmail.com> writes:
> Emacs Version: 24.0.92.2
>
> When writing C++ code with nested templates, putting two (or more) closing
> angle braces together causes the font-lock, show-paren-mode and indentation
> to break. Positioning point on any of the closing parentheses fails to show
> the matching
> opening brace which makes template meta-programs difficult to read. Any
> nested templates will cause this. The following is a simple example showing
> the 2 cases:
>
> template <typename T = std::vector<int>>
> struct foo // Indentation broken here...
> {
> };
>
> int main()
> {
> std::vector<std::vector<int>> vv_int; // Font-lock broken here...
>
> return 0;
> }
This appears to have been fixed in 25.1.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#10590: c++-mode closing nested template angle braces breaks font-lock, indentation and show-paren-mode.,
Alex <=