all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* command/key to insert word at point in minibuffer
@ 2009-10-17  1:48 LanX
  2009-10-17  3:31 ` Drew Adams
  0 siblings, 1 reply; 2+ messages in thread
From: LanX @ 2009-10-17  1:48 UTC (permalink / raw)
  To: help-gnu-emacs

Hi

This is more kind of  a usability interface question, I find it hard
to remember all the different methods  to capture the word-at-point
when I need it as a parameter in the minibuffer.

For instance instead of C-x C-f I have to type M-x ffap and so on.

Using incremental search I have the possibility to use C-w after C-s,
BUT it only inserts the rest of the word from the point onward.

Is it possible to define a general keybinding which always inserts the
whole word-at-point from the last buffer from where I invoked the
minibuffer?

It would be much easier just to remember this one command and I often
already automatically invoked C-x C-f when I find out that ffap would
have been smarter.

With this command I wouldn't always need to leave again with C-g and
start M-x ffap.

any help appreciated

cheers
  rolf


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

* RE: command/key to insert word at point in minibuffer
  2009-10-17  1:48 command/key to insert word at point in minibuffer LanX
@ 2009-10-17  3:31 ` Drew Adams
  0 siblings, 0 replies; 2+ messages in thread
From: Drew Adams @ 2009-10-17  3:31 UTC (permalink / raw)
  To: 'LanX', help-gnu-emacs

> This is more kind of  a usability interface question, I find it hard
> to remember all the different methods  to capture the word-at-point
> when I need it as a parameter in the minibuffer.
> 
> For instance instead of C-x C-f I have to type M-x ffap and so on.
> 
> Using incremental search I have the possibility to use C-w after C-s,
> BUT it only inserts the rest of the word from the point onward.
> 
> Is it possible to define a general keybinding which always inserts the
> whole word-at-point from the last buffer from where I invoked the
> minibuffer?
> 
> It would be much easier just to remember this one command and I often
> already automatically invoked C-x C-f when I find out that ffap would
> have been smarter.
> 
> With this command I wouldn't always need to leave again with C-g and
> start M-x ffap.
> any help appreciated


http://www.emacswiki.org/emacs/Icicles_-_Inserting_Text_from_Cursor





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

end of thread, other threads:[~2009-10-17  3:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-17  1:48 command/key to insert word at point in minibuffer LanX
2009-10-17  3:31 ` Drew Adams

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.