From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#13715: 24.2; Invalid function when calling sql-connect Date: Thu, 14 Feb 2013 18:50:30 -0500 Message-ID: References: <87wqub6j9s.fsf@gondwana.office.nugg.ad> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1360885896 26953 80.91.229.3 (14 Feb 2013 23:51:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Feb 2013 23:51:36 +0000 (UTC) Cc: 13715@debbugs.gnu.org To: roman.scherer@nugg.ad Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 15 00:51: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 1U68am-00084j-FF for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Feb 2013 00:51:52 +0100 Original-Received: from localhost ([::1]:37451 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U68aS-0007jx-V6 for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Feb 2013 18:51:32 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:46631) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U68aO-0007ja-Pm for bug-gnu-emacs@gnu.org; Thu, 14 Feb 2013 18:51:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U68aK-0003Of-3e for bug-gnu-emacs@gnu.org; Thu, 14 Feb 2013 18:51:28 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51269) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U68aK-0003Ob-0P for bug-gnu-emacs@gnu.org; Thu, 14 Feb 2013 18:51:24 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1U68ax-0002pG-5d for bug-gnu-emacs@gnu.org; Thu, 14 Feb 2013 18:52:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Feb 2013 23:52:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13715 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13715-submit@debbugs.gnu.org id=B13715.136088587310753 (code B ref 13715); Thu, 14 Feb 2013 23:52:03 +0000 Original-Received: (at 13715) by debbugs.gnu.org; 14 Feb 2013 23:51:13 +0000 Original-Received: from localhost ([127.0.0.1]:56729 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U68a8-0002nO-Ox for submit@debbugs.gnu.org; Thu, 14 Feb 2013 18:51:13 -0500 Original-Received: from fencepost.gnu.org ([208.118.235.10]:33549) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U68a6-0002nF-W2 for 13715@debbugs.gnu.org; Thu, 14 Feb 2013 18:51:11 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1U68ZS-0003G3-CK; Thu, 14 Feb 2013 18:50:30 -0500 X-Spook: bemd benelux smuggle anarchy SDI Soviet Serbian CNCIS X-Ran: f.-0w-oo/>S&QFO;+S71"O#0UZ{2/Cns'2,M_~ (roman scherer's message of "Thu, 14 Feb 2013 15:51:27 +0100") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) 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:71287 Archived-At: roman.scherer@nugg.ad wrote: > 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. Thanks for the report. This should fix it: *** lisp/progmodes/sql.el 2013-01-01 09:11:05 +0000 --- lisp/progmodes/sql.el 2013-02-14 23:46:50 +0000 *************** *** 3919,3925 **** "Read a connection name." (let ((completion-ignore-case t)) (completing-read prompt ! (mapcar (lambda (c) (car c)) sql-connection-alist) nil t initial 'sql-connection-history default))) --- 3919,3925 ---- "Read a connection name." (let ((completion-ignore-case t)) (completing-read prompt ! (mapcar (lambda (c) (symbol-name (car c))) sql-connection-alist) nil t initial 'sql-connection-history default)))