From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: command/key to insert word at point in minibuffer Date: Fri, 16 Oct 2009 20:31:30 -0700 Message-ID: <844F207DACFF45D28A0C184B98CE1DFD@us.oracle.com> 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 1255750357 22050 80.91.229.12 (17 Oct 2009 03:32:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 17 Oct 2009 03:32:37 +0000 (UTC) To: "'LanX'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Oct 17 05:32:27 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 1Mz01p-0006vr-VR for geh-help-gnu-emacs@m.gmane.org; Sat, 17 Oct 2009 05:32:26 +0200 Original-Received: from localhost ([127.0.0.1]:39823 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mz01p-0007pV-Fy for geh-help-gnu-emacs@m.gmane.org; Fri, 16 Oct 2009 23:32:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mz01S-0007mx-P1 for help-gnu-emacs@gnu.org; Fri, 16 Oct 2009 23:32:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mz01N-0007kV-Mz for help-gnu-emacs@gnu.org; Fri, 16 Oct 2009 23:32:01 -0400 Original-Received: from [199.232.76.173] (port=42881 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mz01N-0007kP-II for help-gnu-emacs@gnu.org; Fri, 16 Oct 2009 23:31:57 -0400 Original-Received: from rcsinet11.oracle.com ([148.87.113.123]:57349 helo=rgminet11.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mz01N-0006z5-6L for help-gnu-emacs@gnu.org; Fri, 16 Oct 2009 23:31:57 -0400 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rgminet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n9H3XBoR006650 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 17 Oct 2009 03:33:12 GMT Original-Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by acsinet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n9H3LUQL022981; Sat, 17 Oct 2009 03:32:53 GMT Original-Received: from abhmt016.oracle.com by acsmt353.oracle.com with ESMTP id 20460018971255750294; Fri, 16 Oct 2009 20:31:34 -0700 Original-Received: from dradamslap1 (/24.5.184.158) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 16 Oct 2009 20:31:34 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AcpO0zeElS5UpvlfQhasI9oqL9yjxgABuVQQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Source-IP: acsmt358.oracle.com [141.146.40.158] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090201.4AD93AA6.0088:SCFMA4539814,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) 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:69051 Archived-At: > 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