Mail Archives: djgpp/1998/04/05/12:03:41
On Sun, 5 Apr 1998, Michael R Weholt wrote:
> I'm trying to open a file that is in a directory that has a leading
> tilde. For example, I'm trying to get into:
>
> f:/Apache/htdocs/~dirname
>
> bash gets there OK. But emacs is refusing to take the tilde literally.
Tilde is special in file names: "~foo" means the home directory of
user named `foo'. This is usually a feature of a shell, but Emacs
emulates it as well. You want to turn this feature off, which isn't
easy.
There is no simple work-around for this problem in Emacs 19.34. One
way is to use `dired' on the parent directory, like this:
`C-x d f:/Apache/htdocs RET'
then choose `~dirname' from the directory display. This works for me.
Emacs 20 doesn't have this problem anymore, but solving it in Emacs 19
requires extensive changes to the file-handling code.
- Raw text -