From: Peter Lee <pete.a.lee@gmail.com>
Subject: Re: Syntax Highlighting Latency in Emacs
Date: Tue, 21 Dec 2004 18:38:05 GMT [thread overview]
Message-ID: <ubrcn33ap.fsf@gmail.com> (raw)
In-Reply-To: 9badnW_9ItZTWSHcRVn-iw@comcast.com
>>>> jab3 writes:
jab3> I'm also interested in figuring out (maybe
jab3> with regular expressions) a way to make Emacs emulate another vim feature
jab3> that I do like: highlighting control characters in quoted strings in a C
jab3> file. For instance, in printf("Hello %s\n", name); I would like the %s and
jab3> \n highlighted in a different color from the normal string quote color.
Do you mean like
M-x highlight-regexp [ret] \%s
M-x highlight-regexp [ret] \\n
C-x w h
Or do you mean something more permanent? You could probably use
highlight-regexp in conjunction with one of the font-lock
callbacks... But there's probably a better way.
next prev parent reply other threads:[~2004-12-21 18:38 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-12 1:42 Syntax Highlighting Latency in Emacs jab3
2004-12-12 13:13 ` Thien-Thi Nguyen
2004-12-12 13:22 ` Peter Dyballa
[not found] ` <mailman.5367.1102858474.27204.help-gnu-emacs@gnu.org>
2004-12-12 22:23 ` jab3
2004-12-21 18:38 ` Peter Lee [this message]
2004-12-21 20:03 ` jab3
2004-12-22 21:55 ` Peter Lee
2004-12-23 0:18 ` jab3
2004-12-27 17:09 ` Kevin Rodgers
2004-12-13 9:35 ` Pierre-Charles David
2004-12-13 12:08 ` Kai Grossjohann
[not found] ` <mailman.5589.1102940728.27204.help-gnu-emacs@gnu.org>
2004-12-13 23:42 ` Stefan Monnier
2004-12-21 20:04 ` jab3
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=ubrcn33ap.fsf@gmail.com \
--to=pete.a.lee@gmail.com \
/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).