unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#12674: 24.2.50; doc of `locate-file'
@ 2012-10-18 16:28 Drew Adams
  2014-02-09  2:58 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Drew Adams @ 2012-10-18 16:28 UTC (permalink / raw)
  To: 12674

The description in the Elisp manual is fine.  The doc string is
generally OK, except for its second sentence.  This part of the second
sentence is not clear (meaningless, misleading): ", with its suffixes".
 
It's unclear what that might mean (return the absolute file name, plus a
list of its suffixes?).  But it certainly cannot mean what really
happens: the absolute file name is returned, including ONE of the
suffixes if appropriate.
 
Just say what the manual says: the absolute file name is returned:
 
 If it finds such a file, it returns the file's absolute file name;
 otherwise it returns `nil'.

In GNU Emacs 24.2.50.1 (i386-mingw-nt5.1.2600)
 of 2012-10-15 on DANI-PC
Bzr revision: 110553 monnier@iro.umontreal.ca-20121015164957-6zms5w2js1xkldtg
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
 `configure --with-gcc (4.7) --no-opt --enable-checking --cflags
 -I../../libs/libxpm-3.5.8/include -I../../libs/libxpm-3.5.8/src
 -I../../libs/libpng-1.4.10 -I../../libs/zlib-1.2.6
 -I../../libs/giflib-4.1.4-1/include -I../../libs/jpeg-6b-4/include
 -I../../libs/tiff-3.8.2-1/include
 -I../../libs/libxml2-2.7.8-w32-bin/include/libxml2
 -I../../libs/gnutls-3.0.16/include
 -I../../libs/libiconv-1.14-2-mingw32-dev/include'
 






^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#12674: 24.2.50; doc of `locate-file'
  2012-10-18 16:28 bug#12674: 24.2.50; doc of `locate-file' Drew Adams
@ 2014-02-09  2:58 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2014-02-09  2:58 UTC (permalink / raw)
  To: Drew Adams; +Cc: 12674

"Drew Adams" <drew.adams@oracle.com> writes:

> The description in the Elisp manual is fine.  The doc string is
> generally OK, except for its second sentence.  This part of the second
> sentence is not clear (meaningless, misleading): ", with its suffixes".
>
> It's unclear what that might mean (return the absolute file name, plus a
> list of its suffixes?).  But it certainly cannot mean what really
> happens: the absolute file name is returned, including ONE of the
> suffixes if appropriate.
>
> Just say what the manual says: the absolute file name is returned:
>
>  If it finds such a file, it returns the file's absolute file name;
>  otherwise it returns `nil'.

Fixed on trunk.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-02-09  2:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-18 16:28 bug#12674: 24.2.50; doc of `locate-file' Drew Adams
2014-02-09  2:58 ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).