[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/elpa f7f77e1 044/139: Make M-x eglot the main entry poi
From: |
João Távora |
Subject: |
[elpa] externals/elpa f7f77e1 044/139: Make M-x eglot the main entry point |
Date: |
Mon, 14 May 2018 09:53:32 -0400 (EDT) |
branch: externals/elpa
commit f7f77e19871dbfd6effda076e0557b90e34d2db2
Author: João Távora <address@hidden>
Commit: João Távora <address@hidden>
Make M-x eglot the main entry point
* eglot.el (eglot-new-process): Removed
(eglot): Rename from eglot-new-process.
(eglot-editing-mode): Mention M-x eglot
* README.md: Use M-x eglot
---
README.md | 2 +-
eglot.el | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/README.md b/README.md
index 7cf96f9..7a747fd 100644
--- a/README.md
+++ b/README.md
@@ -9,5 +9,5 @@ Coming soon.
(add-to-list 'load-path "/path/to/eglot")
(require 'eglot)
-M-x eglot-new-process
+M-x eglot
```
diff --git a/eglot.el b/eglot.el
index 5c014f3..ccf4b72 100644
--- a/eglot.el
+++ b/eglot.el
@@ -208,9 +208,9 @@ INTERACTIVE is t if called interactively."
(eglot--message "Reconnected!"))))
(defvar eglot--command-history nil
- "History of COMMAND arguments to `eglot-new-process'.")
+ "History of COMMAND arguments to `eglot'.")
-(defun eglot-new-process (managed-major-mode command &optional interactive)
+(defun eglot (managed-major-mode command &optional interactive)
;; FIXME: Later make this function also connect to TCP servers by
;; overloading semantics on COMMAND.
"Start a Language Server Protocol server.
@@ -252,7 +252,7 @@ INTERACTIVE is t if called interactively."
(let* ((project (project-current))
(short-name (eglot--project-short-name project)))
(unless project (eglot--error
- "(new-process) Cannot work without a current project!"))
+ "Cannot work without a current project!"))
(let ((current-process (eglot--current-process))
(command
(or command
@@ -742,7 +742,7 @@ that case, also signal textDocument/didOpen."
(flymake-mode 1)
(if (eglot--current-process)
(eglot--signalDidOpen)
- (eglot--warn "No process, start one with `M-x eglot-new-process'")))
+ (eglot--warn "No process, start one with `M-x eglot'")))
(t
(remove-hook 'flymake-diagnostic-functions 'eglot-flymake-backend t)
(remove-hook 'after-change-functions 'eglot--after-change t)
- [elpa] externals/elpa bc011d0 010/139: Minor cleanup, (continued)
- [elpa] externals/elpa bc011d0 010/139: Minor cleanup, João Távora, 2018/05/14
- [elpa] externals/elpa e1d36d2 014/139: Fix some byte-compilation warnings, João Távora, 2018/05/14
- [elpa] externals/elpa 1dc2a9f 021/139: Implement spinners and RLS's window/progress, João Távora, 2018/05/14
- [elpa] externals/elpa 95983c9 028/139: Change status to error everytime an error is found, João Távora, 2018/05/14
- [elpa] externals/elpa 328c7ae 025/139: Auto update mode-line after setting some process properties, João Távora, 2018/05/14
- [elpa] externals/elpa 2775dea 003/139: Rename eglot--continuations eglot--pending-continuations, João Távora, 2018/05/14
- [elpa] externals/elpa 75495dc 033/139: Slightly more user friendly start, João Távora, 2018/05/14
- [elpa] externals/elpa 6f6f01d 018/139: Doc fixes, João Távora, 2018/05/14
- [elpa] externals/elpa 0ec7801 012/139: Simplify `eglot--protocol-initialize`, João Távora, 2018/05/14
- [elpa] externals/elpa 88e3655 040/139: Appease checkdoc.el, João Távora, 2018/05/14
- [elpa] externals/elpa f7f77e1 044/139: Make M-x eglot the main entry point,
João Távora <=
- [elpa] externals/elpa 51ff863 046/139: Must re-announce didOpen after reconnect, João Távora, 2018/05/14
- [elpa] externals/elpa d2eca65 045/139: Fix another Flymake sync bug, João Távora, 2018/05/14
- [elpa] externals/elpa c95a0a4 041/139: Multiple servers per project are possible, João Távora, 2018/05/14
- [elpa] externals/elpa e60c7fc 013/139: Overhaul async mechanism safety, João Távora, 2018/05/14
- [elpa] externals/elpa a3545fb 050/139: Rename RPC methods for clarity, João Távora, 2018/05/14
- [elpa] externals/elpa 4d4b85d 061/139: eglot-editing-mode becomes eglot--managed-mode, João Távora, 2018/05/14
- [elpa] externals/elpa 4f246b5 017/139: * eglot.el (eglot-mode-map): Move up before minor mode., João Távora, 2018/05/14
- [elpa] externals/elpa a4f99e0 005/139: Introduce and use `eglot--current-process-or-lose', João Távora, 2018/05/14
- [elpa] externals/elpa 8e6488f 023/139: Don't switch to possibly dead buffer in sentinel, João Távora, 2018/05/14
- [elpa] externals/elpa be52e1e 037/139: Rework connection restarting again, João Távora, 2018/05/14