Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!gem.mps.ohio-state.edu!ginosko!uunet!bu-cs!jbw From: jbw@bucsf.bu.edu (Joe Wells) Newsgroups: gnu.emacs.bug Subject: Re: expand-file-name tilde problem Message-ID: <38487@bu-cs.BU.EDU> Date: 19 Sep 89 23:52:42 GMT References: Sender: daemon@bu-cs.BU.EDU Distribution: gnu Organization: Boston University Computer Science Department Lines: 21 In-reply-to: wjc@hoswjc.ATT.COM's message of 16 Sep 89 17:37:51 GMT In article wjc@hoswjc.ATT.COM (Bill Carpenter) writes: [GNUemacs 18.55 on sun4, sunOS 4.0.3c] As unlikely as this seems, I came across a file that had accidentally been created with a leading tilde in its name. When I tried to visit it in GNUemacs, I got a message like this: "~foo" is not a registered user I think the best solution to this is to let ~~ represent a single tilde character, similar to the way $$ is used for a single dollar sign. Perhaps the ~ expansion code should be moved into substitute-in-file-name, along with the environment variable expansion code. I have always felt that ~ expansion should only occur in interactively read filenames, and this would accomplish that. -- Joe Wells jbw%bucsf.bu.edu@bu-it.bu.edu ...!harvard!bu-cs!bucsf!jbw