home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / emacs / 3852 < prev    next >
Encoding:
Internet Message Format  |  1992-12-22  |  1.7 KB

  1. Path: 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
  2. From: kgallagh@digi.lonestar.org (Kevin Gallagher)
  3. Newsgroups: comp.emacs
  4. Subject: Re: Environment variable expansion bug in file name completion
  5. Message-ID: <1992Dec22.222134.17221@digi.lonestar.org>
  6. Date: 22 Dec 92 22:21:34 GMT
  7. References: <cdCB02Hq2fmj01@JUTS.ccc.amdahl.com>
  8. Organization: DSC Communications Corp, Plano, TX
  9. Lines: 37
  10.  
  11. In article <cdCB02Hq2fmj01@JUTS.ccc.amdahl.com> tlp00@ras.amdahl.com writes:
  12. >if i do a C-x C-f (M-x find-file) and type: 
  13. >
  14. >  Find file: $SRC<space>
  15. >
  16. >i would expect to see (assuming "setenv SRC /usr/project/src"):
  17. >
  18. >  Find file: /usr/project/src/
  19. >
  20. >but instead i get:
  21. >
  22. >  Find file: /
  23. >
  24. >BUT if i do:
  25. >  
  26. >   Find file: $SRC/foo.c
  27. >
  28. >All works fine, i edit file /usr/project/src/foo.c
  29. >
  30. >So, substitute-in-file-name works ok but somewhere something is getting clipped.
  31. >Any ideas....   i'm seeing this with 18.55.
  32.  
  33. Try the following:
  34.  
  35.         Find File: $SRC<tab><space>
  36.  
  37. In the minibuffer, TAB is bound to minibuffer-complete and SPACE is bound to
  38. minibuffer-complete-word.  These are both native functions defined in the C
  39. source code to GNU Emacs.  It appears that minibuffer-complete-word is broken
  40. while minibuffer-complete is not.  I don't think substitute-in-file-name is
  41. involved here.
  42.  
  43. -- 
  44. ----------------------------------------------------------------------------
  45. Kevin Gallagher        kgallagh@digi.lonestar.org OR ...!uunet!digi!kgallagh
  46. DSC Communications Corporation   Addr: MS 152, 1000 Coit Rd, Plano, TX 75075
  47. ----------------------------------------------------------------------------
  48.