[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/dart-mode c54f014 069/192: Merge pull request #18 from hte
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/dart-mode c54f014 069/192: Merge pull request #18 from hterkelsen/no_pty |
Date: |
Sun, 29 Aug 2021 11:01:52 -0400 (EDT) |
branch: elpa/dart-mode
commit c54f014ac96160e82490f486e050ff5320e2fd89
Merge: 88920ee d6bb4e8
Author: Natalie Weizenbaum <nex342@gmail.com>
Commit: Natalie Weizenbaum <nex342@gmail.com>
Merge pull request #18 from hterkelsen/no_pty
Use a pipe instead of a pty for the analysis server
---
dart-mode.el | 17 ++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)
diff --git a/dart-mode.el b/dart-mode.el
index 7c2c4a7..684fd1a 100644
--- a/dart-mode.el
+++ b/dart-mode.el
@@ -685,11 +685,18 @@ directory or the current file directory to the analysis
roots."
(dart--analysis-server-process dart--analysis-server))
(kill-buffer (dart--analysis-server-buffer dart--analysis-server)))
(let ((dart-process
- (start-process "dart-analysis-server"
- "*dart-analysis-server*"
- dart-executable-path
- dart-analysis-server-snapshot-path
- "--no-error-notification")))
+ ;; set process-connection-type to nil so that emacs starts
+ ;; the analysis server controlled by a pipe rather than a
+ ;; pseudo-terminal. If the process is controlled by a
+ ;; pseudo-terminal, emacs will buffer requests to the analysis
+ ;; server with interspersed EOFs, which confuses the analysis
+ ;; server. This does not happen with pipes.
+ (let ((process-connection-type nil))
+ (start-process "dart-analysis-server"
+ "*dart-analysis-server*"
+ dart-executable-path
+ dart-analysis-server-snapshot-path
+ "--no-error-notification"))))
(setq dart--analysis-server
(dart--analysis-server-create dart-process))))
- [nongnu] elpa/dart-mode 8d83554 042/192: Properly indent lambdas., (continued)
- [nongnu] elpa/dart-mode 8d83554 042/192: Properly indent lambdas., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 148f707 048/192: Add a couple known issues., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode f5fb993 049/192: Fix the case indentation., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 5c09eae 051/192: Add support for illusori's flymake-warn-line-regexp., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode b7dc54c 052/192: Bump version to 0.8., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode eca6432 058/192: Bump version to 0.10., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode a935c27 059/192: don't advise c-parse-state if c-parse-state-1 isn't defined., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 3b3992b 060/192: Merge pull request #8 from rginda/unadvise, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 079ecc2 062/192: Add support for Dart analysis server., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 88920ee 066/192: Bump version to 0.13., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode c54f014 069/192: Merge pull request #18 from hterkelsen/no_pty,
ELPA Syncer <=
- [nongnu] elpa/dart-mode d6bb4e8 068/192: Document why we are using pipes rather than pty, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode e05c132 070/192: Add a README.md with installation instructions., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode bf82220 071/192: Merge pull request #19 from tonygentilcore/readme, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode d20d978 076/192: Bump version to 0.14., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 0c3d6d7 074/192: Fix an off-by-one bug in offset calculation., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode be9e422 077/192: Fix a bunch of byte-compilation warnings., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode e6635b3 084/192: Bump version to 0.15. (#38), ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode b380818 085/192: Adapt the gofmt-related code in go-mode.el for dartfmt. (#39), ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode f5962c3 080/192: Make version check work in Emacs 25., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 93efb54 089/192: Update the version and URL and flesh out the README, ELPA Syncer, 2021/08/29