From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mathias Dahl Newsgroups: gmane.emacs.devel Subject: Re: key to yank text at point into minibuffer? Date: Sun, 12 Feb 2006 15:51:08 +0100 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1139760533 22530 80.91.229.2 (12 Feb 2006 16:08:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 12 Feb 2006 16:08:53 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 12 17:08:51 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F8JmH-0002i9-Nr for ged-emacs-devel@m.gmane.org; Sun, 12 Feb 2006 17:08:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F8JmG-0008C7-PO for ged-emacs-devel@m.gmane.org; Sun, 12 Feb 2006 11:08:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F8IZa-0001Bh-D5 for emacs-devel@gnu.org; Sun, 12 Feb 2006 09:51:34 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F8IZY-00018L-I0 for emacs-devel@gnu.org; Sun, 12 Feb 2006 09:51:33 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F8IZX-000173-6M for emacs-devel@gnu.org; Sun, 12 Feb 2006 09:51:31 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1F8Idl-0007JR-Qy for emacs-devel@gnu.org; Sun, 12 Feb 2006 09:55:54 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1F8IZM-0002hk-Rn for emacs-devel@gnu.org; Sun, 12 Feb 2006 15:51:20 +0100 Original-Received: from 1-1-3-38a.gml.gbg.bostream.se ([82.182.110.147]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 12 Feb 2006 15:51:20 +0100 Original-Received: from brakjoller by 1-1-3-38a.gml.gbg.bostream.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 12 Feb 2006 15:51:20 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 22 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 1-1-3-38a.gml.gbg.bostream.se User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:l1gbSoq1rB0mrNzGQQogqdYhUTw= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:50404 Archived-At: "Drew Adams" writes: Anyway, as a poor-man's replacement for some of the ffap functionality, I added a minibuffer key (I use `M-.') to all minibuffer maps. This command just yanks the symbol name at point into the minibuffer, replacing what was there. ... Any interest in adding such a feature? I like the idea. I use C-w in isearch a lot, and this is similar. I cannot see many cases I would use it right now, but I think it would be useful when doing C-h f and when the word to the left of point is just a partial function name. For example, if point is just after `string-match' and I do C-h f I get string-match suggested as default value. That is good. Sometimes I start writing a function name but I don't know the whole name. In those cases C-h f will not help me at all, even if I have written the first characters of the function name. In that case, this M-. key would have been useful to me. I am curious, what do you use this for?