[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: `file-relative-name' for compressed files

From: Kai Grossjohann
Subject: Re: `file-relative-name' for compressed files
Date: Sun, 27 Jun 2004 22:53:41 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

Emilio Lopes <eclig(usenet-20040627)@gmx.net> writes:

> It just occured to me that a predicate, such as `file-remote-p',
> normally returns either `t' or `nil'. Is that right? Maybe one
> should introduce a new function (`file-name-remote-part' e.g.),
> as Michael Albinus has suggested. This would match better the
> other file name component functions (`file-name-directory' and
> friends).

Strictly speaking, that is correct.  But I'm not surprised about
Richard's suggestion, so I'm sure I've seen similar behavior
elsewhere.  Alas, a quick M-x apropos RET -p$ RET didn't yield any
good example.  So except for my vague memory, there is nothing I can
point to.

> I myself would never expect `file-remote-p' to return any
> useful information...

Why is it there, then? ;-)

SCNR, this nit just needed to be picked.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]