* bug#36958: 27.0.50; SQL buffer local connection parameters are ignored
@ 2019-08-07 14:37 Vitalie Spinu
2022-05-18 14:25 ` Lars Ingebrigtsen
0 siblings, 1 reply; 3+ messages in thread
From: Vitalie Spinu @ 2019-08-07 14:37 UTC (permalink / raw)
To: 36958; +Cc: michael
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#36958: 27.0.50; SQL buffer local connection parameters are ignored
2019-08-07 14:37 bug#36958: 27.0.50; SQL buffer local connection parameters are ignored Vitalie Spinu
@ 2022-05-18 14:25 ` Lars Ingebrigtsen
2022-07-05 0:29 ` Michael Mauger via Bug reports for GNU Emacs, the Swiss army knife of text editors
0 siblings, 1 reply; 3+ messages in thread
From: Lars Ingebrigtsen @ 2022-05-18 14:25 UTC (permalink / raw)
To: Vitalie Spinu; +Cc: michael, 36958
Vitalie Spinu <spinuvit@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
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#36958: 27.0.50; SQL buffer local connection parameters are ignored
2022-05-18 14:25 ` Lars Ingebrigtsen
@ 2022-07-05 0:29 ` Michael Mauger via Bug reports for GNU Emacs, the Swiss army knife of text editors
0 siblings, 0 replies; 3+ messages in thread
From: Michael Mauger via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-07-05 0:29 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: Vitalie Spinu, 36958
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@MAUGER.COM // FSF and SFConservancy // GNU Emacs sql.el maintainer
------- Original Message -------
On Wednesday, May 18th, 2022 at 10:25 AM, Lars Ingebrigtsen <larsi@gnus.org> wrote:
> Vitalie Spinu spinuvit@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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-07-05 0:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-07 14:37 bug#36958: 27.0.50; SQL buffer local connection parameters are ignored Vitalie Spinu
2022-05-18 14:25 ` Lars Ingebrigtsen
2022-07-05 0:29 ` Michael Mauger via Bug reports for GNU Emacs, the Swiss army knife of text editors
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).