[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compiling remote rst files
From: |
Kai Grossjohann |
Subject: |
Re: compiling remote rst files |
Date: |
Thu, 11 Jan 2007 10:21:13 +0100 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.91 (gnu/linux) |
Michael Albinus <address@hidden> writes:
> [...] That is correct, but for "/ssh:address@hidden:/" the upper directory
> is "/ssh:address@hidden:/" again. The stop condition (string= "/" dir)
> does not match in case of remote files. [...]
>
> I fear, Tramp cannot solve the problem; rst.el must take remote files
> into account.
rst.el could stop when X and (directory-file-name (file-name-directory
(directory-file-name X))) are equal. That would work whether the
"root" directory is "/" or "C:/" (say) or "/ssh:foo:/".
What do people think?
Kai
PS: I hope I got the nesting of directory-file-name and
file-name-directory right.
PPS: What does Emacs on Windows really do for directories such as C:\
and D:\?