GNU bug report logs - #35307
sql.el - Product "ms" is missing "prompt-cont-regexp"

Previous Next

Package: emacs;

Reported by: Sebastián Monía <seb.hoagie <at> outlook.com>

Date: Wed, 17 Apr 2019 17:11:02 UTC

Severity: normal

Done: Michael Mauger <mmauger <at> protonmail.com>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 35307 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Sebastián Monía <seb.hoagie <at> outlook.com>,
 Michael Mauger <michael <at> mauger.com>
Cc: 35307 <at> debbugs.gnu.org
Subject: Re: bug#35307: sql.el - Product "ms" is missing "prompt-cont-regexp"
Date: Thu, 18 Apr 2019 16:55:40 +0300
> From: Sebastián Monía
> 	<seb.hoagie <at> outlook.com>
> Date: Wed, 17 Apr 2019 17:10:22 +0000
> 
> I've noticed this in the past but for reason didn't notice I should report it until I downloaded the Emacs 27 Alpha
> recently and had to fix it again.
> The configuration for MS SQL Server in sql.el is missing "prompt-cont-regexp" and thus breaks when you
> launch SQLi.
> 
> All that is needed is the following:
> 
> (ms
>      :name "Microsoft"
>      :font-lock sql-mode-ms-font-lock-keywords
>      :sqli-program sql-ms-program
>      :sqli-options sql-ms-options
>      :sqli-login sql-ms-login-params
>      :sqli-comint-func sql-comint-ms
>      :prompt-regexp "^[0-9]*>"
>       ;; below the new line
>      :prompt-cont-regexp "^[0-9]*>"
>       ;; above the new line
>      :prompt-length 5
>      :syntax-alist ((?@ . "_"))
>      :terminator ("^go" . "go"))

Thanks.  Michael, could you please look into this?




This bug report was last modified 6 years and 116 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.