GNU bug report logs - #43374
26.1: read-directory-name not respecting MUST-MATCH arg

Previous Next

Package: emacs;

Reported by: Boruch Baum <boruch_baum <at> gmx.com>

Date: Sun, 13 Sep 2020 12:43:02 UTC

Severity: normal

Tags: notabug

Found in version 26.1

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

Bug is archived. No further changes may be made.

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Boruch Baum <boruch_baum <at> gmx.com>
Cc: 43374 <at> debbugs.gnu.org
Subject: Re: bug#43374: 26.1: read-directory-name not respecting MUST-MATCH arg
Date: Sun, 13 Sep 2020 15:36:28 +0200
Boruch Baum <boruch_baum <at> gmx.com> writes:

> based upon the function's docstring, I was expecting the following to
> return nil for a non-existing directory. Instead, it returns a string of
> the non-existing directory.
>
>    (read-directory-name "Directory: " nil nil t nil)

I'm not sure what you mean here.  If I eval that form and type "foo",
then Emacs just beeps at me and says "[No match]".

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




This bug report was last modified 4 years and 250 days ago.

Previous Next


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