From: "Drew Adams" <drew.adams@oracle.com>
Subject: RE: Search for text
Date: Wed, 26 Jul 2006 10:20:10 -0700 [thread overview]
Message-ID: <DNEMKBNJBGPAOPIJOOICCEABDIAA.drew.adams@oracle.com> (raw)
In-Reply-To: <85r708fi3v.fsf@lola.goethe.zz>
> Basic stuff here. Sorry if this has been asked before:-
> - Can one search for text at the location of the point? If a point is
> within word "foo" I'd like to C-s <something> so that I dont have to
> enter that word when promted for a search term
C-s C-w
> - I'd like to be able to search for say ^[a-g] with regular
> expressions. Can any one point me to the location of the info doc?
C-u C-s ^[a-g]
Alternatively: `C-M-s' (then `C-s' for subsequent searches of the same
pattern).
> - Finally I'd like to have all matching terms stay highlighted a bit
> longer. C-s does highlight terms, but as soon as I C-v to look down
> the page it's gone.
M-x customize-variable RET lazy-highlight-cleanup RET
BTW, if you don't mind venturing beyond vanilla Emacs, you might also like
to try the crazy searching available with Icicles. This tells the story,
with screenshots:
http://www.emacswiki.org/cgi-bin/wiki/Icicles_-_Search_Enhancements#IciclesS
earchCommands.
next prev parent reply other threads:[~2006-07-26 17:20 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.4498.1153930516.9609.help-gnu-emacs@gnu.org>
2006-07-26 16:25 ` Search for text David Kastrup
2006-07-26 17:20 ` Drew Adams [this message]
2006-07-26 19:45 ` john maclean
[not found] ` <mailman.4507.1153943162.9609.help-gnu-emacs@gnu.org>
2006-07-26 20:26 ` David Kastrup
2006-07-26 21:07 ` john maclean
2006-07-27 15:50 ` Kevin Rodgers
[not found] ` <mailman.4511.1153948047.9609.help-gnu-emacs@gnu.org>
2006-07-26 21:15 ` David Kastrup
2006-07-27 9:00 ` john maclean
2006-07-27 9:09 ` David Kastrup
2006-07-27 10:43 ` john maclean
2006-07-26 16:15 john maclean
2006-07-27 15:50 ` Kevin Rodgers
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=DNEMKBNJBGPAOPIJOOICCEABDIAA.drew.adams@oracle.com \
--to=drew.adams@oracle.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).