`embark-act` doesn't use project root directory with `projectile-find-file`
- Dominant language
- Emacs Lisp
- Stars
- 22.7k
- Forks
- 3.1k
- Avg merge
- 10h 46m
- Merged PRs (30d)
- 4
Description
### What did you expect to happen?
`embark-act` should work from `projectile-find-file` throughout a project.
### What actually happened?
Commands (such as `find-file-other-window` and `consult-file-externally`) fail when `projectile-find-file` is called from a file not at the project root. For example, `find-file-other-window` tries to create the missing directories and file from within the current file's directory. It looks like a similar problem to #5494.
### Describe your attempts to resolve the issue
I haven't put more time into debugging it yet.
### Steps to reproduce
1. Open Emacs
2. Open a project (using projectile)
3. Open a file not at the project root
3. Run `projectile-find-file`
4. Run `embark-act`
5. Select `find-file-other-window` or `consult-file-externally`
6. It will try to create the file or fail silently
### System Information
https://pastebin.com/99fzB3rD
Contributor guide
Assessment
This issue has not been assessed yet.