help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Looking for a package filename expansion in a buffer (ala dabbrev)


From: Edward O'Connor
Subject: Re: Looking for a package filename expansion in a buffer (ala dabbrev)
Date: Mon, 05 May 2003 10:13:49 -0700
User-agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.3 (berkeley-unix)

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

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]