Skip to content

Handling file/buffer rename #522

Open
@ruricolist

Description

This isn't a bug, but something that took me by surprise: if I open a file in Eglot and then rename the file/buffer (with Dired,) Eglot does not send textDocument/didClose for the old file name or textDocument/didOpen events for the new file name.

I would expect that handling this would require advice on set-visited-file-name.

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions