From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: roman.scherer@nugg.ad Newsgroups: gmane.emacs.bugs Subject: bug#13715: 24.2; Invalid function when calling sql-connect Date: Thu, 14 Feb 2013 15:51:27 +0100 Message-ID: <87wqub6j9s.fsf@gondwana.office.nugg.ad> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1360868496 17490 80.91.229.3 (14 Feb 2013 19:01:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Feb 2013 19:01:36 +0000 (UTC) To: 13715@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 14 20:01:56 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U644B-0005Ih-P8 for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Feb 2013 20:01:55 +0100 Original-Received: from localhost ([::1]:39183 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U643s-0001Q1-3p for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Feb 2013 14:01:36 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:57218) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U643k-0001OB-8m for bug-gnu-emacs@gnu.org; Thu, 14 Feb 2013 14:01:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U643g-000435-5F for bug-gnu-emacs@gnu.org; Thu, 14 Feb 2013 14:01:28 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51091) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U643g-00042v-28 for bug-gnu-emacs@gnu.org; Thu, 14 Feb 2013 14:01:24 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1U644H-0000kT-Us for bug-gnu-emacs@gnu.org; Thu, 14 Feb 2013 14:02:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: roman.scherer@nugg.ad Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Feb 2013 19:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 13715 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.13608684922817 (code B ref -1); Thu, 14 Feb 2013 19:02:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Feb 2013 19:01:32 +0000 Original-Received: from localhost ([127.0.0.1]:56555 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U643n-0000jM-BM for submit@debbugs.gnu.org; Thu, 14 Feb 2013 14:01:32 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:41633) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U63oG-0000Ay-Ma for submit@debbugs.gnu.org; Thu, 14 Feb 2013 13:45:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U63nV-0008K1-Ra for submit@debbugs.gnu.org; Thu, 14 Feb 2013 13:44:50 -0500 Original-Received: from lists.gnu.org ([208.118.235.17]:54846) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U63L0-0004dy-92 for submit@debbugs.gnu.org; Thu, 14 Feb 2013 13:15:14 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:43586) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U63DN-0000cP-DG for bug-gnu-emacs@gnu.org; Thu, 14 Feb 2013 13:07:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U60hw-000799-Ua for bug-gnu-emacs@gnu.org; Thu, 14 Feb 2013 10:27:34 -0500 Original-Received: from [212.45.111.145] (port=33225 helo=gondwana.office.nugg.ad) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U60hw-00078p-Kn for bug-gnu-emacs@gnu.org; Thu, 14 Feb 2013 10:26:44 -0500 Original-Received: by gondwana.office.nugg.ad (Postfix, from userid 1000) id C72279E1DBE; Thu, 14 Feb 2013 15:51:27 +0100 (CET) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Thu, 14 Feb 2013 14:01:29 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:71279 Archived-At: 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)