emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/sql-beeline b7ffff9404: Set comint-process-echoes to t


From: Filipp Gunbin
Subject: [elpa] externals/sql-beeline b7ffff9404: Set comint-process-echoes to t
Date: Mon, 16 May 2022 13:00:52 -0400 (EDT)

branch: externals/sql-beeline
commit b7ffff9404d93f569e3c2bc59db1be6e848c894f
Author: Filipp Gunbin <fgunbin@fastmail.fm>
Commit: Filipp Gunbin <fgunbin@fastmail.fm>

    Set comint-process-echoes to t
---
 sql-beeline.el | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/sql-beeline.el b/sql-beeline.el
index 4b6fbf9fe1..90dbba08a3 100644
--- a/sql-beeline.el
+++ b/sql-beeline.el
@@ -4,8 +4,8 @@
 
 ;; Author: Filipp Gunbin <fgunbin@fastmail.fm>
 ;; Maintainer: Filipp Gunbin <fgunbin@fastmail.fm>
-;; Version: 0.1
-;; Keywords: sql, hive, beeline, hiveserver2
+;; Version: 0.2
+;; Keywords: sql, hive, beeline, hiveserver2, impala
 
 ;; This program is free software; you can redistribute it and/or modify
 ;; it under the terms of the GNU General Public License as published by
@@ -69,7 +69,14 @@
         ;; every few milliseconds - we don't want it because it
         ;; just makes garbage.
         (comint-terminfo-terminal ""))
-    (sql-comint product params buf-name)))
+    (sql-comint product params buf-name)
+    (add-hook 'sql-login-hook #'sql-beeline--setup-interactive-mode)))
+
+(defun sql-beeline--setup-interactive-mode ()
+  (remove-hook 'sql-login-hook #'sql-beeline--setup-interactive-mode)
+
+  (setq comint-process-echoes t))
+
 
 ;;;###autoload
 (defun sql-beeline (&optional buffer)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]