all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Jordan Saunders" <jmsaunders@gmail.com>
To: bug-gnu-emacs@gnu.org
Subject: bug#1953: Syntax Highlighting Problem in c++-mode
Date: Sun, 18 Jan 2009 22:28:04 -0500	[thread overview]
Message-ID: <69c9159d0901181928u289f3a66r8b5309c7b963120b@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1798 bytes --]

Given the following circumstance in c++-mode:

class blah
{
    blah(int) {}
};

blah::blah is not recognized by the syntax highlighter as a constructor and
the syntax highlighting is incorrect. If we give the first parameter an
actual name (i.e. int a, for example), it is recognized and things are
peachy.

Thank you.


In GNU Emacs 22.3.1 (i386-mingw-nt6.0.6001)
 of 2008-09-06 on SOFT-MJASON
Windowing system distributor `Microsoft Corp.', version 6.0.6001
configured using `configure --with-gcc (3.4)'

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: ENC
  locale-coding-system: cp1252
  default-enable-multibyte-characters: t

Major mode: C++/l

Minor modes in effect:
  encoded-kbd-mode: t
  tooltip-mode: t
  tool-bar-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
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  line-number-mode: t
  abbrev-mode: t

Recent input:
<wheel-down> <wheel-down> <wheel-down> <wheel-down>
<wheel-down> <wheel-down> <wheel-up> <double-wheel-up>
<triple-wheel-up> <wheel-down> <help-echo> <C-up> <C-up>
<C-up> <C-up> <down> <down> <end> <left> <left> SPC
b a <backspace> l a h <C-backspace> <backspace> C-x
C-s <help-echo> <help-echo> <help-echo> M-x r e p o
r t - e m <tab> <return>

Recent messages:
("C:\\emacs-22.3\\bin\\emacs.exe" "C:\\home\\ogawd\\util\\matrix.h")
Loading encoded-kb...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Loading cc-mode...done
Wrote c:/home/ogawd/util/matrix.h
Loading emacsbug...done

[-- Attachment #2: Type: text/html, Size: 2342 bytes --]

             reply	other threads:[~2009-01-19  3:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-19  3:28 Jordan Saunders [this message]
2009-01-20 12:13 ` bug#1953: Syntax Highlighting Problem in c++-mode Alan Mackenzie
  -- strict thread matches above, loose matches on Subject: below --
2009-01-19 15:18 Chong Yidong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=69c9159d0901181928u289f3a66r8b5309c7b963120b@mail.gmail.com \
    --to=jmsaunders@gmail.com \
    --cc=1953@emacsbugs.donarmstrong.com \
    --cc=bug-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.