unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Cannot change the default color when using highlight-regexp
@ 2007-11-01  3:55 htbest2000
  2007-11-01  9:49 ` Johan Bockgård
  0 siblings, 1 reply; 3+ messages in thread
From: htbest2000 @ 2007-11-01  3:55 UTC (permalink / raw)
  To: help-gnu-emacs

Hi all:

I want to use the highlight-regexp in my script, but the emacs always
highlight the key word with yellow, although my expression is
``(highlight-regexp "all" 'hl-pink)''. But it is OK when using
highlight-regexp in the interactive mode( using M-x ).

How to use other colour for highlight?

Thanks for your help.

PS: my version is

GNU Emacs 22.0.94.1 (i386-mingw-nt5.1.2600) of 2007-02-23 on NEUTRINO

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Cannot change the default color when using highlight-regexp
  2007-11-01  3:55 Cannot change the default color when using highlight-regexp htbest2000
@ 2007-11-01  9:49 ` Johan Bockgård
  2007-11-02 10:18   ` htbest2000
  0 siblings, 1 reply; 3+ messages in thread
From: Johan Bockgård @ 2007-11-01  9:49 UTC (permalink / raw)
  To: help-gnu-emacs

htbest2000 <htbest2000@gmail.com> writes:

> I want to use the highlight-regexp in my script, but the emacs always
> highlight the key word with yellow, although my expression is
> ``(highlight-regexp "all" 'hl-pink)''.

The name is "hi-pink", not "hl-pink".

-- 
Johan Bockgård

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Cannot change the default color when using highlight-regexp
  2007-11-01  9:49 ` Johan Bockgård
@ 2007-11-02 10:18   ` htbest2000
  0 siblings, 0 replies; 3+ messages in thread
From: htbest2000 @ 2007-11-02 10:18 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="us-ascii", Size: 406 bytes --]

Thanks, it is my careless.


On Nov 1, 9:49 am, bojohan+n...@dd.chalmers.se (Johan Bockgård) wrote:
> htbest2000 <htbest2...@gmail.com> writes:
> > I want to use the highlight-regexp in my script, but the emacs always
> > highlight the key word with yellow, although my expression is
> > ``(highlight-regexp "all" 'hl-pink)''.
>
> The name is "hi-pink", not "hl-pink".
>
> --
> Johan Bockgård

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-11-02 10:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-01  3:55 Cannot change the default color when using highlight-regexp htbest2000
2007-11-01  9:49 ` Johan Bockgård
2007-11-02 10:18   ` htbest2000

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).