unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Klaus Berndl <klaus.berndl@sdm.de>
Subject: Re: Looking for a package filename expansion in a buffer (ala dabbrev)
Date: 06 May 2003 09:34:02 +0200	[thread overview]
Message-ID: <ubrygbkb9.fsf@sdm.de> (raw)
In-Reply-To: 2bd747c7.0305050849.497d36e1@posting.google.com

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<KEY>
>  
>  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

      parent reply	other threads:[~2003-05-06  7:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-05 16:49 Looking for a package filename expansion in a buffer (ala dabbrev) bigfaceworm
2003-05-05 17:13 ` Edward O'Connor
2003-05-05 17:53 ` Martin Lorentzson
2003-05-06  7:34 ` Klaus Berndl [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ubrygbkb9.fsf@sdm.de \
    --to=klaus.berndl@sdm.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).