[comp.emacs] completion of "words" in shell-mode in GNU-emacs

fosli@ifi.UUCP (09/10/88)

In the Unix-shell 'csh' I can enter e.g. ESC to complete a partially typed
filename or user name.

Is there anything like that in shell-mode in GNU-emacs?

-----------------------------------------------------------------------

Oystein Fosli                       snail: P.O.Box 1053, Blindern
ARPA Internet:                             University of Oslo    
  fosli%ifi.uio.no@uunet.uu.net            0316 OSLO 3
voice:+47-2-45-5973                        Norway

xspolsky%yale-zoo-suned@CS.YALE.EDU (Avram Spolsky) (09/11/88)

In article <8809101149.AA06377@blinde.uio.no> fosli@ifi.UUCP (Oystein Fosli) 
writes:
| 
| In the Unix-shell 'csh' I can enter e.g. ESC to complete a partially typed
| filename or user name.
| 

You can? that's a neat trick! how'd you get it to do that? :-)

--
Joel Spolsky             bitnet: spolsky@yalecs     uucp: ...!yale!spolsky
Yale University          arpa:   spolsky@yale.edu   voicenet: 203-436-1483

poage@sunny.UUCP (Tom Poage) (09/11/88)

In article <37561@yale-celray.yale.UUCP> spolsky%yale.edu (Joel Spolsky) writes:
>In article <8809101149.AA06377@blinde.uio.no> fosli@ifi.UUCP (Oystein Fosli) 
>writes:
>| 
>| In the Unix-shell 'csh' I can enter e.g. ESC to complete a partially typed
>| filename or user name.
>| 
>
>You can? that's a neat trick! how'd you get it to do that? :-)
>
set filec in your .cshrc file.

jcgs@harlqn.UUCP (John Sturdy) (09/20/88)

I have written something to do this (via the minibuffer). The first time you
do it in an emacs session, in reads all the directories along your shell search
path, and includes any executables it finds on its completion list. This takes
so long (a few minutes on a full system) that I hardly ever use it! But after
the first time, it is OK. If you're still interested, I'll post it.

__John (jcgs@uk.ac.harlqn)