From unknown Fri Aug 15 15:33:32 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#25440 <25440@debbugs.gnu.org> To: bug#25440 <25440@debbugs.gnu.org> Subject: Status: 25.1.90; Incorrect documentation for sql-product-alist in sql.el Reply-To: bug#25440 <25440@debbugs.gnu.org> Date: Fri, 15 Aug 2025 22:33:32 +0000 retitle 25440 25.1.90; Incorrect documentation for sql-product-alist in sql= .el reassign 25440 emacs submitter 25440 Alex Hutcheson severity 25440 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 13 12:24:57 2017 Received: (at submit) by debbugs.gnu.org; 13 Jan 2017 17:24:57 +0000 Received: from localhost ([127.0.0.1]:53108 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cS5ay-0002P0-MO for submit@debbugs.gnu.org; Fri, 13 Jan 2017 12:24:57 -0500 Received: from eggs.gnu.org ([208.118.235.92]:59753) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cS5FH-0001tF-MU for submit@debbugs.gnu.org; Fri, 13 Jan 2017 12:02:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cS5FA-0007d5-Ud for submit@debbugs.gnu.org; Fri, 13 Jan 2017 12:02:26 -0500 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,HTML_MESSAGE, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:59500) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cS5FA-0007d1-RS for submit@debbugs.gnu.org; Fri, 13 Jan 2017 12:02:24 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50703) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cS5F8-0002st-Rr for bug-gnu-emacs@gnu.org; Fri, 13 Jan 2017 12:02:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cS5F7-0007a3-2v for bug-gnu-emacs@gnu.org; Fri, 13 Jan 2017 12:02:22 -0500 Received: from mail-qk0-x22f.google.com ([2607:f8b0:400d:c09::22f]:36776) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cS5F6-0007Zj-UO for bug-gnu-emacs@gnu.org; Fri, 13 Jan 2017 12:02:21 -0500 Received: by mail-qk0-x22f.google.com with SMTP id 11so60184692qkl.3 for ; Fri, 13 Jan 2017 09:02:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=nA0go2eTMGScNgJTY6UCzeMAuX37oYfvW1i6hbfzPWg=; b=wNotDg0o60lB4mNgcLq/S+bVFxjH8T2uzTdeSAawruLatqwAof9uRHZcU9dAV+rs7/ P89wH38XzOwXFLR97BewR9lz2hGQgpuQW3g0C+9nZo/qKQlqiaxoPOx3M6BjPVpAC+Jw gWAh69y1+pItehmX9TYiQSYp4qPP20a2W2eqqnHXeE/yUdH2BWJIM6uK39RU6F2quoJ0 Eb5kvPgCVmgRfVnzEyB/9JXv39SGUs7qio/ByFkghCFFVv/2ZhjIlvjpxL1HK3w9RIKD 7ltsdc9mrwkziu7F9VFABFyTSIepT5s7DktBDfSOaMVN/SlnJ+/uzG7hVGK3xxU1Kyy7 ehZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=nA0go2eTMGScNgJTY6UCzeMAuX37oYfvW1i6hbfzPWg=; b=AyD7Sj1aK8Rvpq/Z9FCsZTC2SofUV8AZTEzdb5kLFR7UOGQ/rhSFjD9vsekGPuQrlC wgZr+paUp0tPKsKGUDfud/OmHSnnN5zk+FzGDhVHjDR1RuL2p0+oHdDGEfKM+zRDVHEj q0E6jUpC1QOpOwFDPT3wRvm2/+cPdwqMHl/2hpFtqUx4eSrCrywTizGfTpkQwMBD+VM8 ou9Nw02hb5jva6cIIswYtT4IfQ0XFCbB9b6EfmZWxFJkpNlwFcR38Y8mfGmEY+ccKxsM F8DDU6wV5WgjG9g8pBcl/QghyTcoOB4Qz9Mn6cxzP43PPXfLKtHblPVPK/5TS6JNxB4N 1p8Q== X-Gm-Message-State: AIkVDXLm6vF1ThBrOLHTPJ5p1G1kI/uc5/2xPb5qNCWmz57ASP6znBQCSXJRa6IgO2SdZodl3X1a0x7Kb7p8Egvw X-Received: by 10.55.164.85 with SMTP id n82mr17531461qke.316.1484326939609; Fri, 13 Jan 2017 09:02:19 -0800 (PST) MIME-Version: 1.0 Received: by 10.200.61.146 with HTTP; Fri, 13 Jan 2017 09:01:59 -0800 (PST) From: Alex Hutcheson Date: Fri, 13 Jan 2017 12:01:59 -0500 Message-ID: Subject: 25.1.90; Incorrect documentation for sql-product-alist in sql.el To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=94eb2c064b70f7b4fc0545fccb38 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 13 Jan 2017 12:24:55 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --94eb2c064b70f7b4fc0545fccb38 Content-Type: text/plain; charset=UTF-8 The documentation for the variable 'sql-product-alist' incorrectly describes the appropriate value for the :sqli-comint-func feature. The documentation specifies: > :sqli-comint-func name of a function which accepts no > parameters that will use the values of ... However, the function actually needs to have two parameters: 'product' and 'options'. See the following two examples in sql.el to confirm: http://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/progmodes/sql.el#n159 http://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/progmodes/sql.el#n4337 The doc string for :sqli-comint-func (here: http://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/progmodes/sql.el#n554) needs to be changed to reflect this. In GNU Emacs 25.1.90.1 (x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars), modified by Debian Windowing system distributor 'The X.Org Foundation', version 11.0.11501000 System Description: Ubuntu 14.04 LTS Configured using: 'configure --build x86_64-linux-gnu --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/google-emacs:/etc/emacs:/usr/local/share/emacs/25.1.90+gg1+2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/25.1.90+gg1+2/site-lisp:/usr/share/emacs/site-lisp --with-crt-dir=/usr/lib/x86_64-linux-gnu --disable-build-details --disable-silent-rules --with-modules GOOGLE_VERSION=25.1.90+gg1+2 --with-x=yes --with-x-toolkit=lucid --with-toolkit-scroll-bars --without-gconf --without-gsettings build_alias=x86_64-linux-gnu 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-fuse-ld=gold,--export-dynamic-symbol=__google_auxv' 'CPPFLAGS=-D_FORTIFY_SOURCE=2 -DGOOGLE_EMACS_DEFINE_AUXV'' Configured features: XAW3D XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS NOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS LUCID X11 MODULES Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message dired format-spec rfc822 mml mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode easymenu cl-loaddefs pcase cl-lib mail-prsvr mail-utils time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting font-render-setting x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 87038 6275) (symbols 48 19930 0) (miscs 40 49 110) (strings 32 15089 4565) (string-bytes 1 425094) (vectors 16 11827) (vector-slots 8 435626 4746) (floats 8 168 28) (intervals 56 262 0) (buffers 976 19) (heap 1024 30287 730)) --94eb2c064b70f7b4fc0545fccb38 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
The documentation for the variable 'sql-product-alist&= #39; incorrectly
describes the appropriate value for the :sqli-comint-fu= nc feature.
The documentation specifies:
> :sqli-comint-func =C2= =A0 =C2=A0 =C2=A0name of a function which accepts no
> =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0parame= ters that will use the values of ...

