home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: alt.lucid-emacs.bug
- Path: sparky!uunet!stanford.edu!CSD-NewsHost.Stanford.EDU!CSD-Newshost!me
- From: me@Sunburn.Stanford.EDU (Martin Frost)
- Subject: fnexpand.el under 19.4
- Message-ID: <ME.93Jan23172123@Sunburn.Stanford.EDU>
- Sender: news@CSD-NewsHost.Stanford.EDU
- Reply-To: me@CS.Stanford.EDU
- Organization: Computer Science Dept., Stanford University
- Distribution: alt
- Date: 23 Jan 93 17:21:23
- Lines: 50
-
- I've been using fnexpand.el from
-
- ;; Written by eirik@theory.tn.cornell.edu and trost@reed.edu
- ;; Original idea by karl@cs.umb.edu
-
- for some time for filename completion in emacs shell buffers. It's great.
- It even works unaltered with Lucid Emacs.
-
- But in 19.4, I've started seeing a new undesirable result in completion,
- and I'd like to know if anyone has a fix for this to restore the old
- effects.
-
- The problem is that when I complete a relative filename with TAB in a 19.4
- shell window, Emacs converts the relative filename to an absolute filename,
- filling in all the leading directory names. In 19.3 and 18.58, the
- relative filename is simply completed.
-
- For example, if I say, in a 19.4 shell window:
-
- cd /etc
- ls -l reso<TAB>
-
- the current shell input line changes to say
-
- ls -l /etc/resolv.conf
-
- instead of just
-
- ls -l resolv.conf
-
- This is particularly undesirable when I'm trying to create a relative
- symbolic link to an existing file in the current directory. I don't want
- an absolute link. But in general, when the absolute pathname is long, this
- new result makes things much harder to read in the shell window.
-
- By the way, if I say
-
- ls -l ./reso<TAB>
-
- then the filename is kept relative (to .) after expansion:
-
- ls -l ./resolv.conf
-
- But I just as soon not have to type ./ all the time.
-
- This is with the precompiled 19.4 binaries on a Sun 4/490 running SunOS 4.1.2.
- --
- Martin Frost Computer Science Department, Computer Facilities
- Systems Programmer Stanford University, Stanford, CA 94305-2140
- me@CS.Stanford.EDU (or mfrost@stanford.bitnet)
-