all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

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.