GNU bug report logs - #36958
27.0.50; SQL buffer local connection parameters are ignored

Previous Next

Package: emacs;

Reported by: Vitalie Spinu <spinuvit <at> gmail.com>

Date: Wed, 7 Aug 2019 14:39:01 UTC

Severity: normal

Found in version 27.0.50

To reply to this bug, email your comments to 36958 AT debbugs.gnu.org.

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#36958; Package emacs. (Wed, 07 Aug 2019 14:39:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Vitalie Spinu <spinuvit <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 07 Aug 2019 14:39:02 GMT) Full text and rfc822 format available.

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

From: Vitalie Spinu <spinuvit <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Cc: michael <at> mauger.com
Subject: 27.0.50; SQL buffer local connection parameters are ignored
Date: Wed, 07 Aug 2019 16:37:52 +0200

Hi,

Two related issues concerning the sql product and process parameters
customization.

 1) Buffer local sql variables (sql-user, sql-server etc) are ignored by comint
   process builder (sql-product-interactive). Happens because of the change back
   in 2012 (f6561e1f9a56119bf) which made only the default values to take
   effect.

   Consequently, there seem not to be a good way to customize sql process per
   dir/buffer. 

 2) :sqli-login keys in sql-product-alist are just as well ignored. So if I
   create a new entry in sql-product-alist with custom login details, those
   won't take effect.

It seems that both of these issues are contrary to the original design as
described in the comments section of sql.el.


  Vitalie


In GNU Emacs 27.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.22.30)
 of 2019-08-07 built on NB277
Repository revision: 2e29a2580e22bb708c9578b9b25a0b9a9b862936
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.11906000
System Description: Ubuntu 18.04.2 LTS




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#36958; Package emacs. (Wed, 18 May 2022 14:26:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Vitalie Spinu <spinuvit <at> gmail.com>
Cc: michael <at> mauger.com, 36958 <at> debbugs.gnu.org
Subject: Re: bug#36958: 27.0.50; SQL buffer local connection parameters are
 ignored
Date: Wed, 18 May 2022 16:25:05 +0200
Vitalie Spinu <spinuvit <at> gmail.com> writes:

> Two related issues concerning the sql product and process parameters
> customization.
>
>  1) Buffer local sql variables (sql-user, sql-server etc) are ignored by comint
>    process builder (sql-product-interactive). Happens because of the change back
>    in 2012 (f6561e1f9a56119bf) which made only the default values to take
>    effect.
>
>    Consequently, there seem not to be a good way to customize sql process per
>    dir/buffer. 
>
>  2) :sqli-login keys in sql-product-alist are just as well ignored. So if I
>    create a new entry in sql-product-alist with custom login details, those
>    won't take effect.
>
> It seems that both of these issues are contrary to the original design as
> described in the comments section of sql.el.

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

Michael, do you have any comments here?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#36958; Package emacs. (Tue, 05 Jul 2022 00:30:03 GMT) Full text and rfc822 format available.

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

From: Michael Mauger <mmauger <at> protonmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: Vitalie Spinu <spinuvit <at> gmail.com>, 36958 <at> debbugs.gnu.org
Subject: Re: bug#36958: 27.0.50;
 SQL buffer local connection parameters are ignored
Date: Tue, 05 Jul 2022 00:29:33 +0000
Lars and Vitalie,

Sorry for the delay; June has been a time.  :|

Those two both sound familiar; I think I may have fixed or at least debugged them and obviously my fixes never made it out to the real world.  I should have some time over the next couple of weeks to see what I can do with them.

Sorry for the delay.

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

------- Original Message -------
On Wednesday, May 18th, 2022 at 10:25 AM, Lars Ingebrigtsen <larsi <at> gnus.org> wrote:


> Vitalie Spinu spinuvit <at> gmail.com writes:
>
> > Two related issues concerning the sql product and process parameters
> > customization.
> >
> > 1) Buffer local sql variables (sql-user, sql-server etc) are ignored by comint
> > process builder (sql-product-interactive). Happens because of the change back
> > in 2012 (f6561e1f9a56119bf) which made only the default values to take
> > effect.
> >
> > Consequently, there seem not to be a good way to customize sql process per
> > dir/buffer.
> >
> > 2) :sqli-login keys in sql-product-alist are just as well ignored. So if I
> > create a new entry in sql-product-alist with custom login details, those
> > won't take effect.
> >
> > It seems that both of these issues are contrary to the original design as
> > described in the comments section of sql.el.
>
>
> (I'm going through old bug reports that unfortunately weren't resolved
> at the time.)
>
> Michael, do you have any comments here?
>
> --
> (domestic pets only, the antidote for overdose, milk.)
> bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 2 years and 344 days ago.

Previous Next


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