From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Edward O'Connor Newsgroups: gmane.emacs.help Subject: Re: Looking for a package filename expansion in a buffer (ala dabbrev) Date: Mon, 05 May 2003 10:13:49 -0700 Organization: OEC, Jacobs School of Engineering, UCSD Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <2bd747c7.0305050849.497d36e1@posting.google.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1052155529 18978 80.91.224.249 (5 May 2003 17:25:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 5 May 2003 17:25:29 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Mon May 05 19:25:25 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19CjZI-0003b2-00 for ; Mon, 05 May 2003 19:16:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19CjYx-00078i-03 for gnu-help-gnu-emacs@m.gmane.org; Mon, 05 May 2003 13:15:39 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!hammer.uoregon.edu!enews.sgi.com!sdd.hp.com!ihnp4.ucsd.edu!news.ucsd.edu!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 39 Original-NNTP-Posting-Host: oecpc11.ucsd.edu Original-X-Trace: news1.ucsd.edu 1052154830 13875 132.239.18.171 (5 May 2003 17:13:49 GMT) Original-X-Complaints-To: usenet@news1.ucsd.edu Original-NNTP-Posting-Date: Mon, 5 May 2003 17:13:49 +0000 (UTC) X-Recharge-Stop: 05 May 2003 10:13:47 -0700 X-Recharge-Start: 05 May 2003 10:13:08 -0700 User-Agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.3 (berkeley-unix) Cancel-Lock: sha1:iGvLB2G7O2KMlWwzLZTL8sCuyT0= Original-Xref: shelby.stanford.edu gnu.emacs.help:112793 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:9288 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:9288 > I'm just looking for a package that will let me expand filenames when > I'm inside a buffer. > > e.g. I'd be typing /a/path/to > > and KEY would expand (or give me options) the path/filename > > /a/path/to/a/unique/file > > or something like that. Maybe M-x comint-dynamic-complete-filename RET does what you want? ,----[ C-h f comint-dynamic-complete-filename RET ] | comint-dynamic-complete-filename is an interactive compiled Lisp function in `comint'. | (comint-dynamic-complete-filename) | | Dynamically complete the filename at point. | Completes if after a filename. See `comint-match-partial-filename' and | `comint-dynamic-complete-as-filename'. | This function is similar to `comint-replace-by-expanded-filename', except that | it won't change parts of the filename already entered in the buffer; it just | adds completion characters to the end of the filename. A completions listing | may be shown in a help buffer if completion is ambiguous. | | Completion is dependent on the value of `comint-completion-addsuffix', | `comint-completion-recexact' and `comint-completion-fignore', and the timing of | completions listing is dependent on the value of `comint-completion-autolist'. | | Returns t if successful. `---- Ted -- Edward O'Connor oconnor@soe.ucsd.edu