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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 43374 in the body.
You can then email your comments to 43374 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#43374; Package emacs. (Sun, 13 Sep 2020 12:43:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Boruch Baum <boruch_baum <at> gmx.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 13 Sep 2020 12:43:02 GMT) Full text and rfc822 format available.

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

From: Boruch Baum <boruch_baum <at> gmx.com>
To: Emacs Bug Reporting <bug-gnu-emacs <at> gnu.org>
Subject: 26.1: read-directory-name not respecting MUST-MATCH arg
Date: Sun, 13 Sep 2020 08:42:18 -0400
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)



--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#43374; Package emacs. (Sun, 13 Sep 2020 13:37:01 GMT) Full text and rfc822 format available.

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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#43374; Package emacs. (Sun, 13 Sep 2020 14:45:02 GMT) Full text and rfc822 format available.

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

From: Boruch Baum <boruch_baum <at> gmx.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
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 10:44:44 -0400
On 2020-09-13 15:36, Lars Ingebrigtsen wrote:
> 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]".

That's not the result I get. I get a string matching my input. No error
indication. I'm using version 26.1 (debian), though, so there's always
the chance this was reported and fixed for version 27?

--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#43374; Package emacs. (Sun, 13 Sep 2020 14:53:02 GMT) Full text and rfc822 format available.

Message #14 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 16:52:15 +0200
Boruch Baum <boruch_baum <at> gmx.com> writes:

> That's not the result I get. I get a string matching my input. No error
> indication. I'm using version 26.1 (debian), though, so there's always
> the chance this was reported and fixed for version 27?

I don't have 26.1 here, but I'm not able to reproduce it in Emacs 26.3
either (starting from -Q).

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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#43374; Package emacs. (Sun, 13 Sep 2020 15:03:01 GMT) Full text and rfc822 format available.

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

From: Boruch Baum <boruch_baum <at> gmx.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
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 11:02:40 -0400
On 2020-09-13 15:36, Lars Ingebrigtsen wrote:
> 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]".
>

Call this closed. By default, I use the third-party package ivy-mode for
everything involving completions; without that mode enabled, the
function operates as expected. Sorry.

--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#43374; Package emacs. (Sun, 13 Sep 2020 15:09:02 GMT) Full text and rfc822 format available.

Message #20 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 17:08:44 +0200
Boruch Baum <boruch_baum <at> gmx.com> writes:

> Call this closed. By default, I use the third-party package ivy-mode for
> everything involving completions; without that mode enabled, the
> function operates as expected. Sorry.

Ok; closed.  :-)

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




Added tag(s) notabug. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 13 Sep 2020 15:10:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 43374 <at> debbugs.gnu.org and Boruch Baum <boruch_baum <at> gmx.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 13 Sep 2020 15:10:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 12 Oct 2020 11:24:09 GMT) Full text and rfc822 format available.

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

Previous Next


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