From: roman.scherer@nugg.ad
To: 13715@debbugs.gnu.org
Subject: bug#13715: 24.2; Invalid function when calling sql-connect
Date: Thu, 14 Feb 2013 15:51:27 +0100 [thread overview]
Message-ID: <87wqub6j9s.fsf@gondwana.office.nugg.ad> (raw)
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)
next reply other threads:[~2013-02-14 14:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-14 14:51 roman.scherer [this message]
2013-02-14 23:50 ` bug#13715: 24.2; Invalid function when calling sql-connect Glenn Morris
2013-02-15 1:50 ` Glenn Morris
2013-02-15 1:54 ` Glenn Morris
[not found] ` <CAOkyP-ZTuVAHRpRVAAV2WiH5N0n2MRAaWRo6PfzbJKw_pGPyNg@mail.gmail.com>
2013-02-15 17:09 ` Glenn Morris
2013-03-11 1:54 ` Michael Mauger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wqub6j9s.fsf@gondwana.office.nugg.ad \
--to=roman.scherer@nugg.ad \
--cc=13715@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).