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


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 54191 <at> debbugs.gnu.org
Subject: bug#54191: 26.3; (elisp) `Magic File Names' FILENAME parameters: absolute names?
Date: Mon, 28 Feb 2022 15:46:50 +0200
> From: Drew Adams <drew.adams <at> oracle.com>
> Date: Sun, 27 Feb 2022 21:30:22 +0000
> 
> I check this Elisp manual node for `file-remote-p'.  I try to figure out
> just what kind of file name is expected by the function.  No clue.  Same
> thing when I check the `C-h f' help (where the arg is called FILE).
> 
> How am I to know what kind of file name needs to be passed to this
> function, e.g., whether I might need to first use `expand-file-name'?
> 
> There might be more nodes with this problem under node `Files'; dunno.
> But at least please check this node and make its occurrences of FILENAME
> parameters clear in this regard.
> ___
> 
> >From the `C-h f' help I follow the files.el link to the `file-remote-p'
> definition.  There I see that `find-file-name-handler' accepts the arg
> FILE.  So the question then becomes what kind of file name (absolute or
> not) is expected/accepted by `find-file-name-handler'.

The first paragraph of the node "Magic File Names" says:

  The principal use for this feature is in implementing access to
  remote files (*note Remote Files: (emacs)Remote Files.).

Did you follow the cross-reference?  Because there you'd find the
answer to your question, loud and clear.




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

Previous Next


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