emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#52339: closed (26.3; Doc of functions that accept file-name args: sa


From: GNU bug Tracking System
Subject: bug#52339: closed (26.3; Doc of functions that accept file-name args: say whether absolute)
Date: Tue, 07 Dec 2021 13:02:01 +0000

Your message dated Tue, 07 Dec 2021 15:01:26 +0200
with message-id <83o85szhzt.fsf@gnu.org>
and subject line Re: bug#52339: 26.3; Doc of functions that accept file-name 
args: say whether absolute
has caused the debbugs.gnu.org bug report #52339,
regarding 26.3; Doc of functions that accept file-name args: say whether 
absolute
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
52339: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=52339
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: 26.3; Doc of functions that accept file-name args: say whether absolute Date: Mon, 6 Dec 2021 22:26:46 +0000
This report is about the doc strings and the doc in the Elisp manual for
functions that accept file-name args.

Please say, somewhere (preferably in each relevant node, since someone
might not start reading in node `Information about Files'), about the
file-name arg for a function documented in the node, whether the name
must be absolute or relative (e.g. to `default-directory') or can be
either.  Similarly, for the doc strings of such functions.

E.g. function `file-exists-p' itself expands its arg relative to
`default-directory', if the arg isn't an absolute name.  This isn't
obvious.

In GNU Emacs 26.3 (build 1, x86_64-w64-mingw32)
 of 2019-08-29
Repository revision: 96dd0196c28bc36779584e47fffcca433c9309cd
Windowing system distributor `Microsoft Corp.', version 10.0.19042
Configured using:
 `configure --without-dbus --host=x86_64-w64-mingw32
 --without-compress-install 'CFLAGS=-O2 -static -g3''




--- End Message ---
--- Begin Message --- Subject: Re: bug#52339: 26.3; Doc of functions that accept file-name args: say whether absolute Date: Tue, 07 Dec 2021 15:01:26 +0200
> From: Drew Adams <drew.adams@oracle.com>
> Date: Mon, 6 Dec 2021 22:26:46 +0000
> 
> This report is about the doc strings and the doc in the Elisp manual for
> functions that accept file-name args.
> 
> Please say, somewhere (preferably in each relevant node, since someone
> might not start reading in node `Information about Files'), about the
> file-name arg for a function documented in the node, whether the name
> must be absolute or relative (e.g. to `default-directory') or can be
> either.  Similarly, for the doc strings of such functions.
> 
> E.g. function `file-exists-p' itself expands its arg relative to
> `default-directory', if the arg isn't an absolute name.  This isn't
> obvious.

It should be obvious, because anything else would be a terrible bug,
as should be clear if you consider the alternatives.  Which is why
Emacs does that in _all_ APIs that accept file names.

Closing.


--- End Message ---

reply via email to

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