From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.help Subject: Re: Searching for word under cursor Date: 26 Aug 2009 06:28:54 GMT Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1251268853 24551 80.91.229.12 (26 Aug 2009 06:40:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 26 Aug 2009 06:40:53 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 26 08:40:46 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MgCBa-0007Gl-Op for geh-help-gnu-emacs@m.gmane.org; Wed, 26 Aug 2009 08:40:46 +0200 Original-Received: from localhost ([127.0.0.1]:45150 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MgCBa-0001Kg-3X for geh-help-gnu-emacs@m.gmane.org; Wed, 26 Aug 2009 02:40:46 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 20 Original-X-Trace: individual.net iyHXVA00fGFQs7V64hDMHgrgwj8f/o4FX84/gMN05il1weXlgA Cancel-Lock: sha1:+OZuu7Ru0VNl40zyVVI+gahe7xs= Mail-Copies-To: nobody X-Editor: Emacs of course! User-Agent: slrn/0.9.9 (Linux) Original-Xref: news.stanford.edu gnu.emacs.help:172403 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:67544 Archived-At: 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)