[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ~dir
From: |
David desJardins |
Subject: |
Re: ~dir |
Date: |
03 Feb 2002 12:23:45 -0800 |
Devon Sean McCullough <devon@ai.mit.edu> writes:
>> Directory names beginning with ~ are broken.
>> One might claim such names are pathological,
>> all the more reason to handle them properly.
>> Emacs 21.1 also has this bug.
Eli Zaretskii <eliz@is.elta.co.il> writes:
> The manual explains in section "Quoted File Names" that you should
> use "/:" before the file name to disable the usual magic meaning of
> the leading `~' character.
>
> The ~-expansion is a feature, of course.
It seems to me that you didn't understand the bug report. The bug is
that creating the file "~/~x/y" doesn't work *even if* there is no user
"x" and so "~x" has no special meaning.
Note that these all work correctly:
/~x
~/~x
~/~x/
Also, it's possible to visit the file
~/~x/y
*if* it already exists. However, visiting the file won't create it if
it doesn't already exist.
This seems obviously a bug to me.
David desJardins
- ~dir, Devon Sean McCullough, 2002/02/03
- Re: ~dir, Eli Zaretskii, 2002/02/03
- Re: ~dir,
David desJardins <=
- ~dir, Devon Sean McCullough, 2002/02/03