GNU bug report logs - #54191
26.3; (elisp) `Magic File Names' FILENAME parameters: absolute names?

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Sun, 27 Feb 2022 22:22:01 UTC

Severity: normal

Found in version 26.3

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 54191 <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: Drew Adams <drew.adams <at> oracle.com>, "54191 <at> debbugs.gnu.org"
 <54191 <at> debbugs.gnu.org>
Subject: RE: 26.3; (elisp) `Magic File Names' FILENAME parameters: absolute
 names?
Date: Sun, 27 Feb 2022 22:42:39 +0000
OK, I see that the doc string of `file-remote-p' -
but NOT its description in the Elisp manual - does
at least call out what happens if the arg FILE is
a relative file name: the function just returns nil.

That doesn't invalidate the rest of what this bug
report says.  Each function's description should say
what kind of file-name argument it expects, and if
it handles both relative and absolute file names,
how it does so - how it treats each kind.

Users shouldn't have to search the Elisp code base
to try to figure out whether they might need to
apply `expand-file-name' to a file name before
passing it to some function.





This bug report was last modified 3 years and 77 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.