From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.devel Subject: Re: key to yank text at point into minibuffer? Date: Mon, 13 Feb 2006 14:39:58 -0700 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1139866887 10671 80.91.229.2 (13 Feb 2006 21:41:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 13 Feb 2006 21:41:27 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 13 22:41:27 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 1F8lRa-0006BH-Nd for ged-emacs-devel@m.gmane.org; Mon, 13 Feb 2006 22:41:15 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F8lRa-0003kz-E1 for ged-emacs-devel@m.gmane.org; Mon, 13 Feb 2006 16:41:14 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F8lR8-0003f9-PN for emacs-devel@gnu.org; Mon, 13 Feb 2006 16:40:46 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F8lR7-0003eM-UE for emacs-devel@gnu.org; Mon, 13 Feb 2006 16:40:46 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F8lR7-0003e3-Mm for emacs-devel@gnu.org; Mon, 13 Feb 2006 16:40:45 -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 1F8lVe-0003GK-00 for emacs-devel@gnu.org; Mon, 13 Feb 2006 16:45:26 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1F8lQk-0005zH-Oj for emacs-devel@gnu.org; Mon, 13 Feb 2006 22:40:22 +0100 Original-Received: from 207.167.42.60 ([207.167.42.60]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Feb 2006 22:40:22 +0100 Original-Received: from ihs_4664 by 207.167.42.60 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Feb 2006 22:40:22 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 60 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 207.167.42.60 User-Agent: Mozilla Thunderbird 0.9 (X11/20041105) X-Accept-Language: en-us, en In-Reply-To: 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:50486 Archived-At: Drew Adams wrote: > > I tried ffap.el for a while and found I didn't care much for it. In > > particular, in Dired I rarely want to use the file name at > > point when I use `C-x f' - if I want that then I just use `RET'. > > Anyway, if people find ffap.el handy that's fine. I realize that it > > also does other things, including mailto: prefixing and remote-file > > handling. > > (define-key dired-mode-map "\C-x\C-f" 'find-file) ; override > ; ffap-bindings > > Well, that wasn't the real point of my posting, but yes, that would do the > trick for `C-x C-f' in Dired. However, ffap.el does a lot more in Dired, and > there are other such bindings to override. ffap.el itself says: ;; For the default installation, add this line to your .emacs file: ;; ;; (ffap-bindings) ; do default key bindings ;; ;; ffap-bindings makes the following global key bindings: ;; ;; C-x C-f find-file-at-point (abbreviated as ffap) ;; C-x C-r ffap-read-only ;; C-x C-v ffap-alternate-file ;; ;; C-x d dired-at-point ;; C-x C-d ffap-list-directory ;; ;; C-x 4 f ffap-other-window ;; C-x 4 r ffap-read-only-other-window ;; C-x 4 d ffap-dired-other-window ;; ;; C-x 5 f ffap-other-frame ;; C-x 5 r ffap-read-only-other-frame ;; C-x 5 d ffap-dired-other-frame ;; ;; S-mouse-3 ffap-at-mouse ;; C-S-mouse-3 ffap-menu ;; ;; ffap-bindings also adds hooks to make the following local bindings ;; in vm, gnus, and rmail: ;; ;; M-l ffap-next, or ffap-gnus-next in gnus (l == "link") ;; M-m ffap-menu, or ffap-gnus-menu in gnus (m == "menu") ;; ;; If you do not like these bindings, modify the variable ;; `ffap-bindings', or write your own. That last part is muy importante. > I no longer use ffap.el, but when I did, I added an option to inhibit it, > and set the option as a local variable when in Dired mode. That might be > overkill, but it accomplished what I wanted. I think that would be a userful feature. -- Kevin Rodgers