It's a simple thing. My cursor is over a word and I want to get the word so that I can do something with it. I see a few different ways to do this but want to avoid reinvention and use a standard method.
If you want to insert the word (or anything else - file name etc.) at point into the minibuffer, when you are editing input, just use
M-., if you use Icicles.
You can use
M-. repeatedly (e.g.
M-. M-. M-.) to either:
- Cycle to a different kind of thing to grab at point, and insert it.
- Insert more (i.e., successive) things of the same type (e.g. words) from the buffer.