-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dirivish-toggle-subtree
Gives error: "Not a directory" [Bug]
#106
Comments
Go to the dirvish buffer that you can reproduce the error with the
As is documented here, you should just turn off |
What's the output of |
Do you have |
The The listing switches I currently have are |
Setting the listing switches to the basic |
Install gnu ls and set your brew install coreutils Just make sure "drwx...." is the first column. |
Okay, running GNU coreutils now. Made sure it's on shell
|
Remove the "--size" (or "-s") flag in your dired-listing-switches and make it to have the same form as the one in the sample config (long name flag). I don't think you'll need the "--size" flag since you enabled the file-size attribute and has it also on mode line. I'll mention it in the doc anyways.
|
Yes, that did it. Thank you! |
Thank you for the bug report
dirvish
related packages.the command
emacs -Q
.Bug description
My config gives the error "Not a directory" when I run
dirvish-toggle-subtree
(TAB) on lines that are clearly directories in a dirvish buffer, and thus doesn't expand into a subtree.Steps to reproduce
I think this is a clash with either one of the Doom modules I have installed or another package I import, as running the vanilla Doom config doesn't reproduce the issue. I attach my init.el (Doom modules) and packages.el (other packages) which produces the issue for me if I just put the Dirvish sample config in config.el.
Looking for any suggestions on how to debug this, as
dirvish-toggle-subtree
works wonderfully from what I've seen. I've tried disabling basically every minor mode I could in the Dirvish buffer to no avail. Tried this running both Emacs 28 and 29. I see where the error gets called in dirvish-subtree.el, but don't understand exactly how the directory paths are processed there.packages.el.txt
init.el.txt
Expected behavior
dirvish-toggle-subtree
Should neatly expand or collapse directories.OS
MacOS
Emacs Version
28
Emacs Configurations
Doom Emacs
Error callstack
I tried this, and the user-error call for some reason doesn't send me into debug mode.
Anything else
I've noticed too that
diff-hl-dired
is not integrating properly with thegit-msg
extension, as they both show in the margin at once. Perhaps these issues are related, as this issue has the same persistence.The text was updated successfully, but these errors were encountered: