From: Deniz Dogan <deniz.a.m.dogan@gmail.com>
To: Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Incorrect documentation for hi-lock-mode?
Date: Thu, 31 Dec 2009 20:18:26 +0100 [thread overview]
Message-ID: <7b501d5c0912311118w64463e38xfef269fbb463a1bc@mail.gmail.com> (raw)
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
next reply other threads:[~2009-12-31 19:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-31 19:18 Deniz Dogan [this message]
2010-01-02 18:24 ` Incorrect documentation for hi-lock-mode? Uwe Siart
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=7b501d5c0912311118w64463e38xfef269fbb463a1bc@mail.gmail.com \
--to=deniz.a.m.dogan@gmail.com \
--cc=emacs-devel@gnu.org \
/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 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).