Write a multi-line raw string literal in =
c++-mode, and font
lock doesn't show the correct syntax highlighting=
. Sample code:
const char* s1 =3D R"foo(
Hello
World
)=
foo";
const char* s2 =3D R"(
Hello
World
)";=
In GNU Emacs 27.0.50 (build 1, x86_64-apple-darwin17.7.0, NS appkit=
-1561.60 Version 10.13.6 (Build 17G65))
=C2=A0of 2019-01-04 built on C02=
WP42JHTD6
Repository revision: fe4922cbf01fa9161ffa142fc70972098d48186f<=
br>Repository branch: master
Windowing system distributor 'Apple'=
;, version 10.3.1561
System Description:=C2=A0 Mac OS X 10.13.6
R=
ecent messages:
Mark set
next-line: End of buffer [15 times]
Mark =
set
next-line: End of buffer [14 times]
Saving file /Users/lifeng/Des=
ktop/test.cpp...
Wrote /Users/lifeng/Desktop/test.cpp
Mark set [6 tim=
es]
Undo!
Making completion list...
user-error: End of history; no=
default available [2 times]
Configured using:
=C2=A0'configu=
re --with-modules'
Configured features:
RSVG GLIB NOTIFY KQUE=
UE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS
MODULES THREADS JSON L=
CMS2 GMP
Important settings:
=C2=A0 value of $LANG: en_AU.UTF-8=C2=A0 locale-coding-system: utf-8-unix
Major mode: C++//l
=
Minor modes in effect:
=C2=A0 tooltip-mode: t
=C2=A0 global-eldoc-mod=
e: t
=C2=A0 electric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
=C2=
=A0 tool-bar-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 file-name-shadow-=
mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-mode: t
=
=C2=A0 blink-cursor-mode: t
=C2=A0 auto-composition-mode: t
=C2=A0 au=
to-encryption-mode: t
=C2=A0 auto-compression-mode: t
=C2=A0 line-num=
ber-mode: t
=C2=A0 transient-mark-mode: t
=C2=A0 abbrev-mode: t
Load-path shadows:
None found.
Features:
(shadow sort mail-e=
xtr emacsbug message rmc puny seq byte-opt gv
bytecomp byte-compile ccon=
v dired dired-loaddefs format-spec rfc822 mml
mml-sec password-cache epa=
derived epg epg-config gnus-util rmail
rmail-loaddefs time-date mm-deco=
de mm-bodies mm-encode mail-parse
rfc2231 mailabbrev gmm-utils mailheade=
r sendmail rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils thin=
gatpt cc-mode cc-fonts
easymenu cc-guess cc-menus cc-cmds cc-styles cc-a=
lign cc-engine cc-vars
cc-defs cl-loaddefs cl-lib elec-pair tooltip eldo=
c electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel term/ns-w=
in ns-win
ucs-normalize mule-util term/common-win tool-bar dnd fontset i=
mage
regexp-opt fringe tabulated-list replace newcomment text-mode elisp=
-mode
lisp-mode prog-mode register page menu-bar rfn-eshadow isearch tim=
er
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core<=
br>term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang
v=
ietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932
heb=
rew greek romanian slovak czech european ethiopic indian cyrillic
chines=
e composite charscript charprop case-table epa-hook jka-cmpr-hook
help s=
imple abbrev obarray minibuffer cl-preloaded nadvice loaddefs
button fac=
es cus-face macroexp files text-properties overlay sha1 md5
base64 forma=
t env code-pages mule custom widget hashtable-print-readable
backquote t=
hreads kqueue cocoa ns lcms2 multi-tty make-network-process
emacs)
Memory information:
((conses 16 227619 13680)
=C2=A0(symbols 48 223=
62 1)
=C2=A0(strings 32 35100 1976)
=C2=A0(string-bytes 1 1069317)
=C2=A0(vectors 16 37950)
=C2=A0(vector-slots 8 757597 18070)
=C2=A0(=
floats 8 47 152)
=C2=A0(intervals 56 520 0)
=C2=A0(buffers 992 14))
--0000000000002d9861057e9b0c59--