However, the function actually = needs to have two parameters: 'product'
and 'options'. S= ee the following two examples in sql.el to confirm:
http://g= it.savannah.gnu.org/cgit/emacs.git/tree/lisp/progmodes/sql.el#n159
<= a href=3D"http://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/progmodes/sq= l.el#n4337">http://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/progmodes/= sql.el#n4337

The doc string for :sqli-comint-func (here:
http://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/progmodes/sql.= el#n554)
needs to be changed to reflect this.

In GNU Emacs 25= .1.90.1 (x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars), modified by De= bian
Windowing system distributor 'The X.Org Foundation', versio= n 11.0.11501000
System Description: Ubuntu 14.04 LTS

Configured u= sing:
=C2=A0'configure --build x86_64-linux-gnu --build x86_64-linux= -gnu
=C2=A0--prefix=3D/usr --sharedstatedir=3D/var/lib --libexecdir=3D/u= sr/lib
=C2=A0--localstatedir=3D/var/lib --infodir=3D/usr/share/info
= =C2=A0--mandir=3D/usr/share/man --with-pop=3Dyes
=C2=A0--enable-locallis= ppath=3D/etc/google-emacs:/etc/emacs:/usr/local/share/emacs/25.1.90+gg1+2/s= ite-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/25.1.90+gg1+2/si= te-lisp:/usr/share/emacs/site-lisp
=C2=A0--with-crt-dir=3D/usr/lib/x86_6= 4-linux-gnu --disable-build-details
=C2=A0--disable-silent-rules --with-= modules GOOGLE_VERSION=3D25.1.90+gg1+2
=C2=A0--with-x=3Dyes --with-x-too= lkit=3Dlucid --with-toolkit-scroll-bars
=C2=A0--without-gconf --without-= gsettings build_alias=3Dx86_64-linux-gnu
=C2=A0'CFLAGS=3D-g -O2 -fst= ack-protector --param=3Dssp-buffer-size=3D4 -Wformat
=C2=A0-Werror=3Dfor= mat-security -Wall' 'LDFLAGS=3D-Wl,-Bsymbolic-functions
=C2=A0-W= l,-z,relro -Wl,-fuse-ld=3Dgold,--export-dynamic-symbol=3D__google_auxv'=
=C2=A0'CPPFLAGS=3D-D_FORTIFY_SOURCE=3D2 -DGOOGLE_EMACS_DEFINE_AUXV&= #39;'

Configured features:
XAW3D XPM JPEG TIFF GIF PNG RSVG I= MAGEMAGICK SOUND GPM DBUS NOTIFY
LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N= _FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS LUCID X11 MODULES

Import= ant settings:
=C2=A0 value of $LANG: en_US.UTF-8
=C2=A0 value of $XMO= DIFIERS: @im=3Dibus
=C2=A0 locale-coding-system: utf-8-unix

Major= mode: Lisp Interaction

Minor modes in effect:
=C2=A0 tooltip-mod= e: t
=C2=A0 global-eldoc-mode: t
=C2=A0 electric-indent-mode: t
= =C2=A0 mouse-wheel-mode: t
=C2=A0 tool-bar-mode: t
=C2=A0 menu-bar-mo= de: t
=C2=A0 file-name-shadow-mode: t
=C2=A0 global-font-lock-mode: t=
=C2=A0 font-lock-mode: t
=C2=A0 blink-cursor-mode: t
=C2=A0 auto-= composition-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0 auto-compre= ssion-mode: t
=C2=A0 line-number-mode: t
=C2=A0 transient-mark-mode: = t

Recent messages:
For information about GNU Emacs and the GNU sy= stem, type C-h C-a.

Load-path shadows:
None found.

Feature= s:
(shadow sort mail-extr emacsbug message dired format-spec rfc822 mml<= br>mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies
m= m-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail
rfc= 2047 rfc2045 ietf-drums mm-util help-fns help-mode easymenu
cl-loaddefs = pcase cl-lib mail-prsvr mail-utils time-date mule-util
tooltip eldoc ele= ctric uniquify ediff-hook vc-hooks lisp-float-type
mwheel x-win term/com= mon-win x-dnd tool-bar dnd fontset image regexp-opt
fringe tabulated-lis= t newcomment elisp-mode lisp-mode prog-mode register
page menu-bar rfn-e= shadow timer select scroll-bar mouse jit-lock
font-lock syntax facemenu = font-core frame cl-generic cham georgian
utf-8-lang misc-lang vietnamese= tibetan thai tai-viet lao korean
japanese eucjp-ms cp51932 hebrew greek= romanian slovak czech european
ethiopic indian cyrillic chinese charscr= ipt case-table epa-hook
jka-cmpr-hook help simple abbrev minibuffer cl-p= reloaded nadvice
loaddefs button faces cus-face macroexp files text-prop= erties overlay
sha1 md5 base64 format env code-pages mule custom widget<= br>hashtable-print-readable backquote dbusbind inotify dynamic-setting
f= ont-render-setting x-toolkit x multi-tty make-network-process emacs)
Memory information:
((conses 16 87038 6275)
=C2=A0(symbols 48 19930 = 0)
=C2=A0(miscs 40 49 110)
=C2=A0(strings 32 15089 4565)
=C2=A0(st= ring-bytes 1 425094)
=C2=A0(vectors 16 11827)
=C2=A0(vector-slots 8 4= 35626 4746)
=C2=A0(floats 8 168 28)
=C2=A0(intervals 56 262 0)
=C2= =A0(buffers 976 19)
=C2=A0(heap 1024 30287 730))
--94eb2c064b70f7b4fc0545fccb38-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 14 03:41:44 2017 Received: (at 25440-done) by debbugs.gnu.org; 14 Jan 2017 08:41:44 +0000 Received: from localhost ([127.0.0.1]:53336 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cSJuB-0003DN-VK for submit@debbugs.gnu.org; Sat, 14 Jan 2017 03:41:44 -0500 Received: from eggs.gnu.org ([208.118.235.92]:57239) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cSJuA-0003DA-68 for 25440-done@debbugs.gnu.org; Sat, 14 Jan 2017 03:41:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cSJu1-0004mf-Qb for 25440-done@debbugs.gnu.org; Sat, 14 Jan 2017 03:41:36 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53134) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cSJu1-0004mb-N1; Sat, 14 Jan 2017 03:41:33 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4690 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cSJu0-0002N2-Uv; Sat, 14 Jan 2017 03:41:33 -0500 Date: Sat, 14 Jan 2017 10:41:43 +0200 Message-Id: <83mveuav94.fsf@gnu.org> From: Eli Zaretskii To: Alex Hutcheson In-reply-to: (message from Alex Hutcheson on Fri, 13 Jan 2017 12:01:59 -0500) Subject: Re: bug#25440: 25.1.90; Incorrect documentation for sql-product-alist in sql.el References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -8.2 (--------) X-Debbugs-Envelope-To: 25440-done Cc: 25440-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -8.2 (--------) > From: Alex Hutcheson > Date: Fri, 13 Jan 2017 12:01:59 -0500 > > The documentation for the variable 'sql-product-alist' incorrectly > describes the appropriate value for the :sqli-comint-func feature. > The documentation specifies: > > :sqli-comint-func name of a function which accepts no > > parameters that will use the values of ... > > However, the function actually needs to have two parameters: 'product' > and 'options'. See the following two examples in sql.el to confirm: > http://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/progmodes/sql.el#n159 > http://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/progmodes/sql.el#n4337 > > The doc string for :sqli-comint-func (here: > http://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/progmodes/sql.el#n554) > needs to be changed to reflect this. Thanks, fixed for Emacs 25.2. From unknown Fri Aug 15 15:33:32 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 11 Feb 2017 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator