* Incorrect documentation for hi-lock-mode?
@ 2009-12-31 19:18 Deniz Dogan
2010-01-02 18:24 ` Uwe Siart
0 siblings, 1 reply; 2+ messages in thread
From: Deniz Dogan @ 2009-12-31 19:18 UTC (permalink / raw)
To: Emacs-Devel devel
In "(emacs) Highlight Interactively" I read the following:
Hi Lock mode works like Font Lock mode (*note Font Lock::), except
that you specify explicitly the regular expressions to highlight. You
control them with these commands:
`C-x w h REGEXP <RET> FACE <RET>'
Highlight text that matches REGEXP using face FACE
(`highlight-regexp'). The highlighting will remain as long as the
buffer is loaded. For example, to highlight all occurrences of
the word "whim" using the default face (a yellow background) `C-x
w h whim <RET> <RET>'. Any face can be used for highlighting, Hi
Lock provides several of its own and these are pre-loaded into a
list of default values. While being prompted for a face use `M-n'
and `M-p' to cycle through them.
You can use this command multiple times, specifying various regular
expressions to highlight in different ways.
It seems that this is incorrect. "C-x w" is undefined in the latest
Emacs. The documentation for the function `hi-lock-mode' says that the
bindings are the old familiar "M-s h r" etc. Is the documentation
above old and incorrect or am I missing something?
--
Deniz Dogan
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Incorrect documentation for hi-lock-mode?
2009-12-31 19:18 Incorrect documentation for hi-lock-mode? Deniz Dogan
@ 2010-01-02 18:24 ` Uwe Siart
0 siblings, 0 replies; 2+ messages in thread
From: Uwe Siart @ 2010-01-02 18:24 UTC (permalink / raw)
To: emacs-devel
Deniz Dogan <deniz.a.m.dogan@gmail.com> writes:
> It seems that this is incorrect. "C-x w" is undefined in the latest
> Emacs. The documentation for the function `hi-lock-mode' says that the
> bindings are the old familiar "M-s h r" etc. Is the documentation
> above old and incorrect or am I missing something?
Here "C-x w h" is defined only when 'hi-lock-mode' is active while "M-s
h r" is always available (Emacs 23.1 on Win32).
--
Uwe
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-01-02 18:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-31 19:18 Incorrect documentation for hi-lock-mode? Deniz Dogan
2010-01-02 18:24 ` Uwe Siart
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).