GNU bug report logs - #6397
24.0.50; `make-directory' return value

Previous Next

Package: emacs;

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

Date: Thu, 10 Jun 2010 20:52:01 UTC

Severity: minor

Tags: fixed

Found in version 24.0.50

Fixed in version 24.1

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

Bug is archived. No further changes may be made.

Full log


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

From: Juri Linkov <juri <at> jurta.org>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 6397 <at> debbugs.gnu.org
Subject: Re: bug#6397: 24.0.50; `make-directory' return value
Date: Fri, 11 Jun 2010 11:12:51 +0300
> The doc for `make-directory' doesn't mention its return value, and the
> code doesn't seem to do anything special about it.

There is also a related bug#6363.

> I think it should return non-nil (e.g. the directory name) if the
> creation succeeds and nil if it fails without error.  And that should be
> documented.  Or if it always raises an error when it does not create a
> directory, that's OK too, but that should then be documented.

What should it return when the creation of some parents succeeds,
and fails for the rest?

-- 
Juri Linkov
http://www.jurta.org/emacs/




This bug report was last modified 13 years and 315 days ago.

Previous Next


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