all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alex <agrambot@gmail.com>
To: Matt Renaud <mrenaud92@gmail.com>
Cc: 10590@debbugs.gnu.org
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	[thread overview]
Message-ID: <878tv26jtx.fsf@gmail.com> (raw)
In-Reply-To: <CACxDEQG1BdVx-BiiFZtr+RHKqtGd6K9hmnbmr+TmCx1pLx_dig@mail.gmail.com>

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.





      reply	other threads:[~2016-09-08 23:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-24  2:46 bug#10590: c++-mode closing nested template angle braces breaks font-lock, indentation and show-paren-mode Matt Renaud
2016-09-08 23:41 ` Alex [this message]

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=878tv26jtx.fsf@gmail.com \
    --to=agrambot@gmail.com \
    --cc=10590@debbugs.gnu.org \
    --cc=mrenaud92@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 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.