From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alex Hutcheson Newsgroups: gmane.emacs.bugs Subject: bug#25440: 25.1.90; Incorrect documentation for sql-product-alist in sql.el Date: Fri, 13 Jan 2017 12:01:59 -0500 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c064b70f7b4fc0545fccb38 X-Trace: blaine.gmane.org 1484328470 4872 195.159.176.226 (13 Jan 2017 17:27:50 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 13 Jan 2017 17:27:50 +0000 (UTC) To: 25440@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 13 18:27:45 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cS5dg-0000fu-69 for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Jan 2017 18:27:44 +0100 Original-Received: from localhost ([::1]:43637 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cS5dk-0000py-Th for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Jan 2017 12:27:48 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55928) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cS5b5-0006iO-Rv for bug-gnu-emacs@gnu.org; Fri, 13 Jan 2017 12:25:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cS5b4-0007GF-20 for bug-gnu-emacs@gnu.org; Fri, 13 Jan 2017 12:25:03 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37709) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cS5b3-0007G2-Uk for bug-gnu-emacs@gnu.org; Fri, 13 Jan 2017 12:25:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cS5b3-0002PO-PH for bug-gnu-emacs@gnu.org; Fri, 13 Jan 2017 12:25:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alex Hutcheson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Jan 2017 17:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 25440 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14843282979243 (code B ref -1); Fri, 13 Jan 2017 17:25:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 Jan 2017 17:24:57 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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) Original-Received: by 10.200.61.146 with HTTP; Fri, 13 Jan 2017 09:01:59 -0800 (PST) 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-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 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:128084 Archived-At: --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--