From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: robert.thorpe@antenova.com (Rob Thorpe) Newsgroups: gmane.emacs.help Subject: Re: C++ mode. Date: 27 May 2003 06:25:13 -0700 Organization: http://groups.google.com/ Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <1a61f7e5.0305270525.70dd3e8f@posting.google.com> References: NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1054042317 20791 80.91.224.249 (27 May 2003 13:31:57 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 27 May 2003 13:31:57 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Tue May 27 15:31:51 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19KeYR-0005Oe-00 for ; Tue, 27 May 2003 15:31:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19KeXf-000519-KP for gnu-help-gnu-emacs@m.gmane.org; Tue, 27 May 2003 09:31:03 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 17 Original-NNTP-Posting-Host: 212.135.40.163 Original-X-Trace: posting.google.com 1054041913 8700 127.0.0.1 (27 May 2003 13:25:13 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: 27 May 2003 13:25:13 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:113732 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:10227 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10227 K Hollingworth wrote in message news:... > According to emacs I have > > GNU Emacs 20.7.1 (i386-redhat-linux-gnu, X toolkit) of Fri Mar 16 2001 on > porky.devel.redhat.com > > I would like to customise c++ mode so that lines starting std::cerr are > marked in a different red as most of them are for debugging and it > would be nice to be able to spot them easily. Is this possible? It > would be acceptable to mark everything in the std namespace in red. > > I'm a bit of a newbie with emacs so apologies as I don't know all the > terminology yet! M-x highlight-phrase RET std:cerr RET In the buffer when you need it would be what I would do.