[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
C++ unclosed namespace detection whishlist
From: |
Steven T. Hatton |
Subject: |
C++ unclosed namespace detection whishlist |
Date: |
Wed, 8 Jun 2005 21:34:00 -0400 |
Symptoms:
I've heard tell that vim will give a warning in the form lf changing
the buffer color when a namespace is opened, but not closed in C++
mode. I've been stung a couple of times by missing the closing '}' at
the end of a file in which a namespace is opened. It is one of the
least obvious mistakes to make when editing C++ code in Emacs. Even
worse than forgetting the ';' at the end of a class definition. I'm
wondering if Emacs C++ mode could provide a more obtrusive indication
that a namespace has been left open in a file.
In GNU Emacs 22.0.50.2 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2005-06-08 on ljosalfr
Distributor `The X.Org Foundation', version 11.0.60802000
configured using `configure '--prefix=/home/hattons/opt/org/gnu/emacs-cvs''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: POSIX
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_US.UTF-8
locale-coding-system: utf-8
default-enable-multibyte-characters: t
Major mode: C++
Minor modes in effect:
delete-selection-mode: t
pc-selection-mode: t
show-paren-mode: t
senator-minor-mode: t
which-function-mode: t
semantic-idle-summary-mode: t
semantic-idle-scheduler-mode: t
tool-bar-mode: t
mouse-wheel-mode: t
tooltip-mode: t
auto-compression-mode: t
menu-bar-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
column-number-mode: t
line-number-mode: t
transient-mark-mode: t
next-error-follow-minor-mode: Fol
abbrev-mode: t
Recent input:
C-x C-f <up> <return> <help-echo> <help-echo> <up>
<up> <up> <up> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <left> <left> <left> <left> <left> <left> <left>
<left> <right> S T H _ P R O J E C T _ <S-left> <S-left>
<S-left> <S-left> <S-left> <S-left> <S-left> <S-left>
<S-left> <S-left> <S-left> <S-left> <C-insert> <down>
<S-insert> <down> <down> <down> n a m e M-/ SPC p r
o j e c t SPC { <return> } M-x r e p o r t SPC e m
<tab> <return>
Recent messages:
Loading eldoc...done
Loading jit-lock...done
For information about the GNU Project and its goals, type C-h C-p.
Loading cc-mode...done
Loading semantic-c...done
Loading autoinsert...done
Loading semantic-edit...done
Mark set [6 times]
Loading dabbrev...done
Loading emacsbug...done
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- C++ unclosed namespace detection whishlist,
Steven T. Hatton <=