Article View: comp.emacs
Article #3268Re: Environment variable expansion bug in file name completion
From: Kevin Gallagher
Date: Tue, 22 Dec 1992 22:21
Date: Tue, 22 Dec 1992 22:21
37 lines
1755 bytes
1755 bytes
In article <cdCB02Hq2fmj01@JUTS.ccc.amdahl.com> tlp00@ras.amdahl.com writes:
>if i do a C-x C-f (M-x find-file) and type:
>
> Find file: $SRC<space>
>
>i would expect to see (assuming "setenv SRC /usr/project/src"):
>
> Find file: /usr/project/src/
>
>but instead i get:
>
> Find file: /
>
>BUT if i do:
>
> Find file: $SRC/foo.c
>
>All works fine, i edit file /usr/project/src/foo.c
>
>So, substitute-in-file-name works ok but somewhere something is getting clipped.
>Any ideas.... i'm seeing this with 18.55.
Try the following:
Find File: $SRC<tab><space>
In the minibuffer, TAB is bound to minibuffer-complete and SPACE is bound to
minibuffer-complete-word. These are both native functions defined in the C
source code to GNU Emacs. It appears that minibuffer-complete-word is broken
while minibuffer-complete is not. I don't think substitute-in-file-name is
involved here.
--
----------------------------------------------------------------------------
Kevin Gallagher kgallagh@digi.lonestar.org OR ...!uunet!digi!kgallagh
DSC Communications Corporation Addr: MS 152, 1000 Coit Rd, Plano, TX 75075
----------------------------------------------------------------------------
Technical Details
Message-ID:
<1992Dec22.222134.17221@digi.lonestar.org>Path:
arc1-ca.pugleaf.net!sparky!uunet!gatech!darwin.sura.net!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!west.West.Sun.COM!cronkite.Central.Sun.COM!texsun!digi!kgallaghReferences:
<cdCB02Hq2fmj01@JUTS.ccc.amdahl.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!darwin.sura.net!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!west.West.Sun.COM!cronkite.Central.Sun.COM!texsun!digi!kgallagh From: kgallagh@digi.lonestar.org (Kevin Gallagher) Newsgroups: comp.emacs Subject: Re: Environment variable expansion bug in file name completion Message-ID: <1992Dec22.222134.17221@digi.lonestar.org> Date: 22 Dec 92 22:21:34 GMT References: <cdCB02Hq2fmj01@JUTS.ccc.amdahl.com> Organization: DSC Communications Corp, Plano, TX Lines: 37