all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Christian Schlauer <cs-muelleimer-rubbish.bin@arcor.de>
Subject: Re: Getting started with syntax highlighting.
Date: Tue, 25 Oct 2005 20:28:00 +0200	[thread overview]
Message-ID: <3s7bp2Fmsl5rU1@individual.net> (raw)
In-Reply-To: mailman.12520.1130186025.20277.help-gnu-emacs@gnu.org

Alex Polite <notmyprivateemail@gmail.com> writes:

> I want get into syntax highlighting.
>
> What I want to do is grey out all text that matches the regular
> expression "{id:\d+}. Sounds pretty basic right? But the documentation
> leaves me puzzled.
>
> Anybody out got a simple example to get me started?

Try `M-x highlight-regexp RET', maybe this is enough for you. You can
learn more about this in the comment section of the file hi-lock.el.
-- 
Christian Schlauer

  parent reply	other threads:[~2005-10-25 18:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.12520.1130186025.20277.help-gnu-emacs@gnu.org>
2005-10-24 21:46 ` Getting started with syntax highlighting David Hansen
2005-10-24 22:07   ` Lennart Borgman
2005-10-24 23:53 ` Stefan Monnier
2005-10-25 18:28 ` Christian Schlauer [this message]
2005-10-25 21:57 ` rgb
2005-10-24 20:33 Alex Polite

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=3s7bp2Fmsl5rU1@individual.net \
    --to=cs-muelleimer-rubbish.bin@arcor.de \
    --cc=cs-usenet@arcor.de \
    /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.