unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: K Hollingworth <kh25@york.ac.uk>
Subject: Re: C++ mode.
Date: 27 May 2003 15:55:21 GMT	[thread overview]
Message-ID: <bb01p9$qhu$1@pump1.york.ac.uk> (raw)
In-Reply-To: 1a61f7e5.0305270525.70dd3e8f@posting.google.com

Rob Thorpe <robert.thorpe@antenova.com> wrote:
> K Hollingworth <kh25@york.ac.uk> wrote in message news:<badelr$paa$2@pump1.york.ac.uk>...
>> 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.

Do I need to load another package to get that?   Emacs says "no match"
when I try that command and if I try matching "highlight" I only get the
following completions:

highlight-changes-mode		   highlight-changes-next-change
highlight-changes-previous-change  highlight-changes-remove-highlight
highlight-changes-rotate-faces	   highlight-compare-with-file


-- 
 Kirsty Hollingworth                                <kh25@york.ac.uk>
      Department of Biology, University of York, York, YO10 5YW

  reply	other threads:[~2003-05-27 15:55 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-20 14:38 C++ mode K Hollingworth
2003-05-27  7:18 ` Lars Brange
2003-05-27 13:25 ` Rob Thorpe
2003-05-27 15:55   ` K Hollingworth [this message]
2003-05-28  8:18     ` Rob Thorpe
  -- strict thread matches above, loose matches on Subject: below --
2006-11-11 20:28 c++ mode Gary Wessle
2006-11-11 20:54 ` Markus Triska
2006-11-11 21:18 ` David Hansen
     [not found] ` <mailman.441.1163280215.2155.help-gnu-emacs@gnu.org>
2006-11-12  3:57   ` Gary Wessle
2006-11-12 11:12     ` David Hansen
2006-11-13 16:08     ` Kevin Rodgers

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='bb01p9$qhu$1@pump1.york.ac.uk' \
    --to=kh25@york.ac.uk \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).