From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: LanX Newsgroups: gmane.emacs.help Subject: command/key to insert word at point in minibuffer Date: Fri, 16 Oct 2009 18:48:49 -0700 (PDT) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1255747257 16758 80.91.229.12 (17 Oct 2009 02:40:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 17 Oct 2009 02:40:57 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Oct 17 04:40:48 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 1MyzDr-0001Pp-Qz for geh-help-gnu-emacs@m.gmane.org; Sat, 17 Oct 2009 04:40:48 +0200 Original-Received: from localhost ([127.0.0.1]:36593 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MyzDr-0005h0-Em for geh-help-gnu-emacs@m.gmane.org; Fri, 16 Oct 2009 22:40:47 -0400 Original-Path: news.stanford.edu!usenet.stanford.edu!postnews.google.com!y21g2000yqn.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Original-NNTP-Posting-Host: 84.59.67.209 Original-X-Trace: posting.google.com 1255744129 19608 127.0.0.1 (17 Oct 2009 01:48:49 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sat, 17 Oct 2009 01:48:49 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: y21g2000yqn.googlegroups.com; posting-host=84.59.67.209; posting-account=W9fpQwoAAADZYmkl-8sXk1VPxG3rq-Pd User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.0.14) Gecko/2009090216 Ubuntu/8.10 (intrepid) Firefox/3.0.14, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:173963 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:69048 Archived-At: 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