Subject: bug#15391: 24.3; sql-connection-alist customize interface sets CONNECTION as string; docstring specifies symbol.

From: "Phil Sainty" <[email-masked]>
Date: Mon, 16 Sep 2013 15:14:57 +1200 (NZST)

The docstring says:

> sql-connection-alist is a variable defined in `sql.el'.
>
> Documentation:
> An alist of connection parameters for interacting with a SQL product.
> Each element of the alist is as follows:
>
>   (CONNECTION (SQL-VARIABLE VALUE) ...)
>
> Where CONNECTION is a symbol identifying the connection

If you use customize to edit the variable, it sets CONNECTION to a string.

I don't know whether that's a bug with customize (that might cause
problems elsewhere if other code expects a symbol?), or if it's the
documentation that's incorrect, but something presumably needs
changing here.

-Phil

In GNU Emacs 24.3.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.4.2)
 of 2013-03-12 on shodan
Windowing system distributor `The X.Org Foundation', version 11.0.11103000
System Description:	Ubuntu 12.04.2 LTS

Configured using:
 `configure '--prefix=/home/phil/emacs/emacs24/emacs-24.3/usr/local''

Important settings:
  value of $LANG: en_NZ.UTF-8
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Help

Minor modes in effect:
  tooltip-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
  buffer-read-only: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<help-echo> M-x l o a d - l i <tab> <return> s q l
<return> M-x c u s t o m i z e - v a r <tab> <return>
s q l - c o n n <tab> <return> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <down-mouse-1>
<mouse-1> <help-echo> <help-echo> <down-mouse-1> <mouse-1>
t e s t <help-echo> <down-mouse-1> <mouse-1> <help-echo>
<down-mouse-1> <help-echo> <down-mouse-1> <mouse-1>
<down-mouse-1> <mouse-1> <help-echo> <down-mouse-1>
<mouse-1> <help-echo> <down-mouse-1> <mouse-1> f o
o <help-echo> <down-mouse-1> <mouse-1> <down-mouse-1>
<mouse-1> f o o <tab> SPC M-v <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <down>
<C-right> <left> <left> <left> <left> <left> <left>
<left> <left> <left> <left> <return> <tab> f o o <tab>
<return> <tab> l o c a l h o s t <tab> <help-echo>
<help-echo> <help-echo> <down-mouse-1> <mouse-1> <help-echo>
<help-echo> <help-echo> <C-home> <help-echo> <help-echo>
<help-echo> <help-echo> <down-mouse-1> <mouse-1> <help-echo>
g q C-h v <up> <return> <help-echo> <down-mouse-1>
<mouse-1> <next> <help-echo> <next> <help-echo> <down-mouse-1>
<mouse-2> C-x 1 <C-end> <help-echo> <down-mouse-4>
<mouse-4> <double-down-mouse-4> <double-mouse-4> <help-echo>
<down-mouse-1> <mouse-1> <C-home> <help-echo> <help-echo>
<down-mouse-1> <mouse-1> q <C-home> g y e s <return>
M-x r e p o r t - e m <tab> <return>

Recent messages:
Toggle this item.
Mark set
Custom-no-edit: You can't edit this part of the Custom buffer
Type C-x 1 to delete the help window, C-M-v to scroll help.
Creating customization items...
Creating customization items ...done
Resetting customization items...done
Creating customization setup...done
Mark set [3 times]

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util
mail-prsvr mail-utils pp help-mode help-fns cus-edit cus-start cus-load
wid-edit sql easymenu thingatpt comint ansi-color ring time-date tooltip
ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd
fontset image regexp-opt fringe tabulated-list newcomment lisp-mode
register page menu-bar rfn-eshadow timer select scroll-bar mouse
jit-lock font-lock syntax facemenu font-core frame cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
minibuffer loaddefs button faces cus-face macroexp files text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process dbusbind
dynamic-setting system-font-setting font-render-setting move-toolbar gtk
x-toolkit x multi-tty emacs)