[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/eglot f7f77e1 044/139: Make M-x eglot the main entry po
From: |
João Távora |
Subject: |
[elpa] externals/eglot f7f77e1 044/139: Make M-x eglot the main entry point |
Date: |
Mon, 14 May 2018 09:54:51 -0400 (EDT) |
branch: externals/eglot
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/eglot b511b7d 036/139: Redesign and simplify parser, (continued)
- [elpa] externals/eglot b511b7d 036/139: Redesign and simplify parser, João Távora, 2018/05/14
- [elpa] externals/eglot 328c7ae 025/139: Auto update mode-line after setting some process properties, João Távora, 2018/05/14
- [elpa] externals/eglot 2b61a3b 048/139: Delete two useless forward declarations, João Távora, 2018/05/14
- [elpa] externals/eglot 88e3655 040/139: Appease checkdoc.el, João Távora, 2018/05/14
- [elpa] externals/eglot c948713 035/139: Auto-reconnect on unexpected connection loss, João Távora, 2018/05/14
- [elpa] externals/eglot 1dc2a9f 021/139: Implement spinners and RLS's window/progress, João Távora, 2018/05/14
- [elpa] externals/eglot 931093e 032/139: Don't clutter UI with warnings, João Távora, 2018/05/14
- [elpa] externals/eglot 95983c9 028/139: Change status to error everytime an error is found, João Távora, 2018/05/14
- [elpa] externals/eglot be52e1e 037/139: Rework connection restarting again, João Távora, 2018/05/14
- [elpa] externals/eglot d2eca65 045/139: Fix another Flymake sync bug, João Távora, 2018/05/14
- [elpa] externals/eglot f7f77e1 044/139: Make M-x eglot the main entry point,
João Távora <=
- [elpa] externals/eglot d90efdf 001/139: Initial commit, João Távora, 2018/05/14
- [elpa] externals/eglot 1514e0f 052/139: Fix a couple of Rust-related edge cases, João Távora, 2018/05/14
- [elpa] externals/eglot b4dd4f8 022/139: Report server status in the mode-line, João Távora, 2018/05/14
- [elpa] externals/eglot 6689a15 026/139: Add eglot-clear-status interactive command, João Távora, 2018/05/14
- [elpa] externals/eglot a3545fb 050/139: Rename RPC methods for clarity, João Távora, 2018/05/14
- [elpa] externals/eglot 9665a3e 051/139: Fix textDocument/didChange, João Távora, 2018/05/14
- [elpa] externals/eglot eebd32b 059/139: When user declines to reconnect, first quit existing server, João Távora, 2018/05/14
- [elpa] externals/eglot 17e0ca4 047/139: Fix Flymake diagnostic positions, João Távora, 2018/05/14
- [elpa] externals/eglot 9d404c9 054/139: Update README.md, João Távora, 2018/05/14
- [elpa] externals/eglot 29d4103 056/139: Fix mode-line mouse-clicks from outside selected window, João Távora, 2018/05/14