all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: cfelton <chris.felton@gmail.com>
To: Help-gnu-emacs@gnu.org
Subject: Re: How to search current word under cursor?
Date: Fri, 18 Jul 2008 06:13:39 -0700 (PDT)	[thread overview]
Message-ID: <18528933.post@talk.nabble.com> (raw)
In-Reply-To: <87k68kn998.fsf@tallis.ilo.ucl.ac.uk>


How do you extend this to the occur function?  I have a key binding mapped to
the occur function, and I would like the word at the cursor (compete word
foo_bar, not just foo) to be the default search when invoked?

Thanks 


bastien-3 wrote:
> 
> Jijun MA <jjmmma@gmail.com> writes:
> 
>> I want search this buffer of current word under cursor, how can I do
>> it?
> 
> C-s C-w
> 
> -- 
> Bastien
> _______________________________________________
> help-gnu-emacs mailing list
> help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-search-current-word-under-cursor--tp4429652p18528933.html
Sent from the Emacs - Help mailing list archive at Nabble.com.





  reply	other threads:[~2008-07-18 13:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-17 12:01 How to search current word under cursor? Jijun MA
2006-05-17 12:09 ` Bastien
2008-07-18 13:13   ` cfelton [this message]
2008-07-19 16:24     ` Drew Adams
     [not found]   ` <mailman.15011.1216429238.18990.help-gnu-emacs@gnu.org>
2008-07-19 19:27     ` Andreas Politz
2006-05-17 13:43 ` 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18528933.post@talk.nabble.com \
    --to=chris.felton@gmail.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.