GNU bug report logs - #36435
ido mode C-x C-f not showing regular files in special instances

Previous Next

Package: emacs;

Reported by: JohnMichaelWu <at> gmail.com

Date: Sat, 29 Jun 2019 15:37:01 UTC

Severity: normal

Tags: confirmed

To reply to this bug, email your comments to 36435 AT debbugs.gnu.org.

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#36435; Package emacs. (Sat, 29 Jun 2019 15:37:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to JohnMichaelWu <at> gmail.com:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 29 Jun 2019 15:37:03 GMT) Full text and rfc822 format available.

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

From: Michael Wu <john.michael.wu <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: ido mode C-x C-f not showing regular files in special instances
Date: Sat, 29 Jun 2019 11:35:22 -0400
[Message part 1 (text/plain, inline)]
Emacs 26.2.

I do not know exactly the set of cases this bug appears, but here is a way
(albeit specific) that works every time for me.

I have the following directory hierarchy:

.
├── d1
│   ├── d1
│   │   ├── a
│   │   ├── b
│   │   ├── c
│   │   ├── d1
│   │   └── d2
│   └── d2
└── d2
    ├── d1
    │   ├── 1
    │   ├── 2
    │   ├── 3
    │   ├── da
    │   └── db
    └── d2

The d's are directories. If I make d1/d1 my working directory, and then do
(exactly this sequence of keys)

C-x C-f, M-b, M-b, C-k, 2<TAB>, 1<TAB>

I am shown only `da` and `db`, and not the files `1`, `2`, or `3`.
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#36435; Package emacs. (Mon, 08 Jul 2019 23:01:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Michael Wu <john.michael.wu <at> gmail.com>
Cc: 36435 <at> debbugs.gnu.org, JohnMichaelWu <at> gmail.com
Subject: Re: bug#36435: ido mode C-x C-f not showing regular files in special
 instances
Date: Tue, 09 Jul 2019 01:00:12 +0200
Michael Wu <john.michael.wu <at> gmail.com> writes:

> Emacs 26.2. 
>
> I do not know exactly the set of cases this bug appears, but here is a way (albeit
> specific) that works every time for me. 
>
> I have the following directory hierarchy:
>
> .
> ├── d1
> │   ├── d1
> │   │   ├── a
> │   │   ├── b
> │   │   ├── c
> │   │   ├── d1
> │   │   └── d2
> │   └── d2
> └── d2
>     ├── d1
>     │   ├── 1
>     │   ├── 2
>     │   ├── 3
>     │   ├── da
>     │   └── db
>     └── d2
>
> The d's are directories. If I make d1/d1 my working directory, and then do
> (exactly this sequence of keys)

Do you have a shell script that can create this hierarchy so that it's
easier to reproduce?  :-)

> C-x C-f, M-b, M-b, C-k, 2<TAB>, 1<TAB>
>
> I am shown only `da` and `db`, and not the files `1`, `2`, or `3`. 

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

Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 08 Jul 2019 23:01:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#36435; Package emacs. (Tue, 16 Jul 2019 03:00:02 GMT) Full text and rfc822 format available.

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

From: Michael Wu <john.michael.wu <at> gmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 36435 <at> debbugs.gnu.org
Subject: Re: bug#36435: ido mode C-x C-f not showing regular files in special
 instances
Date: Mon, 15 Jul 2019 22:58:09 -0400
[Message part 1 (text/plain, inline)]
Uhh sure. Here it is.

#!/bin/bash

mkdir -p d1/d1 d1/d2 d2/d1 d2/d2 d1/d1/d1 d1/d1/d2 d2/d1/da d2/d1/db
touch d1/d1/{a..c} d2/d1/{1..3}

Were you able to reproduce the issue?

On Mon, Jul 8, 2019 at 7:00 PM Lars Ingebrigtsen <larsi <at> gnus.org> wrote:

> Michael Wu <john.michael.wu <at> gmail.com> writes:
>
> > Emacs 26.2.
> >
> > I do not know exactly the set of cases this bug appears, but here is a
> way (albeit
> > specific) that works every time for me.
> >
> > I have the following directory hierarchy:
> >
> > .
> > ├── d1
> > │   ├── d1
> > │   │   ├── a
> > │   │   ├── b
> > │   │   ├── c
> > │   │   ├── d1
> > │   │   └── d2
> > │   └── d2
> > └── d2
> >     ├── d1
> >     │   ├── 1
> >     │   ├── 2
> >     │   ├── 3
> >     │   ├── da
> >     │   └── db
> >     └── d2
> >
> > The d's are directories. If I make d1/d1 my working directory, and then
> do
> > (exactly this sequence of keys)
>
> Do you have a shell script that can create this hierarchy so that it's
> easier to reproduce?  :-)
>
> > C-x C-f, M-b, M-b, C-k, 2<TAB>, 1<TAB>
> >
> > I am shown only `da` and `db`, and not the files `1`, `2`, or `3`.
>
> --
> (domestic pets only, the antidote for overdose, milk.)
>    bloggy blog: http://lars.ingebrigtsen.no
>
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#36435; Package emacs. (Thu, 18 Jul 2019 12:26:01 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Michael Wu <john.michael.wu <at> gmail.com>
Cc: 36435 <at> debbugs.gnu.org, JohnMichaelWu <at> gmail.com
Subject: Re: bug#36435: ido mode C-x C-f not showing regular files in
 special instances
Date: Thu, 18 Jul 2019 14:25:25 +0200
Michael Wu <john.michael.wu <at> gmail.com> writes:

> Uhh sure. Here it is.
>
> #!/bin/bash
>
> mkdir -p d1/d1 d1/d2 d2/d1 d2/d2 d1/d1/d1 d1/d1/d2 d2/d1/da d2/d1/db
> touch d1/d1/{a..c} d2/d1/{1..3}
>
> Were you able to reproduce the issue?

Yup.

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




Removed tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 18 Jul 2019 12:26:02 GMT) Full text and rfc822 format available.

Added tag(s) confirmed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 18 Jul 2019 12:26:02 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 331 days ago.

Previous Next


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