X-Loop: help-debbugs@HIDDEN Subject: bug#76025: [PATCH 1/1] * lisp/progmodes/sql.el: login without prompting Resent-From: Phil Estival <pe@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: yantar92@HIDDEN, bug-gnu-emacs@HIDDEN Resent-Date: Mon, 03 Feb 2025 05:20:02 +0000 Resent-Message-ID: <handler.76025.B.17385599818418 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 76025 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 76025 <at> debbugs.gnu.org Cc: Ihor Radchenko <yantar92@HIDDEN> X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN X-Debbugs-Original-Xcc: Ihor Radchenko <yantar92@HIDDEN> Received: via spool by submit <at> debbugs.gnu.org id=B.17385599818418 (code B ref -1); Mon, 03 Feb 2025 05:20:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Feb 2025 05:19:41 +0000 Received: from localhost ([127.0.0.1]:37267 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1teory-0002Bd-FB for submit <at> debbugs.gnu.org; Mon, 03 Feb 2025 00:19:41 -0500 Received: from lists.gnu.org ([2001:470:142::17]:59008) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <pe@HIDDEN>) id 1tecsd-0007BY-08 for submit <at> debbugs.gnu.org; Sun, 02 Feb 2025 11:31:32 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <pe@HIDDEN>) id 1tecsW-0008Vm-VB for bug-gnu-emacs@HIDDEN; Sun, 02 Feb 2025 11:31:24 -0500 Received: from smtp-42ae.mail.infomaniak.ch ([84.16.66.174]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <pe@HIDDEN>) id 1tecsU-0005Mn-DV for bug-gnu-emacs@HIDDEN; Sun, 02 Feb 2025 11:31:24 -0500 Received: from smtp-3-0001.mail.infomaniak.ch (unknown [IPv6:2001:1600:4:17::246c]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4YmFW06vf8z99W for <bug-gnu-emacs@HIDDEN>; Sun, 2 Feb 2025 17:31:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=7d.nz; s=20240212; t=1738513868; bh=2ktqhGGL/piya5+3T/+k5fP9UuQyO7MPYtBxC6xgjK0=; h=From:To:Subject:Date:From; b=lCEwcAacSBR3QYlnYIaELvZdlPGAFuIb9qAYStT4OzWMRa3K95ZJcZ3WJOaPB0xLF kMOJfJOUXMDPsPHfArYvSVC2Bie2emnDDdHdqEvbi0Zi+RfCQV/iaw1HYB5jXDEl4l bwQWQapZCqpV/dpw/ESZ9QBWdv+uacZQ2f00zidJOoH02k2ejE5057AP1svp3+j5xy kisd6LInzWHjZ0W7cSOnUq2iv4vtPM7rePVppiE3Ftmpx6KaqJrCO2b91L0hgxWoZm l2ikcdtBrKmJ3K9+migR/bsTlrrmy2OlruQHSLQcYZ37mjXmxXkgYMISVo/Vb1Csdy /N/oJp4Z1OlIA== Received: from unknown by smtp-3-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4YmFW03PWqzD5w for <bug-gnu-emacs@HIDDEN>; Sun, 2 Feb 2025 17:31:08 +0100 (CET) From: Phil Estival <pe@HIDDEN> User-Agent: mu4e 1.12.8; emacs 30.0.50 Date: Sun, 02 Feb 2025 17:31:08 +0100 Message-ID: <8734gws3zn.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Infomaniak-Routing: alpha Received-SPF: pass client-ip=84.16.66.174; envelope-from=pe@HIDDEN; helo=smtp-42ae.mail.infomaniak.ch X-Spam_score_int: -37 X-Spam_score: -3.8 X-Spam_bar: --- X-Spam_report: (-3.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=-1, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Mailman-Approved-At: Mon, 03 Feb 2025 00:19:37 -0500 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: -0.1 (/) --=-=-= Content-Type: text/plain Tags: patch This is a patch of `sql-product-interactive' in order to connect without prompting for or asking to confirm connection parameters, using ones already set and stored in `sql-database', `sql-server', -user, etc. In GNU Emacs 30.0.50 Repository revision: f2bccae22bd47a2e7e0937b78ea06131711b935a Repository branch: master --=-=-= Content-Type: text/patch Content-Disposition: attachment; filename=0001-lisp-progmodes-sql.el-login-without-prompting.patch From 5e2e6b85482f0b83867a40db9f47abd98db76da6 Mon Sep 17 00:00:00 2001 From: Phil Estival <pe@HIDDEN> Date: Wed, 22 Jan 2025 08:00:44 +0100 Subject: [PATCH 1/1] * lisp/progmodes/sql.el: login without prompting `sql-product-interactive' has a new optional argument 'no-prompt' in order to connect without opening the prompt by skipping its call to `sql-get-login' when all connection parameters are set. It will still prompt if any of these is missing, excepted for sqlite which doesn't need any to open a transient in-memory database. --- lisp/progmodes/sql.el | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/lisp/progmodes/sql.el b/lisp/progmodes/sql.el index a1c50a06990..79f6cf0e243 100644 --- a/lisp/progmodes/sql.el +++ b/lisp/progmodes/sql.el @@ -4524,5 +4524,5 @@ sql-connection-menu-filter ;;; Entry functions for different SQL interpreters. ;;;###autoload -(defun sql-product-interactive (&optional product new-name) - "Run PRODUCT interpreter as an inferior process. +(defun sql-product-interactive (&optional product new-name no-prompt) + "Run PRODUCT interpreter as an inferior process in a NEW-NAME'd buffer. If buffer `*SQL*' exists but no process is running, make a new process. If buffer exists and a process is running, just make sure buffer `*SQL*' is displayed. +When NO-PROMPT is set, try to connect without prompting +with the already supplied parameters. To specify the SQL product, prefix the call with \\[universal-argument]. To set the buffer name as well, prefix the call to \\[sql-product-interactive] with @@ -4572,9 +4574,15 @@ sql-product-interactive new-sqli-buffer rpt) ;; Get credentials. - (apply #'sql-get-login - (sql-get-product-feature product :sqli-login)) + (when (or (not no-prompt) ; default + (and no-prompt + (cl-some #'string-or-null-p + (list sql-server sql-user sql-password sql-database)) + ;; sqlite allows in-memory db, w/o login + (not (and (string-or-null-p sql-database) + (eq product 'sqlite))))) + (apply #'sql-get-login + (sql-get-product-feature product :sqli-login))) ;; Connect to database. (setq rpt (sql-make-progress-reporter nil "Login")) -- 2.39.5 --=-=-= Content-Type: text/plain -- Phil Estival --=-=-=--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Phil Estival <pe@HIDDEN> Subject: bug#76025: Acknowledgement ([PATCH 1/1] * lisp/progmodes/sql.el: login without prompting) Message-ID: <handler.76025.B.17385599818418.ack <at> debbugs.gnu.org> References: <8734gws3zn.fsf@HIDDEN> X-Gnu-PR-Message: ack 76025 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: patch Reply-To: 76025 <at> debbugs.gnu.org Date: Mon, 03 Feb 2025 05:20:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. As you requested using X-Debbugs-CC, your message was also forwarded to Ihor Radchenko <yantar92@HIDDEN> (after having been given a bug report number, if it did not have one). Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 76025 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 76025: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D76025 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#76025: [PATCH 1/1] * lisp/progmodes/sql.el: login without prompting Resent-From: Ihor Radchenko <yantar92@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Thu, 06 Feb 2025 19:13:02 +0000 Resent-Message-ID: <handler.76025.B76025.173886916924499 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 76025 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Phil Estival <pe@HIDDEN> Cc: 76025 <at> debbugs.gnu.org, Michael Mauger <michael@HIDDEN> Received: via spool by 76025-submit <at> debbugs.gnu.org id=B76025.173886916924499 (code B ref 76025); Thu, 06 Feb 2025 19:13:02 +0000 Received: (at 76025) by debbugs.gnu.org; 6 Feb 2025 19:12:49 +0000 Received: from localhost ([127.0.0.1]:59496 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tg7Iu-0006N4-Lz for submit <at> debbugs.gnu.org; Thu, 06 Feb 2025 14:12:48 -0500 Received: from mout01.posteo.de ([185.67.36.65]:32941) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <yantar92@HIDDEN>) id 1tg7Ir-0006Mm-I8 for 76025 <at> debbugs.gnu.org; Thu, 06 Feb 2025 14:12:47 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 26D17240028 for <76025 <at> debbugs.gnu.org>; Thu, 6 Feb 2025 20:12:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1738869157; bh=G5vt/ofYhzSipNaKXeXSK9WKyTxgcn7Lm/AVBWWzD0U=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=H5boMmiFaAJMbLZRkVdBSTI/ei0zqAtD4hGW1ui2n/bj4tOQSDBJVerj20TWgsgsT IQu08hNvLGtWSxGOATZ36X+HsKtgYsNLOeByo5VyX8zsWzD5Iv94xNDuM0I2gxe8UR cehVMKL10d9YXg1cqFUyTCIcKOtC0OCbaGFZXllnvFcodLA3qZaZsDQlihCAEJsqfe 3vTG+GqWdCj85NV1aYKGyCy/HUOp9qJeywOZN/pPUx3Ati9zuF/vShdDDUbJHxQZvG gv/PcAf+aTzh68Vzae2sjD5zPnPHfN8q1pWAvI66OhLhKIMFVOuy2qUDq2qCKuUfhp f0rS63/GAd4Tg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4YpmvS0PrXz6tsb; Thu, 6 Feb 2025 20:12:35 +0100 (CET) From: Ihor Radchenko <yantar92@HIDDEN> In-Reply-To: <8734gws3zn.fsf@HIDDEN> References: <8734gws3zn.fsf@HIDDEN> Date: Thu, 06 Feb 2025 19:14:50 +0000 Message-ID: <87ikpmvqad.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) 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 (---) Phil Estival <pe@HIDDEN> writes: > This is a patch of `sql-product-interactive' in order to connect without > prompting for or asking to confirm connection parameters, using ones > already set and stored in `sql-database', `sql-server', -user, etc. For context, we want this feature to improve Org babel's sql library (ob-sql) where we need to run session programmatically. See https://list.orgmode.org/orgmode/646f7d12-a3d1-4a7c-83e2-5eecd7ca6817@HIDDEN/ CCing sql.el maintainer. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>
X-Loop: help-debbugs@HIDDEN Subject: bug#76025: [PATCH 1/1] * lisp/progmodes/sql.el: login without prompting Resent-From: Michael Mauger <mmauger@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 07 Feb 2025 02:43:02 +0000 Resent-Message-ID: <handler.76025.B76025.173889615720703 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 76025 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Ihor Radchenko <yantar92@HIDDEN> Cc: Phil Estival <pe@HIDDEN>, 76025 <at> debbugs.gnu.org, Michael Mauger <michael@HIDDEN> Received: via spool by 76025-submit <at> debbugs.gnu.org id=B76025.173889615720703 (code B ref 76025); Fri, 07 Feb 2025 02:43:02 +0000 Received: (at 76025) by debbugs.gnu.org; 7 Feb 2025 02:42:37 +0000 Received: from localhost ([127.0.0.1]:60105 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tgEKC-0005Nq-In for submit <at> debbugs.gnu.org; Thu, 06 Feb 2025 21:42:37 -0500 Received: from mail-4316.protonmail.ch ([185.70.43.16]:30055) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <mmauger@HIDDEN>) id 1tgEK7-0005NP-8i for 76025 <at> debbugs.gnu.org; Thu, 06 Feb 2025 21:42:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1738896144; x=1739155344; bh=12gE8NnjbicKy8fWxqjlovlHLdgM19svthFwUyGgkRQ=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=bvy89jc7eNzW+gsHnd1DlaOLEFALttHU0lGdIiWWHZAAoesjJm2XdYnLynD99nFtv edm+bNnoHF+0TDKNW7zDfjCZ18OmdUeHb+hpYcRzwsCEV5VYiwzQXLti+pErZtzEba jVDw3E/CkbGnCW3MBSWTNnbLhq3Fx1VuI2H3LCoTEk85YUfquCqUiFrvTVZC0oWeP5 lKF0/fblF9T4GLn5Liw8WD0G4m7Jb9k1iBYkzoGhbsWUAEpAN4qWGICIBPyb0kMoVQ fWSKBMKMhUG12rnckymBKyp3YHGz8lIVvvhSfaQDCwg+J4HJRpH6g9cpIPMRUGlV6M /zKqWjVj4DWOA== Date: Fri, 07 Feb 2025 02:42:19 +0000 From: Michael Mauger <mmauger@HIDDEN> Message-ID: <i9MvBjqnthaO8gVieuUyY6gH-XVytN8GKujSr26Thh1bE3OOwzEV0MPy8Xyd_wv1aC0A5N-Qm1siOqmBt5ROG2aCfrsmpcP5dmAC34tQmHQ=@protonmail.com> In-Reply-To: <87ikpmvqad.fsf@localhost> References: <8734gws3zn.fsf@HIDDEN> <87ikpmvqad.fsf@localhost> Feedback-ID: 119932:user:proton X-Pm-Message-ID: beadaa7837fbb8a5f93aa2b5ae6a5ec60b32b93c MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) 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: -1.0 (-) On Thursday, February 6th, 2025 at 7:12 PM, Ihor Radchenko <yantar92@posteo= .net> wrote: > Phil Estival pe@HIDDEN writes: >=20 > > This is a patch of `sql-product-interactive' in order to connect withou= t prompting for or asking to confirm connection parameters, using ones alre= ady set and stored in` sql-database', `sql-server', -user, etc. >=20 >=20 > For context, we want this feature to improve Org babel's sql library > (ob-sql) where we need to run session programmatically. See > https://list.orgmode.org/orgmode/646f7d12-a3d1-4a7c-83e2-5eecd7ca6817@7d.= nz/ >=20 > CCing sql.el maintainer. >=20 Okay, a lot here... =F0=9F=A4=94 For my context, how are ob-sql "sessions" different from what is provided b= y `sql-product-interactive` buffers? I see you avoiding `sql-product-intera= ctive` buffers but the result is that you are duplicating a lot of logic al= ready present in `sql.el`. I have used babel to drive a sqlite3 in-memory d= atabase without the ob-sql machinery, so I'm wondering how I must warp my o= ld batch card deck way of thinking to understand the problem you are trying= to solve. I do see that you are supporting "engines" not present in `sql.el`; have in= teractive support for these engines been made available as ELPA/MELPA/... m= odules? Should they be? I also see hardcoding of sql command processor cli names; why not use the n= ame already customized in sql.el? I am very interested in supporting this effort within sql.el if I can. I in= herited sql.el a couple of decades ago and other than adding support for us= ing multiple dialects within the same Emacs instance, the feature set is pr= etty bare-bones. I have some time rn to focus on this, so if someone has th= e time/inclination to expand my vision, I'd appreciate it. --=20 MICHAEL@HIDDEN // FSF and SFConservancy // GNU Emacs sql.el maintainer
X-Loop: help-debbugs@HIDDEN Subject: bug#76025: [PATCH 1/1] * lisp/progmodes/sql.el: login without prompting Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 07 Feb 2025 07:15:02 +0000 Resent-Message-ID: <handler.76025.B76025.17389124815935 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 76025 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Ihor Radchenko <yantar92@HIDDEN> Cc: pe@HIDDEN, 76025 <at> debbugs.gnu.org, michael@HIDDEN Received: via spool by 76025-submit <at> debbugs.gnu.org id=B76025.17389124815935 (code B ref 76025); Fri, 07 Feb 2025 07:15:02 +0000 Received: (at 76025) by debbugs.gnu.org; 7 Feb 2025 07:14:41 +0000 Received: from localhost ([127.0.0.1]:60644 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tgIZV-0001Xf-GP for submit <at> debbugs.gnu.org; Fri, 07 Feb 2025 02:14:41 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53900) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tgIZS-0001XP-NY for 76025 <at> debbugs.gnu.org; Fri, 07 Feb 2025 02:14:39 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1tgIZK-0001Zt-28; Fri, 07 Feb 2025 02:14:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=34P/qSPH8W5WTcOk5dLSGvnwk6Tsr8pT3aMAuYdwuGg=; b=WPAUEojgVyoe RhHYZXd3WWBcozqVGm9MbNiuDPHBYB53uu2cGgP0OT25TpAtNNRauQMPcpLfRTt7gLn2FLpB62gJ0 He8rIcKGRFAIqNL28jw8LuMu/Oc/zm8BN61F18G6hw8Xjh8WM97t25Tb23Gfrd/rU8YB05sUFJ/Ug RU7jrc+ymyZ8+kPOdiQwrxx2GdccqBjZHywcgjmRROO3siiuNqe4WoYnIDpj9GRVHI04+5BzyG05d Ic772YrQFPrdoR+a6+h7u5cdn711BozympQ/UL6yFU2+auwns58M/AT6W7IezhHADsoI8x9J3vrH1 NTQZOIogyYOBEsUON8A3Bg==; Date: Fri, 07 Feb 2025 09:14:28 +0200 Message-Id: <86v7tm5iqz.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <87ikpmvqad.fsf@localhost> (message from Ihor Radchenko on Thu, 06 Feb 2025 19:14:50 +0000) References: <8734gws3zn.fsf@HIDDEN> <87ikpmvqad.fsf@localhost> X-Spam-Score: -2.3 (--) 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 (---) > Cc: 76025 <at> debbugs.gnu.org, Michael Mauger <michael@HIDDEN> > From: Ihor Radchenko <yantar92@HIDDEN> > Date: Thu, 06 Feb 2025 19:14:50 +0000 > > Phil Estival <pe@HIDDEN> writes: > > > This is a patch of `sql-product-interactive' in order to connect without > > prompting for or asking to confirm connection parameters, using ones > > already set and stored in `sql-database', `sql-server', -user, etc. > > For context, we want this feature to improve Org babel's sql library > (ob-sql) where we need to run session programmatically. See > https://list.orgmode.org/orgmode/646f7d12-a3d1-4a7c-83e2-5eecd7ca6817@HIDDEN/ > > CCing sql.el maintainer. Thanks. From my POV, this change needs a NEWS entry, and I think Phil needs to do the legal paperwork of assigning the copyright to the FSF (I can send the form and the instructions if that's okay with Phil).
X-Loop: help-debbugs@HIDDEN Subject: bug#76025: [PATCH 1/1] * lisp/progmodes/sql.el: login without prompting Resent-From: Phil Estival <pe@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 09 Feb 2025 13:03:01 +0000 Resent-Message-ID: <handler.76025.B76025.173910612814783 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 76025 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Michael Mauger <mmauger@HIDDEN> Cc: Daniel Kraus <daniel@HIDDEN>, 76025 <at> debbugs.gnu.org, Ihor Radchenko <yantar92@HIDDEN>, Michael Mauger <michael@HIDDEN> Received: via spool by 76025-submit <at> debbugs.gnu.org id=B76025.173910612814783 (code B ref 76025); Sun, 09 Feb 2025 13:03:01 +0000 Received: (at 76025) by debbugs.gnu.org; 9 Feb 2025 13:02:08 +0000 Received: from localhost ([127.0.0.1]:43538 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1th6wp-0003qN-KV for submit <at> debbugs.gnu.org; Sun, 09 Feb 2025 08:02:08 -0500 Received: from smtp-42a8.mail.infomaniak.ch ([84.16.66.168]:59415) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <pe@HIDDEN>) id 1th6wl-0003pl-C0 for 76025 <at> debbugs.gnu.org; Sun, 09 Feb 2025 08:02:05 -0500 Received: from smtp-3-0000.mail.infomaniak.ch (smtp-3-0000.mail.infomaniak.ch [10.4.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4YrSXN4My1zK7s; Sun, 9 Feb 2025 14:01:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=7d.nz; s=20240212; t=1739106116; bh=oV9kA0q4b8cCqhKTZ2Sly0v64x3AJhbCQPjDsFWR8SM=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=PlH8s41ymFKJlFnRIDX30CHBkXTPjzO8yvXe2Fucgn0Uz3FX6igY4aqaARH60d9/s 7zj1bIxVCEqAz0gmUaQ1LZ9OrmZhUNjOnWQMyQxiUvGqxcINSblWxG6HWSR1pFymvy XCqCVZY8GpZORHwH+wIpSn0TRJGr014/6rrjkEJxyOpzeGrAK3nGQ7QRmmntNFnB9r loP0tSMHMd2tvRz/MIXq/Rk5XcqJ3FFE7XjW5N+prUa/83MRAM7XDAS1WuzF5MyH4c gOlnbsVdG1lbL5Wk+oDRqayGD+OpphMEwbZbSSnLtAk2zXUf/HeYJByJlZdQHrl74Z NMFZEeMwzVfeQ== Received: from unknown by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4YrSXH6YhQzYhv; Sun, 9 Feb 2025 14:01:51 +0100 (CET) From: Phil Estival <pe@HIDDEN> In-Reply-To: <i9MvBjqnthaO8gVieuUyY6gH-XVytN8GKujSr26Thh1bE3OOwzEV0MPy8Xyd_wv1aC0A5N-Qm1siOqmBt5ROG2aCfrsmpcP5dmAC34tQmHQ=@protonmail.com> (Michael Mauger's message of "Fri, 07 Feb 2025 02:42:19 +0000") References: <8734gws3zn.fsf@HIDDEN> <87ikpmvqad.fsf@localhost> <i9MvBjqnthaO8gVieuUyY6gH-XVytN8GKujSr26Thh1bE3OOwzEV0MPy8Xyd_wv1aC0A5N-Qm1siOqmBt5ROG2aCfrsmpcP5dmAC34tQmHQ=@protonmail.com> User-Agent: mu4e 1.12.8; emacs 30.0.50 Date: Sun, 09 Feb 2025 14:01:51 +0100 Message-ID: <877c5z8e68.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Infomaniak-Routing: alpha X-Spam-Score: -0.7 (/) 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: -1.7 (-) * [2025-02-07 02:42 +0000] Michael Mauger <mmauger@HIDDEN>: > On Thursday, February 6th, 2025 at 7:12 PM, Ihor Radchenko <yantar92@post= eo.net> wrote: >> Phil Estival pe@HIDDEN writes: >> >> > This is a patch of `sql-product-interactive' in order to connect >> > without prompting for or asking to confirm connection parameters, >> > using ones already set and stored in` sql-database', `sql-server', >> > -user, etc. >> >> >> For context, we want this feature to improve Org babel's sql library >> (ob-sql) where we need to run session programmatically. See >> https://list.orgmode.org/orgmode/646f7d12-a3d1-4a7c-83e2-5eecd7ca6817@7d= .nz/ >> >> CCing sql.el maintainer. >> Hello Michael, > For my context, how are ob-sql "sessions" different from what is > provided by `sql-product-interactive` buffers? Similar to other channels org-babel can communicate through, an ob-sql session (info "(org) Environment of a Code Block") can be characterized as a channel to an interpreter process through a comint shell buffer, shared among source blocks in a notebook. > I see you avoiding `sql-product-interactive` buffers but the result is > that you are duplicating a lot of logic already present in `sql.el`. This duplicated logic is the connection to the database server, modified to avoid the prompts asking to confirm the parameters, except if one is missing, since these parameters are already written in fields describing, above the sql commands, what the session is: a named connection to a database. These parameters can be variables, expressions, global to a document or locally scoped to a section, a paragraph or a single code block. Bypassing this prompts is necessary to automate the tests of the ob-sql machinery. If completion, coloring or additional interactions with the shell are needed, then `sql-interactive-mode' could be set in the shell ob-sql is communicating with. "Could", because, this connection's function was "borrowed" from sql.el with these slight modifications: not prompting for parameters, no syntax coloring or completion, which make sense if no direct interaction is expected in such buffers. Ihor identified the connection's function as a duplication, and proposed we streamline the code by relying on the existing function in sql.el. Now ob-sql sessions do call `sql-product-interactive', hence this proposal for a patch skipping the prompts. Asking additional confirmations could be fine as a safeguard, but as I said /supra/, it's an obstacle for automation and not a necessity when describing a database in a notebook since these information are already present in the environment of code blocks. > I have used babel to drive a sqlite3 in-memory database without the > ob-sql machinery, so I'm wondering how I must warp my old batch card > deck way of thinking to understand the problem you are trying to > solve. One may need of a few stateful variables to designate schema or to give names to roles, and so on. These variables exists in the environment of the SQL shell. One way to apply changes of values is to reset the db, before providing a new environment to a next run of the entire program. But we can also change those values from inside a running environment and recall only the code blocks that refers to these variables. This is what a "session" covers. Org-mode, as a programming notebook is a convenient way to work on small units of code, the blocks, organized in sections, and to combine their execution. In many situations, it's more operable and more maneuverable than the files and folders we are used to think in, and that, in many ways, we still conform to, due to their presence rooted at the core of our systems. As for the in-memory sqlite3 DB, it is an appropriate candidate to test the correctness of the ob-sql sessions behavior: it's a standard lightweight package assumed to be /de facto/ available on our operating systems. > I do see that you are supporting "engines" not present in `sql.el`; > have interactive support for these engines been made available as > ELPA/MELPA/... modules? Should they be? Which ones? CC'ing Daniel to possibly get more advice on the matter. > I also see hardcoding of sql command processor cli names; why not use > the name already customized in sql.el? Because sql.el was not a requirement to ob-sql.el, but you're right, when it will be one, we can bind these to the sql-[db]-program. The probability for someone to need two different cli programs, one in an interactive shell and a different one in a notebook, for a same database system is very low, and in such case he or she would still be capable to set local values to adapt the situation. > I am very interested in supporting this effort within sql.el if I > can. I inherited sql.el a couple of decades ago and other than adding > support for using multiple dialects within the same Emacs instance, > the feature set is pretty bare-bones. I have some time rn to focus on > this, so if someone has the time/inclination to expand my vision, I'd > appreciate it. I will add that a single interface to all these DB systems=C2=A0helps to underline common requirements expected from these sql cli. The case of table formatting on MariaDB, configurable only at startup through a command line parameter -- and not as a state variable -- is one such requirement. Thanks. -- Phil Estival
Received: (at control) by debbugs.gnu.org; 11 Feb 2025 07:13:20 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 11 02:13:20 2025 Received: from localhost ([127.0.0.1]:53902 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1thkSO-0007Jg-4b for submit <at> debbugs.gnu.org; Tue, 11 Feb 2025 02:13:20 -0500 Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]:55763) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1thkSM-0007JO-FR for control <at> debbugs.gnu.org; Tue, 11 Feb 2025 02:13:18 -0500 Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-5de3c29e9b3so7412007a12.3 for <control <at> debbugs.gnu.org>; Mon, 10 Feb 2025 23:13:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739257992; x=1739862792; darn=debbugs.gnu.org; h=to:subject:message-id:date:mime-version:from:from:to:cc:subject :date:message-id:reply-to; bh=1M90f9gsI1f48Hqjb2BLQB6BstLpjEMs52h9ixJ5wrI=; b=Auz07tNtWBn35M+fAkH9LI30oHghT8DpV1hxjgmtYz/X8ho9FyVMQhEtaGqtzS4tyG 6xaVw4Qz0+Uep+TC4ADZscgf9gxWGZ0lYLVodw5ACoPQnLsiHvFvwwv9e7iJmXkoO+xt ept5zApld0eBB897QiY80VUW9jZVBmfxyIoB/idhXX+f8nerbc9q1/3gW8lBeUuyuxdu hhWP/WnxjSfKYZuYYf6gp/cYKXlEQP3r5jdX9ahzUl123QlhU3/PPbbPQQ3jCPSqspYB 2Dl9zNO3rzaUpGIvZbqvOj01pLwZpsGFJ3BDSOVJQjj9njGqpgS+e/sIv1Mrcq1rFjoa YbCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739257992; x=1739862792; h=to:subject:message-id:date:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=1M90f9gsI1f48Hqjb2BLQB6BstLpjEMs52h9ixJ5wrI=; b=dkyU5aADaNV/51mhNpftZlhxNrSyxba7D4vlz1l+lZWISFOQygAm4wZaEwQRtwBHt0 ICTQ4XsHotLcd2DyKomkHIoens2SK3wzJwP/0TXfxW5b5c3y46p9BQyRXo9HCGdLvzuk B6ixUMKbuGxG0lVS1KPRzYfhcEZTBQl3IRnp+x7qkwCzKWc8xsjnoeK7gAk9OTkJzSrS CSoGQvwMaePhjTP/NHsQYrrMPUyYWDGDoJAQ0rWJ2+w61GgT7Qtp8qMtu/rcemI1qG5r X6IGtV1UYC4oxrHKw9bLjv4WQJYCjxctB+RTO1o9h/04r+EzRbnSeEBhwJjjvBN6muN4 NR+A== X-Gm-Message-State: AOJu0Yzu0W4Y3jshyWfulhAlwuimTYTkHc7Xsaw2czUkUZgprNPR2TRW kNUY07rYDf5/ZXm0ion6LhFrvtg4Z/kNewszrtuQZO6ig0HfJpTZR9vQrbLGucKytcQK2lObvWL lMzZ2DJoYCYMKagE+DetFtbLE+tPlyf0EaB4= X-Gm-Gg: ASbGnct3n3Hsben7WNs/utHsicks9uRnhZ+mZNwAHcgLK9hrNl4LPcB4rlv08aLicfQ DthxZtRjreamzRWiamcS6TB/0OYekfQooYF5l9BXO8YDd/SeFqThdwEW6t23QYwyl4NY1Za2V6Q == X-Google-Smtp-Source: AGHT+IEk5++vnDcx9eHyD1LqAcketiMvayO8u13Hn56T8EDvxIHvOIAOGRSG7Jq6vsuM+BrT0X6YGQdBmLWaDLg+77E= X-Received: by 2002:a05:6402:354c:b0:5de:4acc:8a97 with SMTP id 4fb4d7f45d1cf-5de4acc8d20mr14345581a12.8.1739257992155; Mon, 10 Feb 2025 23:13:12 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 10 Feb 2025 23:13:11 -0800 From: Stefan Kangas <stefankangas@HIDDEN> MIME-Version: 1.0 Date: Mon, 10 Feb 2025 23:13:11 -0800 X-Gm-Features: AWEUYZnKk1YgiOfdRLcZ3gnGTla_JqjxeaFbN9UmvTy9w7ZU-CV3v86RZR97vNw Message-ID: <CADwFkmmNMd4U4uS_BcH59Km2xXuohGrgez+dPBDyQfyPq1gNKw@HIDDEN> Subject: control message for bug #76025 To: control <at> debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control 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: -1.0 (-) severity 76025 wishlist quit
X-Loop: help-debbugs@HIDDEN Subject: bug#76025: [PATCH] ob-sql: session + sql.el w/o prompt Resent-From: Ihor Radchenko <yantar92@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 15 Feb 2025 16:27:02 +0000 Resent-Message-ID: <handler.76025.B76025.17396367627113 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 76025 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Phil Estival <pe@HIDDEN> Cc: Michael Mauger <mmauger@HIDDEN>, Org Mode List <emacs-orgmode@HIDDEN>, 76025 <at> debbugs.gnu.org Received: via spool by 76025-submit <at> debbugs.gnu.org id=B76025.17396367627113 (code B ref 76025); Sat, 15 Feb 2025 16:27:02 +0000 Received: (at 76025) by debbugs.gnu.org; 15 Feb 2025 16:26:02 +0000 Received: from localhost ([127.0.0.1]:57512 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tjKzR-0001qV-CQ for submit <at> debbugs.gnu.org; Sat, 15 Feb 2025 11:26:01 -0500 Received: from mout01.posteo.de ([185.67.36.65]:51613) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <yantar92@HIDDEN>) id 1tjKzN-0001qC-ID for 76025 <at> debbugs.gnu.org; Sat, 15 Feb 2025 11:25:59 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 9FB7A240027 for <76025 <at> debbugs.gnu.org>; Sat, 15 Feb 2025 17:25:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1739636750; bh=C8CQMLmqGAMgTgsYgcDsZ8YVqOSZSKB/0qnEhxndvE4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=jNfqrywt0N5ojXeUkpt6kYyHHGJW6GksfPvRUOpmlZC+Lz+Eg6qxsJnB8vighXLYM +oaNflFjkt+PJUJVhw9kT9DVUI7xH63+QQEbCa2K6tkfU1EdyomNj4UKc+IQUch388 eWq30JbxKpGY2+pGMNjRrkw/tampfYRyzyTaWC3IPfN7P6ntFeTe6Pe7EowaL4wNo3 PkXpm3Yea6+vlBemiryAVM/L/FNprpg9uyeotVbAXAAyVuUNOWOJSM81Il/FDsgcOV gcGr62ihxi8AP9cl9o5patqmza9xbn45qUWtkOjssB7t82PsIYRQ0gnKaye3HDQVR5 96gnPGWpZ2s9Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4YwDms6nC5z6tvk; Sat, 15 Feb 2025 17:25:49 +0100 (CET) From: Ihor Radchenko <yantar92@HIDDEN> In-Reply-To: <87ikq9qpcc.fsf@localhost> References: <646f7d12-a3d1-4a7c-83e2-5eecd7ca6817@HIDDEN> <87seqrh3wl.fsf@localhost> <2c80ecf8-e114-45fd-8116-49ce0f975070@HIDDEN> <875xmq31vr.fsf@localhost> <a934b93f-eff2-4f2a-9c71-8815ede5f481@HIDDEN> <87a5bps4l1.fsf@localhost> <d693e368-5823-48bd-8f8b-c8aa9b18b480@HIDDEN> <87ikq9qpcc.fsf@localhost> Date: Sat, 15 Feb 2025 16:25:25 +0000 Message-ID: <87r03zcgzu.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) 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 (---) Ihor Radchenko <yantar92@HIDDEN> writes: > May you please post the patch on Emacs bug tracker? (M-x > submit-emacs-patch) and X-Debbugs-CC me? > That way, we get the Emacs maintainers involved into the discussion. The patch is in https://debbugs.gnu.org/cgi/bugreport.cgi?bug=76025 There are no major objections to the patch other than the maintainer being interested to coordinate ob-sql improvements and sql.el changes. I am CCing the feature request thread so that we can discuss everything together. May you please update your latest patch for ob-sql.el, converting it into (1) patch to sql.el; (2) patch for ob-sql.el that assumes changes to sql.el? -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>
X-Loop: help-debbugs@HIDDEN Subject: bug#76025: [PATCH 1/1] * lisp/progmodes/sql.el: login without prompting Resent-From: Phil Estival <pe@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 18 Feb 2025 20:48:03 +0000 Resent-Message-ID: <handler.76025.B76025.173991166024891 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 76025 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii <eliz@HIDDEN> Cc: 76025 <at> debbugs.gnu.org, Ihor Radchenko <yantar92@HIDDEN>, michael@HIDDEN Received: via spool by 76025-submit <at> debbugs.gnu.org id=B76025.173991166024891 (code B ref 76025); Tue, 18 Feb 2025 20:48:03 +0000 Received: (at 76025) by debbugs.gnu.org; 18 Feb 2025 20:47:40 +0000 Received: from localhost ([127.0.0.1]:34324 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tkUVH-0006TM-Ae for submit <at> debbugs.gnu.org; Tue, 18 Feb 2025 15:47:39 -0500 Received: from smtp-42af.mail.infomaniak.ch ([2001:1600:7:10::42af]:39033) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <pe@HIDDEN>) id 1tkUVB-0006S4-IM for 76025 <at> debbugs.gnu.org; Tue, 18 Feb 2025 15:47:34 -0500 Received: from smtp-4-0001.mail.infomaniak.ch (smtp-4-0001.mail.infomaniak.ch [10.7.10.108]) by smtp-4-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4YyBRK195CzNQR; Tue, 18 Feb 2025 21:47:25 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=7d.nz; s=20240212; t=1739911645; bh=3bHhpFvaZKAmKCEl25vzNUR/PZboFqUuxq4xfdAfylY=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=VRYi19XrQgRNf2lR9rUag1OhoNxFylm0XZ/W8uh7p1+YKoY6VOq/8z3W4t3tKb4A3 WVqtbEDLazLo5HMTV6gp6Qc4Usxe4Szn1UjtwSlNs+xrJZovksTjAanH7vSF/nXoIC dFUaSPxEbTVQwpOlPSBEI2ZGJdePYJ5c1C65Mz4X8XvCtt9pRyN2nb03V1gdZsvMnI D2zaV+Rvhbxny56ElCg5flurTuO3Mq3utTN6DVj16oJsvh79xV5dbTQeunXBL6UPHr DoOrOSAoU0XYVB3b4bWRhCx8QphReRUTLKQlpmSVKJSmyq1Xx+qzAd/G3467DRpABe KkT2C3CewHxRA== Received: from unknown by smtp-4-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4YyBRH65fwz9lC; Tue, 18 Feb 2025 21:47:23 +0100 (CET) From: Phil Estival <pe@HIDDEN> In-Reply-To: <86v7tm5iqz.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 07 Feb 2025 09:14:28 +0200") References: <8734gws3zn.fsf@HIDDEN> <87ikpmvqad.fsf@localhost> <86v7tm5iqz.fsf@HIDDEN> User-Agent: mu4e 1.12.8; emacs 30.0.50 Date: Tue, 18 Feb 2025 21:47:23 +0100 Message-ID: <87ikp7nfok.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Infomaniak-Routing: alpha X-Spam-Score: -0.0 (/) 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: -1.0 (-) * [2025-02-07 09:14 +0200] Eli Zaretskii <eliz@HIDDEN>: >> Cc: 76025 <at> debbugs.gnu.org, Michael Mauger <michael@HIDDEN> >> From: Ihor Radchenko <yantar92@HIDDEN> >> Date: Thu, 06 Feb 2025 19:14:50 +0000 >> >> Phil Estival <pe@HIDDEN> writes: >> >> > This is a patch of `sql-product-interactive' in order to connect without >> > prompting for or asking to confirm connection parameters, using ones >> > already set and stored in `sql-database', `sql-server', -user, etc. >> >> For context, we want this feature to improve Org babel's sql library >> (ob-sql) where we need to run session programmatically. See >> https://list.orgmode.org/orgmode/646f7d12-a3d1-4a7c-83e2-5eecd7ca6817@HIDDEN/ >> >> CCing sql.el maintainer. > > Thanks. > > From my POV, this change needs a NEWS entry, and I think Phil needs to > do the legal paperwork of assigning the copyright to the FSF (I can > send the form and the instructions if that's okay with Phil). I asked assign@HIDDEN for a pgp pub key last Wednesday but no response so far. Is there any? -- Phil Estival
X-Loop: help-debbugs@HIDDEN Subject: bug#76025: [PATCH 1/1] * lisp/progmodes/sql.el: login without prompting Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Wed, 19 Feb 2025 12:12:02 +0000 Resent-Message-ID: <handler.76025.B76025.173996710030803 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 76025 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Phil Estival <pe@HIDDEN> Cc: 76025 <at> debbugs.gnu.org, yantar92@HIDDEN, michael@HIDDEN Received: via spool by 76025-submit <at> debbugs.gnu.org id=B76025.173996710030803 (code B ref 76025); Wed, 19 Feb 2025 12:12:02 +0000 Received: (at 76025) by debbugs.gnu.org; 19 Feb 2025 12:11:40 +0000 Received: from localhost ([127.0.0.1]:44143 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tkivT-00080j-FQ for submit <at> debbugs.gnu.org; Wed, 19 Feb 2025 07:11:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35286) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tkivO-0007zm-OO for 76025 <at> debbugs.gnu.org; Wed, 19 Feb 2025 07:11:36 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1tkivI-0006Pe-55; Wed, 19 Feb 2025 07:11:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=XCltb2X5rjFnw/45oh9Jc1nZEgDqcvUr3wOWXGkf0h4=; b=CMbhfhUqu4xC DLLRmYnPGHu/NW0a9hk6CKBdQ0Advo4sHgY4ZJW7wjV30Zb3F2bBmHTYSyluIcWl4lfpkmP56mXXc mxrWYISs/UoT5hY6Vr+TM9ejOFHkZB+35RrLON+HbE7ki9fI+C2wXuYUSGBc628dlT8R2YtnxBLWa 1x6uOO/FaSps+eMR/f+cBUFdB2TDn6gCzD9+Wonl20VUQSjKhKS+c4gYnjP/RWDbvn13I8qGoVjAi bRa+mimfSpo2Jw/G4644t2NHoNk6M9z/9PZm1P/M+u/9EZv1jhS00F2d+KOdx3911MxHCZXeY1jPw VhMTr1HZ7LNrXYBe3cRXRg==; Date: Wed, 19 Feb 2025 14:11:25 +0200 Message-Id: <86a5ai6snm.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <87ikp7nfok.fsf@HIDDEN> (message from Phil Estival on Tue, 18 Feb 2025 21:47:23 +0100) References: <8734gws3zn.fsf@HIDDEN> <87ikpmvqad.fsf@localhost> <86v7tm5iqz.fsf@HIDDEN> <87ikp7nfok.fsf@HIDDEN> X-Spam-Score: -2.3 (--) 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 (---) > From: Phil Estival <pe@HIDDEN> > Cc: Ihor Radchenko <yantar92@HIDDEN>, 76025 <at> debbugs.gnu.org, > michael@HIDDEN > Date: Tue, 18 Feb 2025 21:47:23 +0100 > > * [2025-02-07 09:14 +0200] Eli Zaretskii <eliz@HIDDEN>: > >> Cc: 76025 <at> debbugs.gnu.org, Michael Mauger <michael@HIDDEN> > >> From: Ihor Radchenko <yantar92@HIDDEN> > >> Date: Thu, 06 Feb 2025 19:14:50 +0000 > >> > >> Phil Estival <pe@HIDDEN> writes: > >> > >> > This is a patch of `sql-product-interactive' in order to connect without > >> > prompting for or asking to confirm connection parameters, using ones > >> > already set and stored in `sql-database', `sql-server', -user, etc. > >> > >> For context, we want this feature to improve Org babel's sql library > >> (ob-sql) where we need to run session programmatically. See > >> https://list.orgmode.org/orgmode/646f7d12-a3d1-4a7c-83e2-5eecd7ca6817@HIDDEN/ > >> > >> CCing sql.el maintainer. > > > > Thanks. > > > > From my POV, this change needs a NEWS entry, and I think Phil needs to > > do the legal paperwork of assigning the copyright to the FSF (I can > > send the form and the instructions if that's okay with Phil). > > I asked assign@HIDDEN for a pgp pub key last Wednesday > but no response so far. Is there any? I don't know, I never send any encrypted messages to them. In any case, please wait for a few more days, and then ping them and CC me.
X-Loop: help-debbugs@HIDDEN Subject: bug#76025: [PATCH 1/1] * lisp/progmodes/sql.el: login without prompting Resent-From: Ihor Radchenko <yantar92@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 18 Mar 2025 18:00:03 +0000 Resent-Message-ID: <handler.76025.B76025.17423207861439 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 76025 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Phil Estival <pe@HIDDEN> Cc: 76025 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, michael@HIDDEN Received: via spool by 76025-submit <at> debbugs.gnu.org id=B76025.17423207861439 (code B ref 76025); Tue, 18 Mar 2025 18:00:03 +0000 Received: (at 76025) by debbugs.gnu.org; 18 Mar 2025 17:59:46 +0000 Received: from localhost ([127.0.0.1]:43130 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tubEA-0000N9-4H for submit <at> debbugs.gnu.org; Tue, 18 Mar 2025 13:59:46 -0400 Received: from mout02.posteo.de ([185.67.36.66]:54561) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <yantar92@HIDDEN>) id 1tubE5-0000Lb-KQ for 76025 <at> debbugs.gnu.org; Tue, 18 Mar 2025 13:59:43 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id B2F2B240103 for <76025 <at> debbugs.gnu.org>; Tue, 18 Mar 2025 18:59:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1742320775; bh=p8I1O7NnvFlvcmWrAQpyVFbN8tnHBz1+R65jmKCPk2M=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=nVKC6Q+HlNXjSjKGPxjczlmhW2v+mttSpx2rK/rp8UDbUpfzSyTZV3sczoeJio5Bv 0NUEElNqxZK5rCY9l2ASNzGJ2sh/EvzLYOpltvCz9o4p5TYLIo9xY2hjseVS/bwFW5 hwId2C/82iqq1xVRnG9b3Zi/eYvWoMn8m4Ns9GmdexSCmdQNg+fEvxdayHENQvQtqV ZhCf7s7QllJ/TtLz20u8ulNT1LkjMEV7feFcSaqS+cISbIRNgC3/Oj+t6nUHgzFnVT ey3eIqYAQJVoE1fuu4kLBhfcmN169XqVW0fZ/bI/n3bjDkQWK/XeaA83I0YzguwR8c pjBCHblOrgTsg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4ZHKNl0hhWz9rxD; Tue, 18 Mar 2025 18:59:35 +0100 (CET) From: Ihor Radchenko <yantar92@HIDDEN> In-Reply-To: <87ikp7nfok.fsf@HIDDEN> References: <8734gws3zn.fsf@HIDDEN> <87ikpmvqad.fsf@localhost> <86v7tm5iqz.fsf@HIDDEN> <87ikp7nfok.fsf@HIDDEN> Date: Tue, 18 Mar 2025 17:58:56 +0000 Message-ID: <87jz8m9q5b.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) 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 (---) Phil Estival <pe@HIDDEN> writes: >> From my POV, this change needs a NEWS entry, and I think Phil needs to >> do the legal paperwork of assigning the copyright to the FSF (I can >> send the form and the instructions if that's okay with Phil). > > I asked assign@HIDDEN for a pgp pub key last Wednesday > but no response so far. Is there any? May I know if there is any progress? -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>
X-Loop: help-debbugs@HIDDEN Subject: bug#76025: [PATCH 1/1] * lisp/progmodes/sql.el: login without prompting Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 18 Mar 2025 20:49:04 +0000 Resent-Message-ID: <handler.76025.B76025.17423309238087 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 76025 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Ihor Radchenko <yantar92@HIDDEN> Cc: pe@HIDDEN, 76025 <at> debbugs.gnu.org, michael@HIDDEN Received: via spool by 76025-submit <at> debbugs.gnu.org id=B76025.17423309238087 (code B ref 76025); Tue, 18 Mar 2025 20:49:04 +0000 Received: (at 76025) by debbugs.gnu.org; 18 Mar 2025 20:48:43 +0000 Received: from localhost ([127.0.0.1]:43501 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tudre-00026L-L8 for submit <at> debbugs.gnu.org; Tue, 18 Mar 2025 16:48:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37098) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tudrb-00024z-9h for 76025 <at> debbugs.gnu.org; Tue, 18 Mar 2025 16:48:41 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1tudrU-000341-7J; Tue, 18 Mar 2025 16:48:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=FCHz5ujYVif1ipW6b2GnOF07jSjH/DMN2yks8RRRxG4=; b=OeyCBqdGhAQ2 xYIoMAVoPFInxnc7kkoeYloX5+JLGgYpy2gdTeMe/o8c7/kbirwQ4TXa/YLbl2xxS778i0ioIThE6 mZwZss1mNYemon11CYzJH+XcIXeDWn9U/yJASJmtZJI0NZfuIlLu9S5DDGp82HiW4gqGmumwvAcl6 om9pQI2h7gPFRN17H40Iab6yez/GRqWO6ItAfDfeb04hapWp8b659OAqgAYtkEqBuRXu6rnkaF+3S PMYY08kYFYZtV/Bm1tXRHNnsenRjE8QCWJOBFDI4UJIwZXUMU6+PfrU7F7WR5DGXzeVJPT9NrO862 kNZFNPT3cxF8HtNSARwyuQ==; Date: Tue, 18 Mar 2025 22:48:28 +0200 Message-Id: <861puuqd43.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <87jz8m9q5b.fsf@localhost> (message from Ihor Radchenko on Tue, 18 Mar 2025 17:58:56 +0000) References: <8734gws3zn.fsf@HIDDEN> <87ikpmvqad.fsf@localhost> <86v7tm5iqz.fsf@HIDDEN> <87ikp7nfok.fsf@HIDDEN> <87jz8m9q5b.fsf@localhost> X-Spam-Score: -2.3 (--) 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 (---) > From: Ihor Radchenko <yantar92@HIDDEN> > Cc: Eli Zaretskii <eliz@HIDDEN>, 76025 <at> debbugs.gnu.org, michael@HIDDEN > Date: Tue, 18 Mar 2025 17:58:56 +0000 > > Phil Estival <pe@HIDDEN> writes: > > >> From my POV, this change needs a NEWS entry, and I think Phil needs to > >> do the legal paperwork of assigning the copyright to the FSF (I can > >> send the form and the instructions if that's okay with Phil). > > > > I asked assign@HIDDEN for a pgp pub key last Wednesday > > but no response so far. Is there any? > > May I know if there is any progress? Not that I know of, no. I also didn't see any correspondence between Phil and the copyright clerk, although usually the copyright clerk CC's me on his responses. Phil, did you send the form to the FSF? Or are you still waiting for their PGP key?
X-Loop: help-debbugs@HIDDEN Subject: bug#76025: [PATCH 1/1] * lisp/progmodes/sql.el: login without prompting Resent-From: Phil Estival <pe@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 07 Apr 2025 12:01:02 +0000 Resent-Message-ID: <handler.76025.B76025.174402720627381 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 76025 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii <eliz@HIDDEN> Cc: 76025 <at> debbugs.gnu.org, Ihor Radchenko <yantar92@HIDDEN>, michael@HIDDEN Received: via spool by 76025-submit <at> debbugs.gnu.org id=B76025.174402720627381 (code B ref 76025); Mon, 07 Apr 2025 12:01:02 +0000 Received: (at 76025) by debbugs.gnu.org; 7 Apr 2025 12:00:06 +0000 Received: from localhost ([127.0.0.1]:53173 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1u1l93-000772-M5 for submit <at> debbugs.gnu.org; Mon, 07 Apr 2025 08:00:06 -0400 Received: from smtp-42ad.mail.infomaniak.ch ([2001:1600:7:10::42ad]:45149) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <pe@HIDDEN>) id 1u1l8u-000741-7N for 76025 <at> debbugs.gnu.org; Mon, 07 Apr 2025 07:59:57 -0400 Received: from smtp-4-0000.mail.infomaniak.ch (smtp-4-0000.mail.infomaniak.ch [10.7.10.107]) by smtp-4-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4ZWSSP0nzgzGMK; Mon, 7 Apr 2025 13:59:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=7d.nz; s=20240212; t=1744027189; bh=8JYQKwQ3uaYbR106b2pQ0VAIQja2i9cu1nfFt65jA5o=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=tT5aU/sWGLCHF4emV9dBBg4OMv+QXwp/VtVNnr0r+V9cFUdXBoAj12TV9LUtwlYYf CVeRkIFsydoibRV5uQ0wDRCees5zxSeg92mGaqA+L8bXS5jKZhxFjJ/rXyEIz44dWt 2aCG4gzBnKaUHrR/cIAWdTkM7v8pwyZgXQA8T8ulobBgH+SOJyxrJtdKoxxTbf1z4p TIbxw0naQQoPyLQgyK4kgi/qzP8qGnYMX9xPbg6FGleQiDxBSlhwXpZHUcrcZc/dIN 9KlctwOewNxF8kAYKk/tlRbwpA3ulqmTYjgWC/l+Fe5Pl3xDnBi5xtjtgbh91U+Bol TYd4I92LkiG7Q== Received: from unknown by smtp-4-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4ZWSSN1Qq2zWWc; Mon, 7 Apr 2025 13:59:48 +0200 (CEST) From: Phil Estival <pe@HIDDEN> In-Reply-To: <861puuqd43.fsf@HIDDEN> (Eli Zaretskii's message of "Tue, 18 Mar 2025 22:48:28 +0200") References: <8734gws3zn.fsf@HIDDEN> <87ikpmvqad.fsf@localhost> <86v7tm5iqz.fsf@HIDDEN> <87ikp7nfok.fsf@HIDDEN> <87jz8m9q5b.fsf@localhost> <861puuqd43.fsf@HIDDEN> User-Agent: mu4e 1.12.8; emacs 30.1 Date: Mon, 07 Apr 2025 13:59:47 +0200 Message-ID: <87h63018ss.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Infomaniak-Routing: alpha X-Spam-Score: -0.0 (/) 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: -1.0 (-) * [2025-03-18 22:48 +0200] Eli Zaretskii <eliz@HIDDEN>: >> From: Ihor Radchenko <yantar92@HIDDEN> >> Cc: Eli Zaretskii <eliz@HIDDEN>, 76025 <at> debbugs.gnu.org, michael@HIDDEN >> Date: Tue, 18 Mar 2025 17:58:56 +0000 >> >> Phil Estival <pe@HIDDEN> writes: >> >> >> From my POV, this change needs a NEWS entry, and I think Phil needs to >> >> do the legal paperwork of assigning the copyright to the FSF (I can >> >> send the form and the instructions if that's okay with Phil). >> > >> > I asked assign@HIDDEN for a pgp pub key last Wednesday >> > but no response so far. Is there any? >> >> May I know if there is any progress? > > Not that I know of, no. > > I also didn't see any correspondence between Phil and the copyright > clerk, although usually the copyright clerk CC's me on his responses. > > Phil, did you send the form to the FSF? Or are you still waiting for > their PGP key? I'm writing to them again to ask if there is one. -- Phil Estival
X-Loop: help-debbugs@HIDDEN Subject: bug#76025: [PATCH] ob-sql: session + sql.el w/o prompt Resent-From: Ihor Radchenko <yantar92@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 15 Apr 2025 16:31:02 +0000 Resent-Message-ID: <handler.76025.B76025.174473461019225 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 76025 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Phil Estival <pe@HIDDEN> Cc: Org Mode List <emacs-orgmode@HIDDEN>, Michael Mauger <mmauger@HIDDEN>, 76025 <at> debbugs.gnu.org Received: via spool by 76025-submit <at> debbugs.gnu.org id=B76025.174473461019225 (code B ref 76025); Tue, 15 Apr 2025 16:31:02 +0000 Received: (at 76025) by debbugs.gnu.org; 15 Apr 2025 16:30:10 +0000 Received: from localhost ([127.0.0.1]:54384 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1u4jAl-0004zb-8X for submit <at> debbugs.gnu.org; Tue, 15 Apr 2025 12:30:09 -0400 Received: from mout01.posteo.de ([185.67.36.65]:36019) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <yantar92@HIDDEN>) id 1u4jAg-0004wU-Br for 76025 <at> debbugs.gnu.org; Tue, 15 Apr 2025 12:30:04 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 78FD5240028 for <76025 <at> debbugs.gnu.org>; Tue, 15 Apr 2025 18:29:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1744734595; bh=+DTV/mxdLJEIrNoJgM8bPV0hXBBaJjGy/D+c8ZeumOk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=Za6AvaukJarb964i9dFK2IlDM1S4hetbCDAYVJrIuRTP8axD3Ueci4Q0oEcMxqcjn xjwxPdVKHM0FwN0OTaEWHJIZz2SEJlmWRn1yr3oknP3/3wgZSCjoAccZM7+stmbmsh YOrZIl35r1Cd1YIXkVv9o9aWQEQq0oJKIzpePf6aMjV2MYgGon3YFYlv5CMzhaXMRC 8sagtw31sR26oPbLNXCXDfSP6PTh/ZfmjqmEd+S1yJtJH2QByQT/HpQaOc5C5Mmyuk boXSFJhSQ81zdgmgRh6XUGrjwURvAdjBzKx/tmVVATEAWKlbllnW0F7bPdVmeX7rEi Pgayh6exGKY8w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4ZcV4L6TP8z6v0b; Tue, 15 Apr 2025 18:29:54 +0200 (CEST) From: Ihor Radchenko <yantar92@HIDDEN> In-Reply-To: <87r03zcgzu.fsf@localhost> References: <646f7d12-a3d1-4a7c-83e2-5eecd7ca6817@HIDDEN> <87seqrh3wl.fsf@localhost> <2c80ecf8-e114-45fd-8116-49ce0f975070@HIDDEN> <875xmq31vr.fsf@localhost> <a934b93f-eff2-4f2a-9c71-8815ede5f481@HIDDEN> <87a5bps4l1.fsf@localhost> <d693e368-5823-48bd-8f8b-c8aa9b18b480@HIDDEN> <87ikq9qpcc.fsf@localhost> <87r03zcgzu.fsf@localhost> Date: Tue, 15 Apr 2025 16:29:07 +0000 Message-ID: <87v7r51j8s.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) 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 (---) Ihor Radchenko <yantar92@HIDDEN> writes: > May you please update your latest patch for ob-sql.el, converting it > into (1) patch to sql.el; (2) patch for ob-sql.el that assumes changes > to sql.el? It has been a while since the last message in this thread. Phil, do you need any help on this? -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>
X-Loop: help-debbugs@HIDDEN Subject: bug#76025: [PATCH] ob-sql: session + sql.el w/o prompt Resent-From: Phil Estival <pe@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Wed, 16 Apr 2025 16:25:08 +0000 Resent-Message-ID: <handler.76025.B76025.174482067527530 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 76025 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Ihor Radchenko <yantar92@HIDDEN> Cc: Org Mode List <emacs-orgmode@HIDDEN>, Michael Mauger <mmauger@HIDDEN>, 76025 <at> debbugs.gnu.org Received: via spool by 76025-submit <at> debbugs.gnu.org id=B76025.174482067527530 (code B ref 76025); Wed, 16 Apr 2025 16:25:08 +0000 Received: (at 76025) by debbugs.gnu.org; 16 Apr 2025 16:24:35 +0000 Received: from localhost ([127.0.0.1]:40799 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1u55Yt-00079f-J0 for submit <at> debbugs.gnu.org; Wed, 16 Apr 2025 12:24:34 -0400 Received: from smtp-8fa9.mail.infomaniak.ch ([2001:1600:7:10::8fa9]:58231) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <pe@HIDDEN>) id 1u55Yo-00077t-4o for 76025 <at> debbugs.gnu.org; Wed, 16 Apr 2025 12:24:28 -0400 Received: from smtp-4-0001.mail.infomaniak.ch (smtp-4-0001.mail.infomaniak.ch [10.7.10.108]) by smtp-4-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4Zd5vP6dfzzKt2; Wed, 16 Apr 2025 18:24:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=7d.nz; s=20240212; t=1744820657; bh=CjYMBThOpb45DCS2EqjQnyDe2yK6eaIV/rk1E3ian6U=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=Jkm8+CKsie8SaTUiU0Y257eYGRVC8MRb2Npi7Zon6M+2b1Nr5FEQr+5VdEDI+FfBg SQzsheJMXuBgTxj5XijU/aLPVU9EdBCXyKCm8Ke8EepA8bmpo5MJrtyYyfMFuprIGn /WECq646fprULRykfgjUbbPKd9yjGxhzb9ON0wr1ynpLTjyIl+OrMYURyRoHvT9m0e vPSXIiXKgWL9E6fdTDkGVOg2kP3+h/lR6wXDZax4EyYz1FkfnXNWstrWuTTRQQSME0 uPtARXXPMh8/UfTe8LRdsJtTLIJr+BxHorqwcKo5s+vjcDgBe9mQMRTWcDKxlovlNN +pp1pqDaTqnuQ== Received: from unknown by smtp-4-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4Zd5vN73x4z98m; Wed, 16 Apr 2025 18:24:16 +0200 (CEST) From: Phil Estival <pe@HIDDEN> In-Reply-To: <87v7r51j8s.fsf@localhost> (Ihor Radchenko's message of "Tue, 15 Apr 2025 16:29:07 +0000") References: <646f7d12-a3d1-4a7c-83e2-5eecd7ca6817@HIDDEN> <87seqrh3wl.fsf@localhost> <2c80ecf8-e114-45fd-8116-49ce0f975070@HIDDEN> <875xmq31vr.fsf@localhost> <a934b93f-eff2-4f2a-9c71-8815ede5f481@HIDDEN> <87a5bps4l1.fsf@localhost> <d693e368-5823-48bd-8f8b-c8aa9b18b480@HIDDEN> <87ikq9qpcc.fsf@localhost> <87r03zcgzu.fsf@localhost> <87v7r51j8s.fsf@localhost> User-Agent: mu4e 1.12.8; emacs 30.1 Date: Wed, 16 Apr 2025 18:24:16 +0200 Message-ID: <875xj4jcr3.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Infomaniak-Routing: alpha X-Spam-Score: -0.0 (/) 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: -1.0 (-) * [2025-04-15 16:29 +0000] Ihor Radchenko <yantar92@HIDDEN>: > Ihor Radchenko <yantar92@HIDDEN> writes: > >> May you please update your latest patch for ob-sql.el, converting it >> into (1) patch to sql.el; (2) patch for ob-sql.el that assumes changes >> to sql.el? > > It has been a while since the last message in this thread. > Phil, do you need any help on this? I'm on it. I planned last monday to provide a release of this contribution this week and the next one. I've been using it as a work configuration lately and brought a few changes. -- Phil Estival
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.