From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Klaus Berndl Newsgroups: gmane.emacs.help Subject: Re: Looking for a package filename expansion in a buffer (ala dabbrev) Date: 06 May 2003 09:34:02 +0200 Organization: sd&m AG, Muenchen, Germany 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=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1052206967 30132 80.91.224.249 (6 May 2003 07:42:47 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 6 May 2003 07:42:47 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Tue May 06 09:42:45 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 19Cx64-0007pf-00 for ; Tue, 06 May 2003 09:42:44 +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 19Cx3x-0006Ll-00 for gnu-help-gnu-emacs@m.gmane.org; Tue, 06 May 2003 03:40:33 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!lnewspeer01.lnd.ops.eu.uu.net!emea.uu.net!news.sdm.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 38 Original-NNTP-Posting-Host: sachrang.muc.sdm.de Original-X-Trace: solti3.muc.sdm.de 1052206444 14803 193.102.181.185 (6 May 2003 07:34:04 GMT) Original-X-Complaints-To: usenet@news.sdm.de Original-NNTP-Posting-Date: 6 May 2003 07:34:04 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-Xref: shelby.stanford.edu gnu.emacs.help:112824 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:9319 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:9319 On 5 May 2003, bigfaceworm@hotmail.com wrote: > All, > > I'm sure someone has written this, but my google searches have turned > up nothing. > > 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. > > Just trying not to re-invent the wheel. Not necessary...try hippie-expand (hippie-exp.el) which is part of Emacs. See option `hippie-expand-try-functions-list'...AFAIK the default value of this option contains already what you want (functions `try-complete-file-name-partially' and 'try-complete-file-name') Klaus > > tia, > > BFW -- Klaus Berndl mailto: klaus.berndl@sdm.de sd&m AG http://www.sdm.de software design & management Thomas-Dehler-Str. 27, 81737 München, Germany Tel +49 89 63812-392, Fax -220