aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael R. Mauger2019-04-21 00:40:00 -0400
committerMichael R. Mauger2019-04-21 00:40:00 -0400
commit515f57826f5cc2d85232f0d897d0e02a069667db (patch)
treeb83aef90b7204fa336f453e43b0fd22c52e93bd1
parentd76fea29d8cdfcd715c8c1da592adf1b615e12f4 (diff)
downloademacs-515f57826f5cc2d85232f0d897d0e02a069667db.tar.gz
emacs-515f57826f5cc2d85232f0d897d0e02a069667db.zip
* lisp/progmodes/sql.el Bug#35307
(sql-product-alist): Added :prompt-cont-regexp for ms. Looking for experience with Microsofts SQLCMD interpreter and adjustments needed for Emacs to support it.
-rw-r--r--lisp/progmodes/sql.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/progmodes/sql.el b/lisp/progmodes/sql.el
index 7d29d0011cb..28261ef74b2 100644
--- a/lisp/progmodes/sql.el
+++ b/lisp/progmodes/sql.el
@@ -443,6 +443,7 @@ file. Since that is a plaintext file, this could be dangerous."
443 :sqli-login sql-ms-login-params 443 :sqli-login sql-ms-login-params
444 :sqli-comint-func sql-comint-ms 444 :sqli-comint-func sql-comint-ms
445 :prompt-regexp "^[0-9]*>" 445 :prompt-regexp "^[0-9]*>"
446 :prompt-cont-regexp "^[0-9]*>"
446 :prompt-length 5 447 :prompt-length 5
447 :syntax-alist ((?@ . "_")) 448 :syntax-alist ((?@ . "_"))
448 :terminator ("^go" . "go")) 449 :terminator ("^go" . "go"))
@@ -1219,6 +1220,11 @@ Starts `sql-interactive-mode' after doing some setup."
1219 1220
1220;; Customization for Microsoft 1221;; Customization for Microsoft
1221 1222
1223;; Microsoft documentation seems to indicate that ISQL and OSQL are
1224;; going away and being replaced by SQLCMD. If anyone has experience
1225;; using SQLCMD, modified product configuration and feedback on its
1226;; use would be greatly appreciated.
1227
1222(defcustom sql-ms-program "osql" 1228(defcustom sql-ms-program "osql"
1223 "Command to start osql by Microsoft. 1229 "Command to start osql by Microsoft.
1224 1230