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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Michael Mauger <mmauger <at> protonmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#35307: closed (sql.el - Product "ms" is missing 
 "prompt-cont-regexp")
Date: Sun, 21 Apr 2019 05:36:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 21 Apr 2019 05:35:02 +0000
with message-id <9ePwN4Bso_e6d9VMV-sRIh-YQu9dJ4VerFffJfwgEYTimg736CLXRqMkm_D1GZ5fHdQ_xCEHiZTZedxKkL-Pw0KzZKl6we2br72JfGjwrZU=@protonmail.com>
and subject line Re: bug#35307: sql.el - Product "ms" is missing "prompt-cont-regexp"
has caused the debbugs.gnu.org bug report #35307,
regarding sql.el - Product "ms" is missing  "prompt-cont-regexp"
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
35307: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=35307
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Sebastián Monía <seb.hoagie <at> outlook.com>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: sql.el - Product "ms" is missing  "prompt-cont-regexp"
Date: Wed, 17 Apr 2019 17:10:22 +0000
[Message part 3 (text/plain, inline)]
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"))


Thank you!
Sebastián

[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
From: Michael Mauger <mmauger <at> protonmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: "35307-close <at> debbugs.gnu.org" <35307-close <at> debbugs.gnu.org>,
 Sebastián Monía <seb.hoagie <at> outlook.com>
Subject: Re: bug#35307: sql.el - Product "ms" is missing "prompt-cont-regexp"
Date: Sun, 21 Apr 2019 05:35:02 +0000
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Thursday, April 18, 2019 9:55 AM, Eli Zaretskii <eliz <at> gnu.org> wrote:

> > 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?

The property has been added to the ms dialect, and the code has been enhanced to
properly handle the absence of the property.

--
MICHAEL <at> MAUGER.COM // FSF and EFF member // GNU Emacs sql.el maintainer



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.