From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#15212: 24.3.50; c++-mode doesn't support raw string literals Date: Thu, 2 Jun 2016 16:36:40 +0000 Message-ID: <20160602163640.GD4067__42818.615321494$1464885507$gmane$org@acm.fritz.box> References: <8C5AB533-B326-424B-9612-0B4858BC80BF@gmail.com> <20160403183638.GE3537@acm.fritz.box> <20160528144045.GB2950@acm.fritz.box> <20160529213616.GC3367@acm.fritz.box> <20160531213237.GB20373@acm.fritz.box> <87mvn57pk8.fsf@md5i.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1464885507 20523 80.91.229.3 (2 Jun 2016 16:38:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 Jun 2016 16:38:27 +0000 (UTC) Cc: Ivan Andrus , 15212@debbugs.gnu.org To: Michael Welsh Duggan Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 02 18:38:15 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1b8VdO-00045h-6q for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Jun 2016 18:38:14 +0200 Original-Received: from localhost ([::1]:48771 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8VdN-0005X7-4K for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Jun 2016 12:38:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34977) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8VcJ-0004hm-Qn for bug-gnu-emacs@gnu.org; Thu, 02 Jun 2016 12:37:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b8VcD-0000UY-UE for bug-gnu-emacs@gnu.org; Thu, 02 Jun 2016 12:37:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39603) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8VcD-0000UR-Qb; Thu, 02 Jun 2016 12:37:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1b8VcD-0001fA-Jr; Thu, 02 Jun 2016 12:37:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Thu, 02 Jun 2016 16:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15212 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: Original-Received: via spool by 15212-submit@debbugs.gnu.org id=B15212.14648853996355 (code B ref 15212); Thu, 02 Jun 2016 16:37:01 +0000 Original-Received: (at 15212) by debbugs.gnu.org; 2 Jun 2016 16:36:39 +0000 Original-Received: from localhost ([127.0.0.1]:51940 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b8Vbr-0001eR-6u for submit@debbugs.gnu.org; Thu, 02 Jun 2016 12:36:39 -0400 Original-Received: from mail.muc.de ([193.149.48.3]:25991) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b8Vbp-0001eG-EA for 15212@debbugs.gnu.org; Thu, 02 Jun 2016 12:36:38 -0400 Original-Received: (qmail 1737 invoked by uid 3782); 2 Jun 2016 16:36:36 -0000 Original-Received: from acm.muc.de (p4FC469F0.dip0.t-ipconnect.de [79.196.105.240]) by colin.muc.de (tmda-ofmipd) with ESMTP; Thu, 02 Jun 2016 18:36:34 +0200 Original-Received: (qmail 4665 invoked by uid 1000); 2 Jun 2016 16:36:40 -0000 Content-Disposition: inline In-Reply-To: <87mvn57pk8.fsf@md5i.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:118986 Archived-At: Hello, Michael. On Tue, May 31, 2016 at 07:52:55PM -0400, Michael Welsh Duggan wrote: > Alan Mackenzie writes: [ .... ] > >> I did find one. According to > >> http://en.cppreference.com/w/cpp/language/string_literal the delimiter can > >> contain any characters except parentheses, backslash and spaces. > > Yes, I've read that and got angry with it. It's vague - it's not clear > > what is meant by "any source character" - the C++11 page in Wikipedia > > says that control characters are excluded. In practice, I suspect it > > won't matter all that much - most of the time the delimiter will just be > > "\"(" - anybody trying to do anything fancy in the delimiter deserves > > everything she gets. ;-) > Her's what the standard says: > : > " ( ) " > : > > > : > Any member of the source character set, except a right-parenthesis ) > followed by the initial (which may be empty) > followed by a double quote ". > : > > > : > any member of the basic source character set except: > space, the left parenthesis (, the right parenthesis ), the > backslash \, and the control characters representing horizontal tab, > vertical tab, form feed, and newline. > Here's what it says about the basic source character set: > The basic source character set consists of 96 characters: the space > character, the control characters representing horizontal tab, vertical > tab, form feed, and new-line, plus the following 91 graphical > characters: > a b c d e f g h i j k l m n o p q r s t u v w x y z > A B C D E F G H I J K L M N O P Q R S T U V W X Y Z > 0 1 2 3 4 5 6 7 8 9 > _ { } [ ] # ( ) < > % : ; . ? * + - / ^ & | ~ ! = , \ " ’ Thanks, that's appreciated. > -- > Michael Welsh Duggan > (md5i@md5i.com) -- Alan Mackenzie (Nuremberg, Germany).