From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Suvayu Ali Newsgroups: gmane.emacs.bugs Subject: bug#7275: 24.0.50; Incomplete font locking in c++-mode with Emacs 24 Date: Sat, 23 Oct 2010 21:35:23 -0700 Message-ID: <4CC3B78B.4030202@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1287904469 19844 80.91.229.12 (24 Oct 2010 07:14:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 24 Oct 2010 07:14:29 +0000 (UTC) To: 7275@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 24 09:14:27 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P9ulU-0008O0-Dp for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Oct 2010 09:14:27 +0200 Original-Received: from localhost ([127.0.0.1]:59572 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P9ulI-0007S6-QW for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Oct 2010 03:13:00 -0400 Original-Received: from [140.186.70.92] (port=54382 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P9ulA-0007Rd-Un for bug-gnu-emacs@gnu.org; Sun, 24 Oct 2010 03:12:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P9ul9-0004Tw-95 for bug-gnu-emacs@gnu.org; Sun, 24 Oct 2010 03:12:52 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40987) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P9ul9-0004Tq-40 for bug-gnu-emacs@gnu.org; Sun, 24 Oct 2010 03:12:51 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1P9uUs-0007AP-Af; Sun, 24 Oct 2010 02:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Suvayu Ali Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Oct 2010 06:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 7275 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.128790331527534 (code B ref -1); Sun, 24 Oct 2010 06:56:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Oct 2010 06:55:15 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P9uU6-0007A2-0l for submit@debbugs.gnu.org; Sun, 24 Oct 2010 02:55:15 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P9sF5-0006Bs-Tl for submit@debbugs.gnu.org; Sun, 24 Oct 2010 00:31:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P9sIu-0004wo-Ku for submit@debbugs.gnu.org; Sun, 24 Oct 2010 00:35:33 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:36059) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P9sIu-0004wk-Hv for submit@debbugs.gnu.org; Sun, 24 Oct 2010 00:35:32 -0400 Original-Received: from [140.186.70.92] (port=58671 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P9sIt-0006Rh-1w for bug-gnu-emacs@gnu.org; Sun, 24 Oct 2010 00:35:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P9sIr-0004wX-DC for bug-gnu-emacs@gnu.org; Sun, 24 Oct 2010 00:35:30 -0400 Original-Received: from mail-pw0-f41.google.com ([209.85.160.41]:40107) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P9sIr-0004wR-0X for bug-gnu-emacs@gnu.org; Sun, 24 Oct 2010 00:35:29 -0400 Original-Received: by pwj2 with SMTP id 2so530319pwj.0 for ; Sat, 23 Oct 2010 21:35:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=XVMRNs46xXzQsY6UlTNE9G/EX41AmXLAzZZqAlnwMEE=; b=krbl3iHZtoj6ZDLMpFDEPtJTE4ID3+t+dMPuqmrtcRD5MYiwyMW/Mm2Z4uyo8EkOa+ zRMIhqPv0jAqnXUUSw2nDWj7q3etD3MGbhZyQ/VqCatIWgKHvESYeqRDq7pvD+FPASox 07K5Irad7ocJuyj8E9Xd7zGs3Y01kB23Eis+E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=SYeYejzB/L7QIiwo5q1pKY4y7wSv3yFlcjT+XYVRv+SGeEzUGt9YZP0v+usFieLvsX 4E+PrW2dV3lH24Va0LUv/CfzajkvLJzhSojq5rWvablquPs3S0ZXRhlI2ZdVq4ywMr6G /d5eYLHCSQ4PuurvaAyWhi9YvIw9f/p2XKx4Y= Original-Received: by 10.142.238.5 with SMTP id l5mr3545471wfh.337.1287894926266; Sat, 23 Oct 2010 21:35:26 -0700 (PDT) Original-Received: from bhishma.homelinux.net (d207-6-164-233.bchsia.telus.net [207.6.164.233]) by mx.google.com with ESMTPS id e14sm8302409wfg.20.2010.10.23.21.35.24 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 23 Oct 2010 21:35:25 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100921 Fedora/3.1.4-1.fc13 Lightning/1.0b3pre Thunderbird/3.1.4 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Sun, 24 Oct 2010 02:55:12 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 24 Oct 2010 02:56:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:41108 Archived-At: Hi Emacs developers, Since about 3 weeks I am seeing incomplete font-locking behaviour with "GNU Emacs 24.0.50.1" in c++-mode. The variables and function names are displayed in the `default' face instead of `font-lock-variable-name-face' and `font-lock-function-name-face' respectively. Recipe: 1. Start emacs with `emacs -Q' 2. Open a C++ source file 3. Navigate to the implementation of a function or instantiation of an object To demonstrate, I took comparing screenshots with Emacs 24 and Emacs 23. Compare lines 83 and 91 in the screen shots to see what I mean. Emacs 23.2.1 (correct font-lock behaviour) Emacs 24 (incorrect font-lock behaviour) PS: I am not subscribed to the list. Hope I didn't miss to include any information. In GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1) of 2010-10-22 on xxx.xxx.xxx Windowing system distributor `Fedora Project', version 11.0.10802000 configured using `configure '--prefix=/opt/emacs-lisp' '--with-selinux' '--with-imagemagick'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_IN.utf8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: C++/l Minor modes in effect: linum-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-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 Recent input: M-x d e s c r f a c M-x C-g C-x 1 M-x t o g g l t r u M-x t o o l - b a M-x l i n u m M-x r e p o r Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Loading vc-git...done Type C-x 1 to delete the help window. Quit Truncate long lines enabled Making completion list... Tool-Bar mode disabled Linum mode enabled Load-path shadows: /opt/emacs-lisp/share/emacs/site-lisp/flim/hex-util hides /opt/emacs-lisp/share/emacs/24.0.50/lisp/hex-util /opt/emacs-lisp/share/emacs/site-lisp/flim/sha1 hides /opt/emacs-lisp/share/emacs/24.0.50/lisp/sha1 /opt/emacs-lisp/share/emacs/site-lisp/flim/md4 hides /opt/emacs-lisp/share/emacs/24.0.50/lisp/md4 /opt/emacs-lisp/share/emacs/site-lisp/flim/ntlm hides /opt/emacs-lisp/share/emacs/24.0.50/lisp/net/ntlm /opt/emacs-lisp/share/emacs/site-lisp/flim/sasl hides /opt/emacs-lisp/share/emacs/24.0.50/lisp/net/sasl /opt/emacs-lisp/share/emacs/site-lisp/flim/sasl-digest hides /opt/emacs-lisp/share/emacs/24.0.50/lisp/net/sasl-digest /opt/emacs-lisp/share/emacs/site-lisp/flim/sasl-cram hides /opt/emacs-lisp/share/emacs/24.0.50/lisp/net/sasl-cram /opt/emacs-lisp/share/emacs/site-lisp/flim/sasl-ntlm hides /opt/emacs-lisp/share/emacs/24.0.50/lisp/net/sasl-ntlm /opt/emacs-lisp/share/emacs/site-lisp/flim/hmac-md5 hides /opt/emacs-lisp/share/emacs/24.0.50/lisp/net/hmac-md5 /opt/emacs-lisp/share/emacs/site-lisp/flim/hmac-def hides /opt/emacs-lisp/share/emacs/24.0.50/lisp/net/hmac-def Features: (shadow sort gnus-util mail-extr message idna sendmail rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader emacsbug linum cus-start cus-load help-fns help-mode view crm thingatpt vc-git cc-mode cc-fonts easymenu cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs regexp-opt tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) -- Suvayu Open source is the future. It sets us free.