* find-file and filename containing '~'
@ 2005-11-18 8:22 Heinz Rommerskirchen
2005-11-18 8:55 ` Katsumi Yamaoka
0 siblings, 1 reply; 3+ messages in thread
From: Heinz Rommerskirchen @ 2005-11-18 8:22 UTC (permalink / raw)
After a download with wget I got the file
~/tmp/itre.cis.upenn.edu/~myl/languagelog/archives/002654.html on my
hard disk. Trying to open this with find-file I didn't succeed because
of the '~' in the middle of the name. No way of escaping I cold think
of worked. I tried escaping with \ and C-Q, quoting with ' and " and,
as described in the info-file, /: in front of the whole filename and
inserted in the filename in front of the offending ~myl. Only by using
dired I could get at the file.
emacs -q --no-site-file didn't help either.
Is this my stupidity, a bug/missing feature in emacs, or a missing
description in the info file?
This is with
"GNU Emacs 21.3.1 (i386-msvc-nt5.0.2195) of 2003-03-28 on buffy",
running under "Microsoft Windows 2000 (Service Pack 4)"
--
Regards
Heinz
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: find-file and filename containing '~'
2005-11-18 8:22 find-file and filename containing '~' Heinz Rommerskirchen
@ 2005-11-18 8:55 ` Katsumi Yamaoka
2005-11-18 9:35 ` Heinz Rommerskirchen
0 siblings, 1 reply; 3+ messages in thread
From: Katsumi Yamaoka @ 2005-11-18 8:55 UTC (permalink / raw)
>>>>> In <u3blubc1f.fsf@siemens.com> Heinz Rommerskirchen wrote:
> After a download with wget I got the file
> ~/tmp/itre.cis.upenn.edu/~myl/languagelog/archives/002654.html on my
> hard disk. Trying to open this with find-file I didn't succeed because
> of the '~' in the middle of the name. No way of escaping I cold think
> of worked. I tried escaping with \ and C-Q, quoting with ' and " and,
> as described in the info-file, /: in front of the whole filename and
> inserted in the filename in front of the offending ~myl. Only by using
> dired I could get at the file.
> emacs -q --no-site-file didn't help either.
> Is this my stupidity, a bug/missing feature in emacs, or a missing
> description in the info file?
> This is with
> "GNU Emacs 21.3.1 (i386-msvc-nt5.0.2195) of 2003-03-28 on buffy",
> running under "Microsoft Windows 2000 (Service Pack 4)"
Try:
C-x C-f ~/tmp/itre.cis.upenn.edu/ RET
C-x C-f ~/tmp/itre.cis.upenn.edu/~myl/languagelog/archives/002654.html RET
This seems to have been fixed in Emacs 22.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: find-file and filename containing '~'
2005-11-18 8:55 ` Katsumi Yamaoka
@ 2005-11-18 9:35 ` Heinz Rommerskirchen
0 siblings, 0 replies; 3+ messages in thread
From: Heinz Rommerskirchen @ 2005-11-18 9:35 UTC (permalink / raw)
Katsumi Yamaoka <yamaoka@jpl.org> writes:
> >>>>> In <u3blubc1f.fsf@siemens.com> Heinz Rommerskirchen wrote:
>
> > After a download with wget I got the file
> > ~/tmp/itre.cis.upenn.edu/~myl/languagelog/archives/002654.html on my
> > hard disk. Trying to open this with find-file I didn't succeed because
> > of the '~' in the middle of the name. No way of escaping I cold think
> > of worked. I tried escaping with \ and C-Q, quoting with ' and " and,
> > as described in the info-file, /: in front of the whole filename and
> > inserted in the filename in front of the offending ~myl. Only by using
> > dired I could get at the file.
>
snip
>
> Try:
>
> C-x C-f ~/tmp/itre.cis.upenn.edu/ RET
> C-x C-f ~/tmp/itre.cis.upenn.edu/~myl/languagelog/archives/002654.html RET
>
> This seems to have been fixed in Emacs 22.
This works, *if* I do not use completion in the minibuffer.
Thanks!
--
Regards
Heinz
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-11-18 9:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-18 8:22 find-file and filename containing '~' Heinz Rommerskirchen
2005-11-18 8:55 ` Katsumi Yamaoka
2005-11-18 9:35 ` Heinz Rommerskirchen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).