[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#13715: 24.2; Invalid function when calling sql-connect
From: |
roman . scherer |
Subject: |
bug#13715: 24.2; Invalid function when calling sql-connect |
Date: |
Thu, 14 Feb 2013 15:51:27 +0100 |
I defined some connections in sql-connection-alist like this:
(require 'sql)
(setq sql-connection-alist
'((db1
(sql-product 'mysql)
(sql-server "localhost")
(sql-user "tiger")
(sql-password "scotch")
(sql-database "db1")
(sql-port 3306))
(db2
(sql-product 'mysql)
(sql-server "localhost")
(sql-user "tiger")
(sql-password "scotch")
(sql-database "db2"))))
When calling sql-connect Emacs errors with the message "Invalid
function: (db1 db2)" when hitting tab or when typing the connection name
and pressing enter.
In GNU Emacs 24.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.6.4)
of 2013-01-20 on eric
Configured using:
`configure '--prefix=/usr' '--sysconfdir=/etc' '--libexecdir=/usr/lib'
'--localstatedir=/var' '--with-x-toolkit=gtk3' '--with-xft'
'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector
--param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2'
'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_US.UTF-8
value of $XMODIFIERS: nil
locale-coding-system: utf-8-unix
default enable-multibyte-characters: t
Major mode: Emacs-Lisp
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
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
ESC [ 8 ~ C-x C-e ESC [ B ESC [ B ESC [ B ESC [ B ESC
[ B ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B
ESC [ B ESC [ B ESC [ B ESC [ B ESC [ 8 ~ C-x C-e RET
RET ESC x s q TAB c o TAB n TAB RET d b 1 RET ESC x
ESC x ESC ESC ESC ESC x e m a TAB TAB ESC DEL r e p
o r t TAB RET
Recent messages:
("emacs" "sql.el")
For information about GNU Emacs and the GNU system, type C-h C-a.
sql
((db1 (sql-product (quote mysql)) (sql-server "localhost") (sql-user "tiger")
(sql-password "scotch") (sql-database "db1") (sql-port 3306)) (db2 (sql-product
(quote mysql)) (sql-server "localhost") (sql-user "tiger") (sql-password
"scotch") (sql-database "db2")))
Making completion list...
test-completion: Invalid function: (db1 db2)
completing-read-default: Command attempted to use minibuffer while in
minibuffer [2 times]
Quit
Making completion list...
Load-path shadows:
None found.
Features:
(shadow sort gnus-util mail-extr emacsbug message idna 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 help-mode view sql easymenu thingatpt
comint regexp-opt ansi-color ring time-date tooltip ediff-hook vc-hooks
lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe
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 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)
- bug#13715: 24.2; Invalid function when calling sql-connect,
roman . scherer <=