all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: Daniel Colascione <dancol@dancol.org>
Cc: emacs-devel@gnu.org, Stefan Monnier <monnier@iro.umontreal.ca>,
	Paul Pogonyshev <pogonyshev@gmail.com>
Subject: Re: [PATCH] support a few of the new features of C++11 in syntax highlighting
Date: Sun, 26 Jan 2014 15:21:44 +0000	[thread overview]
Message-ID: <20140126152144.GC2646@acm.acm> (raw)
In-Reply-To: <52E43BFD.3020209@dancol.org>

Hello, all.

On Sat, Jan 25, 2014 at 02:34:37PM -0800, Daniel Colascione wrote:
> On 01/25/2014 01:56 PM, Stefan Monnier wrote:
> >> I would advise you to send this to the bug list.
> >> Although a similar (?) patch has been there for a year.
> >> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13871
> >> So maybe send it as followup to that if it seems appropriate to you.

> > Agreed.  Of course, we can't install this right now since we're in
> > feature freeze, but if someone could deal with this soon after we re-open
> > the trunk, that would be helpful,

> I have a much older C++11 (from back when it was called C++0x) patch (it 
> should be in the archives somewhere) that supports "auto", attributes, 
> the ">>" template-closing syntax, and a few of C++'s contextual 
> keywords, like "override". I should update it after the feature freeze. 
> A big challenge is making uniform initialization work properly; I'd love 
> Alan's thoughts on the best way to approach that subject. I think we 
> also need a new indentation type for lambdas.

I've had enhancements for some C++11 features integrated into CC Mode at
SourceForge for some while, but I haven't yet pushed them to the
repository there (with one exception).

These features are:
(i) ">>" as double template ender (already at SourceForge);
(ii) "auto foo = <expression>;";
(iii) "decltype (foo)" as a type;
(iv) "auto foo (<args>) -> <type> { ..... }".

Daniel, in the end I didn't use the code in your patch, though the test
file was handy indeed.

I'd been hoping to implement more C++11 features before releasing all
the above, but I'm not getting much done.  I don't have enough time to
spend on CC Mode, and I'm largely bogged down with bug fixes at the
moment.  If somebody were willing to spend the time to learn how CC Mode
works, then implement more of C++11's features, I'd be most grateful for
the help.

-- 
Alan Mackenzie (Nuremberg, Germany).



  parent reply	other threads:[~2014-01-26 15:21 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-25 12:51 [PATCH] support a few of the new features of C++11 in syntax highlighting Paul Pogonyshev
2014-01-25 19:58 ` Glenn Morris
2014-01-25 21:56   ` Stefan Monnier
2014-01-25 22:34     ` Daniel Colascione
2014-01-26  0:27       ` Glenn Morris
2014-01-26 12:29         ` Daniel Colascione
2014-01-26 15:21       ` Alan Mackenzie [this message]
2014-05-11  6:48 ` Václav Zeman
2014-05-11 16:00   ` Óscar Fuentes
2014-05-11 18:21     ` Glenn Morris
2014-05-11 20:19       ` Óscar Fuentes
2014-05-11 22:09         ` Alan Mackenzie
2014-05-11 22:38           ` Óscar Fuentes
2014-05-14 20:13             ` Alan Mackenzie
2014-05-14 21:20               ` Óscar Fuentes
2014-05-15  1:52               ` Stefan Monnier
2014-05-16 16:07                 ` Alan Mackenzie
2014-05-16 17:59                   ` Eli Zaretskii
2014-05-17  8:31                     ` Alan Mackenzie
2014-05-17  9:24                       ` Eli Zaretskii
2014-05-17 12:39                         ` Michael Albinus
2014-05-17 14:14                           ` Stefan Monnier
2014-05-17 14:24                             ` Michael Albinus
2014-05-17 15:10                               ` Stefan Monnier
2014-05-17 13:27                         ` Óscar Fuentes
2014-05-17 14:06                           ` Eli Zaretskii
2014-05-16 23:42                   ` Stefan Monnier
2014-05-17  4:17                     ` Richard Stallman
2014-05-17  9:03                       ` Alan Mackenzie
2014-05-17 15:45                         ` Richard Stallman
2014-05-19 15:46                         ` Barry Warsaw
2014-05-17  8:42                     ` Alan Mackenzie
2014-05-17 14:09                       ` Stefan Monnier
2014-11-16 17:36           ` Rüdiger Sonderfeld
2014-11-16 18:07             ` Óscar Fuentes
2014-11-18  2:41               ` Rüdiger Sonderfeld
2014-11-18  3:30                 ` Óscar Fuentes
2014-11-18 12:48                   ` Daniel Colascione
2014-11-18 14:47                     ` Óscar Fuentes
2014-11-18 16:36                       ` Rüdiger Sonderfeld
2014-11-18 17:13                         ` Daniel Colascione
2014-11-18 18:01                           ` Óscar Fuentes
2014-11-18 18:11                             ` Daniel Colascione
2014-11-18 18:33                               ` Óscar Fuentes
2014-11-18 12:49                 ` Daniel Colascione

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=20140126152144.GC2646@acm.acm \
    --to=acm@muc.de \
    --cc=dancol@dancol.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=pogonyshev@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.