Skip to content

dired-subtree wrong indentation for subfolder when also using dired-collapse #230

@garyo-gpsw

Description

@garyo-gpsw

When I hit TAB on the libs/utility line, I get this. Note the almost-correct indentation on the left status columns, but incorrect (same as parent) in the filename column. libs is a sibling of install, not a subdir of it. And the children of libs/utility are indented the same as their parent.
There seem to be two problems: (1) the libs/utility line has too much indentation in the left (status) columns, and (2) the children of libs/utility have too little indentation in their filename colum.

Image

Actual structure is this:

% t libs/utility 
libs/utility
├── CMakeLists.txt
├── license.h
├── logging.h
├── src
│   ├── license.cpp
│   ├── logging.cpp
│   ├── threadpool.cpp
│   └── utils.cpp
├── threadpool.h
└── utils.h

This seems to happen for any two-level subdir (where the top level has only one child dir). Note that I am also using dired-collapse.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions