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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Vitalie Spinu <spinuvit@HIDDEN>; dated Wed, 7 Aug 2019 14:39:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 36958 <at> debbugs.gnu.org:


Received: (at 36958) by debbugs.gnu.org; 18 May 2022 14:25:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 18 10:25:18 2022
Received: from localhost ([127.0.0.1]:33122 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nrKc2-0004Lk-5T
	for submit <at> debbugs.gnu.org; Wed, 18 May 2022 10:25:18 -0400
Received: from quimby.gnus.org ([95.216.78.240]:40412)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1nrKc0-0004LT-42
 for 36958 <at> debbugs.gnu.org; Wed, 18 May 2022 10:25:16 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=aeCqX9xaNfI/CrMOFp3q3mLI1F72wGHAcUk0KB2QHTs=; b=Z1OKHoY7Dwed0LpMdxXM9E6k+6
 nxPijYCIC4L/LfUIRrKfsyV2uCfjwDmcZI5Ba9ljnHi6sQV7fy2jXy6kSggWjWcSlwfzgu0P362Hl
 JKRj2xkgUmlpkqeExGG5dTjnRyBVmENLLbzZpr87aClp7g7S0t9TK+EDetAzBksEUDno=;
Received: from [84.212.220.105] (helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1nrKbr-0008FK-EJ; Wed, 18 May 2022 16:25:09 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Vitalie Spinu <spinuvit@HIDDEN>
Subject: Re: bug#36958: 27.0.50; SQL buffer local connection parameters are
 ignored
References: <86pnlh3utb.fsf@HIDDEN>
X-Now-Playing: Tricky's _Fall to Pieces_: "Throws Me Around"
Date: Wed, 18 May 2022 16:25:05 +0200
In-Reply-To: <86pnlh3utb.fsf@HIDDEN> (Vitalie Spinu's message of "Wed, 07
 Aug 2019 16:37:52 +0200")
Message-ID: <874k1mc3zy.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Vitalie Spinu <spinuvit@HIDDEN> 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-produc [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 36958
Cc: michael@HIDDEN, 36958 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Vitalie Spinu <spinuvit@HIDDEN> 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@HIDDEN:
bug#36958; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 7 Aug 2019 14:38:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Aug 07 10:38:01 2019
Received: from localhost ([127.0.0.1]:39190 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hvN4i-0003f4-Sj
	for submit <at> debbugs.gnu.org; Wed, 07 Aug 2019 10:38:01 -0400
Received: from lists.gnu.org ([209.51.188.17]:51352)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <spinuvit@HIDDEN>) id 1hvN4g-0003ex-O7
 for submit <at> debbugs.gnu.org; Wed, 07 Aug 2019 10:37:59 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:42148)
 by lists.gnu.org with esmtp (Exim 4.86_2)
 (envelope-from <spinuvit@HIDDEN>) id 1hvN4f-0007W4-PZ
 for bug-gnu-emacs@HIDDEN; Wed, 07 Aug 2019 10:37:58 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <spinuvit@HIDDEN>) id 1hvN4e-00081u-Pv
 for bug-gnu-emacs@HIDDEN; Wed, 07 Aug 2019 10:37:57 -0400
Received: from mail-ed1-x52e.google.com ([2a00:1450:4864:20::52e]:41314)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <spinuvit@HIDDEN>) id 1hvN4e-000815-K1
 for bug-gnu-emacs@HIDDEN; Wed, 07 Aug 2019 10:37:56 -0400
Received: by mail-ed1-x52e.google.com with SMTP id p15so86465399eds.8
 for <bug-gnu-emacs@HIDDEN>; Wed, 07 Aug 2019 07:37:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:date:message-id:mime-version;
 bh=mfkUZHZWz8LVLy3o1tE8dTeJfDXMOotZKpU1+7aN4aA=;
 b=iGd+Di6jpD+n7qHZ1zWb81T1oXK+/DMxMSBs+tIbmJX0Auytvw39slWVsLTuZk4Oen
 hSNGmwoWEmcL4fWBAGueMow7+Gm7OpEUj/p/QVl7dHqh1q2nJckukSuhUFm9f56OOaAm
 wstONoXNsgYtDNgrAs8t828v8Fd7JL5E/HqPyzTIWxTqfClla2MZvhTD+X4DxhNmmlNT
 1PF7RX7YTUaKi31OZbz/AMRw6n1x0ffNgI1aVOeP0a8mCVHbzR1GeJW35v60NEKrTpKy
 waGCoAlFfIHeoa7H2xo/EdSsEKRPUjRl66kGgzfAim+6Dc/+qTVQD0Rw2SlnCl8wN5XV
 kHIg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version;
 bh=mfkUZHZWz8LVLy3o1tE8dTeJfDXMOotZKpU1+7aN4aA=;
 b=S1SiAkaJULgfz2YvAMmNfzEfJAGiS8mw+bArqx8Jc45imvcCuRPETSkK3GZhDkDzHD
 jSg231nBhdV+F3Kw65GXyGhVwx2hAmND6Kv2VrSkxNOUQzAZYAIWYrS4NxyXIXD+zPas
 NNqhqS0dnWAtqkLXGc1573ULcpf9seUKi5WAGnKwL8rXRMO4OyoBMOkH+cHMsnQG6w+E
 0+pfNh3dKrecmfh3+30cjpMArqHrXumHW9YR8jOe43qxX6kazIpkgIAYnO46OQTJmhFZ
 AFOz/V3YcJwrKPD6GS0H+Iq0e5tXRFRNmzUOcixa7t+uxP54mtZ/FWeaiaWxSRwna3aT
 nYYg==
X-Gm-Message-State: APjAAAWxJWjfUJPE6nru3a+S+xfejTkXyEqD+7oCHddSADpyT04Vy7dK
 mSXpy0md2nj42zJbCH8BKnle9tYi
X-Google-Smtp-Source: APXvYqy8RR9/DP+2EZMdrANmu9Lz9wqI8ZWdLzJeE9xiYyboG91Ujywt1LnsQn2FmFbjXPKx+9f2jw==
X-Received: by 2002:a05:6402:609:: with SMTP id
 n9mr10126227edv.159.1565188674068; 
 Wed, 07 Aug 2019 07:37:54 -0700 (PDT)
Received: from localhost ([217.111.1.50])
 by smtp.gmail.com with ESMTPSA id w24sm21423675edb.90.2019.08.07.07.37.53
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Wed, 07 Aug 2019 07:37:53 -0700 (PDT)
From: Vitalie Spinu <spinuvit@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 27.0.50; SQL buffer local connection parameters are ignored
Date: Wed, 07 Aug 2019 16:37:52 +0200
Message-ID: <86pnlh3utb.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-Received-From: 2a00:1450:4864:20::52e
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
Cc: michael@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)



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




Acknowledgement sent to Vitalie Spinu <spinuvit@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#36958; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 18 May 2022 14:30:02 UTC

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