0

I have a folder structure like this,i want get a list that all folder names in pack folder. Then traverse the list and load them

├── pack
│   ├── completion
│   │   ├── company
│   │   │   └── pack-company.el
│   │   ├── ivy
│   │   │   └── pack-ivy.el
│   │   └── smartchr
│   │       └── pack-smartchr.el
│   ├── editor
│   │   ├── evil
│   │   │   └── pack-evil.el
│   │   ├── fold
│   │   │   └── pack-fold.el
│   │   └── multiple-cursors
│   │       └── pack-multiple.el

list will has pack/completion/company, pack/completion/ivy etc..

6
  • Do you mean completion and editor, or all the subdirectories, too?
    – choroba
    Commented Sep 9, 2019 at 8:47
  • @choroba i update the post, i want get the list which has pack/completion/company ,pack/completion/ivy ,pack/editor/evil etc.,. Commented Sep 9, 2019 at 8:51
  • emacs.stackexchange.com/q/33332/2526
    – choroba
    Commented Sep 9, 2019 at 8:53
  • ??? not a same problem Commented Sep 9, 2019 at 8:54
  • So the result list should NOT contain pack/completion and pack/editor?
    – xuchunyang
    Commented Sep 9, 2019 at 9:36

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.