From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Matthias Meulien Newsgroups: gmane.emacs.bugs Subject: bug#24319: 25.1.50; Failure to fontify C++ buffer with override keyword Date: Sat, 27 Aug 2016 17:19:58 +0200 Message-ID: <1472311198.23025.0@smtp.gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=-OWzUEM3P/Li3EX/ikwKO" X-Trace: blaine.gmane.org 1472311281 6610 195.159.176.226 (27 Aug 2016 15:21:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 27 Aug 2016 15:21:21 +0000 (UTC) To: 24319@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 27 17:21:17 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bdfQ2-0000yK-J7 for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Aug 2016 17:21:14 +0200 Original-Received: from localhost ([::1]:36340 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bdfPy-0007Ug-7t for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Aug 2016 11:21:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52178) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bdfPr-0007Ub-Lk for bug-gnu-emacs@gnu.org; Sat, 27 Aug 2016 11:21:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bdfPq-0000wc-6x for bug-gnu-emacs@gnu.org; Sat, 27 Aug 2016 11:21:03 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44467) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bdfPq-0000wY-3Q for bug-gnu-emacs@gnu.org; Sat, 27 Aug 2016 11:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bdfPq-0002It-1H for bug-gnu-emacs@gnu.org; Sat, 27 Aug 2016 11:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Matthias Meulien Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Aug 2016 15:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 24319 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14723112238796 (code B ref -1); Sat, 27 Aug 2016 15:21:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 Aug 2016 15:20:23 +0000 Original-Received: from localhost ([127.0.0.1]:42179 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bdfPD-0002Hn-Bz for submit@debbugs.gnu.org; Sat, 27 Aug 2016 11:20:23 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:32796) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bdfPB-0002Ha-L5 for submit@debbugs.gnu.org; Sat, 27 Aug 2016 11:20:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bdfP4-0000k9-UD for submit@debbugs.gnu.org; Sat, 27 Aug 2016 11:20:16 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:60668) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bdfP4-0000k0-QU for submit@debbugs.gnu.org; Sat, 27 Aug 2016 11:20:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51979) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bdfP1-0007Sa-SQ for bug-gnu-emacs@gnu.org; Sat, 27 Aug 2016 11:20:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bdfOs-0000Zu-DK for bug-gnu-emacs@gnu.org; Sat, 27 Aug 2016 11:20:11 -0400 Original-Received: from mail-wm0-x234.google.com ([2a00:1450:400c:c09::234]:35879) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bdfOs-0000Zm-1w for bug-gnu-emacs@gnu.org; Sat, 27 Aug 2016 11:20:02 -0400 Original-Received: by mail-wm0-x234.google.com with SMTP id q128so26683383wma.1 for ; Sat, 27 Aug 2016 08:20:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:subject:to:message-id:mime-version; bh=RiBcA9GXilIb90w0FBGf85B1rIm+EeuqnBEG3T9bhOM=; b=ZzLnNPe/Ws7i1OHNOfzxxXBiq3Cms/OXQ2sCaONXwBFQXU6KCSjbUJmti5CX70xUYm GGVyXEc2+LOHrQ32r1vACxD/HOEX5KUMJCnwgNyPrKLf2As+CkXHjZQ+sKlgZvgtmsFB bop3VltJpaufIwugaosJR7CidZpegTpnc2yNvVseqMpQgQrPmcRRnpulBoA3akxuIxm7 0N2BUqoLWoANYRY1//l/gslPuhL5LzP0SKB1QLb7jXkVtj/PUd/ESuGtjD8idaOZ5Sb/ JLvoe8fOIEHalIDs9A91gHA3hBnxbH6l+H/VUXO3pEaFoT7IAfskCtSo8BVRqHbuh57d b3XA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:subject:to:message-id:mime-version; bh=RiBcA9GXilIb90w0FBGf85B1rIm+EeuqnBEG3T9bhOM=; b=U2A3YVpa/OR7b7iFTX5JlGMwGrupMN53LMGdRM/0YZRSM3EW/MgA3bZr+KWbc91ixF l1YlWBw72y7C1/cfLW/qtdbs4idANjYLIsOwo2Ufhbv+siekwMKKdPi0CKRejMfc8OlT xLEw7gxESBVp/ORns3Y0a2tX4uNgDa7u6X5XD46M5YWu+CrtZXtjBMZJscE9rpSLYfhH oa1aVSOD/DCZHJnxz1Uo/84TlDrwOueFUlrFUryGGSl8X0TGuwwVZ5ci6laqxw5JWPJa cLqyaGe0YGM4JmmuI//aF6aGqrYrQPHcaBk9zRf/gBcx+uIzh3fH/xxZhHGO0m4drJnl Mvcw== X-Gm-Message-State: AE9vXwMwOFDcdf33Z8a+9E7CoGgeeouUMnp1DZ6Pja5C3ZFEFBCJml4PZE/0quxNnamBaA== X-Received: by 10.28.113.135 with SMTP id d7mr3298730wmi.43.1472311200642; Sat, 27 Aug 2016 08:20:00 -0700 (PDT) Original-Received: from carbon ([2a01:e35:2ef1:4540:4e34:88ff:fe04:cfe5]) by smtp.gmail.com with ESMTPSA id 4sm4265262wmu.2.2016.08.27.08.19.59 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 27 Aug 2016 08:20:00 -0700 (PDT) X-Mailer: geary/0.11.1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:122724 Archived-At: --=-OWzUEM3P/Li3EX/ikwKO Content-Type: text/plain; charset=utf-8; format=flowed Switch to an empty buffer and enable c++-mode. Add the following content to the buffer: struct foo : public bar { foo() {} ~foo() {} }; Everything is fine. Then add the keyword `override' to the destructor. struct foo : public bar { foo() {} ~foo() override {} }; Now ~foo is no more fontified... In GNU Emacs 25.1.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.20.9) of 2016-08-19 built on carbon Repository revision: 4a80c8bb276de0fdb1f9ddb8f1c1cf7d57d30918 Windowing system distributor 'The X.Org Foundation', version 11.0.11804000 System Description: Arch Linux Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 LIBSYSTEMD Important settings: value of $LANG: fr_FR.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: C++/l Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message cl-macs subr-x puny seq byte-opt bytecomp byte-compile cl-extra help-mode cconv dired dired-loaddefs format-spec rfc822 mml mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils cc-mode cc-fonts easymenu cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs cl gv cl-loaddefs pcase cl-lib time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 118451 10206) (symbols 48 23038 0) (miscs 40 114 154) (strings 32 23517 3887) (string-bytes 1 842104) (vectors 16 16887) (vector-slots 8 475279 3482) (floats 8 193 121) (intervals 56 354 97) (buffers 976 12)) --=-OWzUEM3P/Li3EX/ikwKO Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Switch to an empty buffer and enable = ;c++-mode. Add the following content
to the&nbs= p;buffer:

struct foo : public bar {
&nbs= p; foo() {}

  ~foo() {}
};

Everyt= hing is fine. Then add the keyword `over= ride' to the destructor.

struct foo : = public bar {
  foo() {}

  ~foo= () override {}
};

Now ~foo is no mo= re fontified...


In GNU Emacs 25.1.50.1 = (x86_64-unknown-linux-gnu, GTK+ Version 3.20.9)
 of&= nbsp;2016-08-19 built on carbon
Repository revision:=  4a80c8bb276de0fdb1f9ddb8f1c1cf7d57d30918
Windowing system&nbs= p;distributor 'The X.Org Foundation', version 11.0= .11804000
System Description: Arch Linux

Recent me= ssages:
For information about GNU Emacs and&nbs= p;the GNU system, type C-h C-a.

Configured&= nbsp;features:
XPM JPEG TIFF GIF PNG RSVG = IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS
NOTI= FY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOT= F XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 LIBSYST= EMD

Important settings:
  value of $LANG= : fr_FR.UTF-8
  value of $XMODIFIERS: @im= =3Dibus
  locale-coding-system: utf-8-unix

Major&n= bsp;mode: C++/l

Minor modes in effect:
 =  tooltip-mode: t
  global-eldoc-mode: t
&nbs= p; electric-indent-mode: t
  mouse-wheel-mode: = t
  file-name-shadow-mode: t
  global-font-l= ock-mode: t
  font-lock-mode: t
  blink= -cursor-mode: t
  auto-composition-mode: t
 =  auto-encryption-mode: t
  auto-compression-mode:&nb= sp;t
  line-number-mode: t
  transient-mark-= mode: t
  abbrev-mode: t

Load-path shado= ws:
None found.

Features:
(shadow sort mail-ext= r emacsbug message cl-macs subr-x puny seq&nb= sp;byte-opt
bytecomp byte-compile cl-extra help-mode = ;cconv dired dired-loaddefs
format-spec rfc822 mml&n= bsp;mml-sec password-cache epa derived epg epg-con= fig
gnus-util rmail rmail-loaddefs mm-decode mm-bodi= es mm-encode mail-parse
rfc2231 mailabbrev gmm-utils=  mailheader sendmail rfc2047 rfc2045
ietf-drums = ;mm-util mail-prsvr mail-utils cc-mode cc-fonts ea= symenu
cc-guess cc-menus cc-cmds cc-styles cc-align&= nbsp;cc-engine cc-vars cc-defs
cl gv cl-loaddefs&nbs= p;pcase cl-lib time-date mule-util tooltip eldocelectric uniquify ediff-hook vc-hooks lisp-float-type=  mwheel term/x-win
x-win term/common-win x-dnd = tool-bar dnd fontset image regexp-opt fringe
ta= bulated-list newcomment elisp-mode lisp-mode prog-mode&= nbsp;register page
menu-bar rfn-eshadow timer select=  scroll-bar mouse jit-lock font-lock
syntax fac= emenu font-core term/tty-colors frame cl-generic c= ham georgian
utf-8-lang misc-lang vietnamese tibetan=  thai tai-viet lao korean
japanese eucjp-ms&nbs= p;cp51932 hebrew greek romanian slovak czech = european
ethiopic indian cyrillic chinese charscript=  case-table epa-hook
jka-cmpr-hook help simple = abbrev obarray minibuffer cl-preloaded nadvice
loadd= efs button faces cus-face macroexp files text= -properties overlay
sha1 md5 base64 format env&= nbsp;code-pages mule custom widget
hashtable-print-readab= le backquote dbusbind inotify dynamic-setting
system= -font-setting font-render-setting move-toolbar gtk x-to= olkit x
multi-tty make-network-process emacs)

Memo= ry information:
((conses 16 118451 10206)
 (= symbols 48 23038 0)
 (miscs 40 114 15= 4)
 (strings 32 23517 3887)
 (string-bytes&n= bsp;1 842104)
 (vectors 16 16887)
 (vector-s= lots 8 475279 3482)
 (floats 8 193 12= 1)
 (intervals 56 354 97)
 (buffers 976=  12))
= --=-OWzUEM3P/Li3EX/ikwKO--