From: Joost Kremers <joostkremers@yahoo.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Searching for word under cursor
Date: 26 Aug 2009 06:28:54 GMT [thread overview]
Message-ID: <slrnh99lf3.fjr.joostkremers@j.kremers4.news.arnhem.chello.nl> (raw)
In-Reply-To: mailman.5369.1251240801.2239.help-gnu-emacs@gnu.org
Bernardo wrote:
>
>> Is there a command to invoke a search for the word currently under the
>> cursor?
>>
>> It'll be helpful in finding other instances of a token I am currently at.
>
> C-s C-w C-s
this actually yanks text from the cursor position to the first non-word
character, so if you want to search the entire word you're on, you have to put
the cursor on the first character.
btw: C-s C-h brings up a help function for incremental search.
--
Joost Kremers joostkremers@yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)
next prev parent reply other threads:[~2009-08-26 6:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-25 20:09 Searching for word under cursor Farhan Ahmed
2009-08-25 22:47 ` Bernardo
[not found] ` <mailman.5369.1251240801.2239.help-gnu-emacs@gnu.org>
2009-08-26 6:28 ` Joost Kremers [this message]
[not found] <mailman.5360.1251240258.2239.help-gnu-emacs@gnu.org>
2009-08-27 4:30 ` Elena
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=slrnh99lf3.fjr.joostkremers@j.kremers4.news.arnhem.chello.nl \
--to=joostkremers@yahoo.com \
--cc=help-gnu-emacs@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 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.