Path: utzoo!utgpu!watmath!uunet!cs.utexas.edu!mailrus!cornell!rochester!quiroz From: quiroz@cs.rochester.edu (Cesar Quiroz) Newsgroups: gnu.emacs.bug Subject: Completion and environment variables don't cooperate Message-ID: <1989Sep21.191411.3071@cs.rochester.edu> Date: 21 Sep 89 19:14:11 GMT Reply-To: quiroz@cs.rochester.edu (Cesar Quiroz) Organization: U of Rochester, Dept. of Computer Science, Rochester, NY 14627 Lines: 32 This affects 18.54 and 18.55 at least, but I am sure it was there long before them. Suspect is minibuffer-complete-word. When asked to complete a filename that contains environment variables, it reduces the entire filename to "/". TO REPEAT: I assume you have a $HOME/.emacs. Activate the minibuffer of a freshly started `emacs -q' by doing C-xC-fC-aC-k Your minibuffer shows "Find file:[] ". Now type $HOME/.emacs Now, if you type TAB, the completion will succeed in giving you the filename you expected. However, if you type SPC, the filename will be replaced by a /. WORKAROUND: Until fixed, use TAB for completions in the minibuffer, never SPC. -- Cesar Augusto Quiroz Gonzalez Department of Computer Science University of Rochester Rochester, NY 14627