From 515f57826f5cc2d85232f0d897d0e02a069667db Mon Sep 17 00:00:00 2001 From: "Michael R. Mauger" Date: Sun, 21 Apr 2019 00:40:00 -0400 Subject: [PATCH] * 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. --- lisp/progmodes/sql.el | 6 ++++++ 1 file changed, 6 insertions(+) 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." :sqli-login sql-ms-login-params :sqli-comint-func sql-comint-ms :prompt-regexp "^[0-9]*>" + :prompt-cont-regexp "^[0-9]*>" :prompt-length 5 :syntax-alist ((?@ . "_")) :terminator ("^go" . "go")) @@ -1219,6 +1220,11 @@ Starts `sql-interactive-mode' after doing some setup." ;; Customization for Microsoft +;; Microsoft documentation seems to indicate that ISQL and OSQL are +;; going away and being replaced by SQLCMD. If anyone has experience +;; using SQLCMD, modified product configuration and feedback on its +;; use would be greatly appreciated. + (defcustom sql-ms-program "osql" "Command to start osql by Microsoft. -- 2.39.2