(This seems to be a project bug, not eglot, but I've never used
proejct directly, only through eglot. It's easy enough to trigger).
Steps to reproduce:
1. emacs -Q --eval "(require 'eglot)"
2. C-x C-f ../directory-that-does-not-exist/new-file.c
Expected:
- new-file.c buffer in c-mode appears
- M-x make-directory RET RET creates the missing directory
Actual:
- current buffer is unchanged rather than switching to new-file.c
- M-x make-directory offers to create CURRENT directory
(likely nothing but the natural effectd of the buffer not switching)
- C-x b new-file.c RET shows the new-file.c buffer in fundamental-mode
Bisect suggests the bug was introduced in
commit 785fa801596ad7bb9f838cac865f00de29e253d1.