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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 35307 in the body.
You can then email your comments to 35307 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#35307; Package emacs. (Wed, 17 Apr 2019 17:11:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sebastián Monía <seb.hoagie <at> outlook.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 17 Apr 2019 17:11:02 GMT) Full text and rfc822 format available.

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

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 1 (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 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#35307; Package emacs. (Thu, 18 Apr 2019 13:57:04 GMT) Full text and rfc822 format available.

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?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#35307; Package emacs. (Thu, 18 Apr 2019 16:19:01 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Michael Mauger <michael <at> mauger.com>, 35307 <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: Thu, 18 Apr 2019 12:18:25 -0400
See also
https://debbugs.gnu.org/24483
https://debbugs.gnu.org/27586

(and probably
https://debbugs.gnu.org/cgi/pkgreport.cgi?include=subject%3Asql;package=emacs )




Reply sent to Michael Mauger <mmauger <at> protonmail.com>:
You have taken responsibility. (Sun, 21 Apr 2019 05:36:02 GMT) Full text and rfc822 format available.

Notification sent to Sebastián Monía <seb.hoagie <at> outlook.com>:
bug acknowledged by developer. (Sun, 21 Apr 2019 05:36:02 GMT) Full text and rfc822 format available.

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

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





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#35307; Package emacs. (Sun, 21 Apr 2019 06:13:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Michael Mauger <mmauger <at> protonmail.com>
Cc: 35307 <at> debbugs.gnu.org, seb.hoagie <at> outlook.com
Subject: Re: bug#35307: sql.el - Product "ms" is missing "prompt-cont-regexp"
Date: Sun, 21 Apr 2019 09:12:37 +0300
> Date: Sun, 21 Apr 2019 05:35:02 +0000
> From: Michael Mauger <mmauger <at> protonmail.com>
> Cc: Sebastián Monía <seb.hoagie <at> outlook.com>, "35307-close <at> debbugs.gnu.org" <35307-close <at> debbugs.gnu.org>
> 
> The property has been added to the ms dialect, and the code has been enhanced to
> properly handle the absence of the property.

Thanks!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 19 May 2019 11:24:04 GMT) Full text and rfc822 format available.

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.