From: Nikolaj Schumacher <n_schumacher@web.de>
To: help-gnu-emacs@gnu.org
Cc: Rafal Kurcz <pawlaczus@yahoo.com>
Subject: Re: Search waht is under the cursor
Date: Mon, 30 Jul 2007 12:45:39 +0200 [thread overview]
Message-ID: <m2r6mqw4oc.fsf@nschum.de> (raw)
In-Reply-To: <1185787814.921291.184680@w3g2000hsg.googlegroups.com> (Rafal Kurcz's message of "Mon\, 30 Jul 2007 02\:30\:14 -0700")
Rafal Kurcz <pawlaczus@yahoo.com> wrote:
> I would like to search the string that is currently under the cursor.
> It should do something very similar to C-s and C-r but take the string
> that is currently under the cursor as a default search pattern.
>
> Do you know how to do that ?
Depends on what you mean by "string" and by "under the cursor".
After pressing C-s, you can use C-w to insert the word(s) after the
cursor.
If you're searching for the symbol at point, you can jump to the next
location with my highlight-symbol-mode[1].
For something else, you could dig through this:
http://www.emacswiki.org/cgi-bin/emacs-en/SearchAtPoint
regards,
Nikolaj Schumacher
[1]: http://nschum.de/src/emacs/highlight-symbol/
next prev parent reply other threads:[~2007-07-30 10:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-30 9:30 Search waht is under the cursor Rafal Kurcz
2007-07-30 9:46 ` Harald Hanche-Olsen
2007-07-30 9:49 ` Nick Roberts
2007-07-30 10:45 ` Nikolaj Schumacher [this message]
2007-07-30 10:49 ` Peter Dyballa
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=m2r6mqw4oc.fsf@nschum.de \
--to=n_schumacher@web.de \
--cc=help-gnu-emacs@gnu.org \
--cc=pawlaczus@yahoo.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).