[X] You may also try reproduce the issue using clean environment and minimal configurations with
the command emacs -Q.
Bug description
When using emacs daemon and opening a frame using emacsclient -c foobar.el, dirvish will close the entire frame when trying to open a file from another directory.
If a initial path is not provided, such as emacsclient -c then it behaves as expected. Non-daemon mode works as expected when providing a path emacs foobar.el.
Thank you for the bug report
dirvish
related packages.emacs -Q
.Bug description
When using emacs daemon and opening a frame using
emacsclient -c foobar.el
, dirvish will close the entire frame when trying to open a file from another directory.If a initial path is not provided, such as
emacsclient -c
then it behaves as expected. Non-daemon mode works as expected when providing a pathemacs foobar.el
.Steps to reproduce
Start emacs daemon
emacs --daemon
Navigate to a directory:
cd foo/bar/
Open directory with new emacs frame
emacsclient -c .
Opening a file in
foo/bar/.
works, but navigating to a parent/subdirectory and opening a file will close the current emacs frame.Expected behavior
The frame should stay open and behave the same as when an initial path is not provided to
emacsclient -c
OS
Linux
Emacs Version
29
Emacs Configurations
Default
Error callstack
No response
Anything else
No response