bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#15212: 24.3.50; c++-mode doesn't support raw string literals


From: Alan Mackenzie
Subject: bug#15212: 24.3.50; c++-mode doesn't support raw string literals
Date: Thu, 9 Jun 2016 15:04:11 +0000
User-agent: Mutt/1.5.24 (2015-08-30)

Hello, Ivan.

On Wed, Jun 08, 2016 at 07:38:01PM -0600, Ivan Andrus wrote:
> I have been in a lot of meetings ....

My sympathies.  ;-)

> .... so I haven’t given it the normal usage treatment, but I did spend
> some time trying to break it. 

> You may know about this, but if you comment the first line of a
> multi-line string, the closing quote will still match (for the purposes
> of backward-sexp) with the commented opening quote.  The parentheses on
> the other hand don't match (which is what I would expect).  Personally,
> I think it’s a small price to pay.

For what it's worth, on just an ordinary two line string (with an escaped
EOL), if the first line is commented out (and the backslash deleted), the
two quote marks also match eachother for C-M-f and C-M-b.  So I agree
with you, this isn't such a big problem in raw strings.

> Thanks again for your work on this.  I’ll keep testing it, but as far
> as I’m concerned you can push it as soon as you want.

Thanks for the testing.  I've now pushed the changes (to both savannah
master and CC Mode's c++11-0-1 branch), but if anything more comes up, I
can correct it.

> -Ivan

-- 
Alan Mackenzie (Nuremberg, Germany).





reply via email to

[Prev in Thread] Current Thread [Next in Thread]