all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Searching for word under cursor
@ 2009-08-25 20:09 Farhan Ahmed
  2009-08-25 22:47 ` Bernardo
       [not found] ` <mailman.5369.1251240801.2239.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 4+ messages in thread
From: Farhan Ahmed @ 2009-08-25 20:09 UTC (permalink / raw)
  To: help-gnu-emacs

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.

Thanks,

Farhan





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Searching for word under cursor
  2009-08-25 20:09 Farhan Ahmed
@ 2009-08-25 22:47 ` Bernardo
       [not found] ` <mailman.5369.1251240801.2239.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 4+ messages in thread
From: Bernardo @ 2009-08-25 22:47 UTC (permalink / raw)
  To: help-gnu-emacs


> 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




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Searching for word under cursor
       [not found] ` <mailman.5369.1251240801.2239.help-gnu-emacs@gnu.org>
@ 2009-08-26  6:28   ` Joost Kremers
  0 siblings, 0 replies; 4+ messages in thread
From: Joost Kremers @ 2009-08-26  6:28 UTC (permalink / raw)
  To: help-gnu-emacs

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)


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Searching for word under cursor
       [not found] <mailman.5360.1251240258.2239.help-gnu-emacs@gnu.org>
@ 2009-08-27  4:30 ` Elena
  0 siblings, 0 replies; 4+ messages in thread
From: Elena @ 2009-08-27  4:30 UTC (permalink / raw)
  To: help-gnu-emacs

On 25 Ago, 22:09, "Farhan Ahmed" <far...@alienfluid.com> 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.
>
> Thanks,
>
> Farhan

http://www.emacswiki.org/emacs/HighlightSymbol


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-08-27  4:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.5360.1251240258.2239.help-gnu-emacs@gnu.org>
2009-08-27  4:30 ` Searching for word under cursor Elena
2009-08-25 20:09 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

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.