]> git.eshelyaron.com Git - emacs.git/commit
Multiple servers per project are possible
authorJoão Távora <joaotavora@gmail.com>
Thu, 3 May 2018 12:37:04 +0000 (13:37 +0100)
committerJoão Távora <joaotavora@gmail.com>
Thu, 3 May 2018 12:37:04 +0000 (13:37 +0100)
commit508c8efe23b26e585deefb897586257ab9bc14ce
treec0ae2b81fa218b597e3af9998c77a2e06bb18e6f
parentb950cb40b63b57a647cd29eb8c78481b848d77e2
Multiple servers per project are possible

A server manages a specific major-mode within a project.

* eglot.el (eglot--processes-by-project): Add docstring.
(eglot--current-process): Search new eglot--processes-by-project
format.
(eglot--major-mode): New variable.
(eglot--moribund, eglot--project): Update docstring.
(eglot--project-short-name, eglot--all-major-modes): New helpers.
(eglot--connect): Rework.
(eglot-new-process): Rework severely.
(eglot--command-history): New variable.
(eglot--process-sentinel): Use new
eglot--processes-by-project. Update mode line.
(eglot-editing-mode): Don't start processes, just suggest it.
lisp/progmodes/eglot.el