unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#36435: ido mode C-x C-f not showing regular files in special instances
@ 2019-06-29 15:35 Michael Wu
  2019-07-08 23:00 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Wu @ 2019-06-29 15:35 UTC (permalink / raw)
  To: 36435

[-- Attachment #1: Type: text/plain, Size: 761 bytes --]

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`.

[-- Attachment #2: Type: text/html, Size: 1018 bytes --]

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

* bug#36435: ido mode C-x C-f not showing regular files in special instances
  2019-06-29 15:35 bug#36435: ido mode C-x C-f not showing regular files in special instances Michael Wu
@ 2019-07-08 23:00 ` Lars Ingebrigtsen
  2019-07-16  2:58   ` Michael Wu
  0 siblings, 1 reply; 4+ messages in thread
From: Lars Ingebrigtsen @ 2019-07-08 23:00 UTC (permalink / raw)
  To: Michael Wu; +Cc: 36435, JohnMichaelWu

Michael Wu <john.michael.wu@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

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

* bug#36435: ido mode C-x C-f not showing regular files in special instances
  2019-07-08 23:00 ` Lars Ingebrigtsen
@ 2019-07-16  2:58   ` Michael Wu
  2019-07-18 12:25     ` Lars Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Wu @ 2019-07-16  2:58 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 36435

[-- Attachment #1: Type: text/plain, Size: 1421 bytes --]

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@gnus.org> wrote:

> Michael Wu <john.michael.wu@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
>

[-- Attachment #2: Type: text/html, Size: 2136 bytes --]

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

* bug#36435: ido mode C-x C-f not showing regular files in special instances
  2019-07-16  2:58   ` Michael Wu
@ 2019-07-18 12:25     ` Lars Ingebrigtsen
  0 siblings, 0 replies; 4+ messages in thread
From: Lars Ingebrigtsen @ 2019-07-18 12:25 UTC (permalink / raw)
  To: Michael Wu; +Cc: 36435, JohnMichaelWu

Michael Wu <john.michael.wu@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





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

end of thread, other threads:[~2019-07-18 12:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-29 15:35 bug#36435: ido mode C-x C-f not showing regular files in special instances Michael Wu
2019-07-08 23:00 ` Lars Ingebrigtsen
2019-07-16  2:58   ` Michael Wu
2019-07-18 12:25     ` 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).