From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: florian Newsgroups: gmane.emacs.help Subject: Re: Using a command-line program (sqlite3) as a backend Date: Wed, 25 Mar 2009 16:11:32 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1238024563 9632 80.91.229.12 (25 Mar 2009 23:42:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 25 Mar 2009 23:42:43 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 26 00:44:00 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LmclL-0007Qi-0B for geh-help-gnu-emacs@m.gmane.org; Thu, 26 Mar 2009 00:43:59 +0100 Original-Received: from localhost ([127.0.0.1]:58076 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lmcjx-0005pS-V0 for geh-help-gnu-emacs@m.gmane.org; Wed, 25 Mar 2009 19:42:33 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!z15g2000yqm.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Original-NNTP-Posting-Host: 92.73.186.220 Original-X-Trace: posting.google.com 1238022692 5636 127.0.0.1 (25 Mar 2009 23:11:32 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 25 Mar 2009 23:11:32 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: z15g2000yqm.googlegroups.com; posting-host=92.73.186.220; posting-account=D6LMWQoAAAA9mPFBi-XXlCxVbyI2qOo- User-Agent: G2/1.0 X-HTTP-UserAgent: Opera/9.62 (Windows NT 5.1; U; en-GB) Presto/2.1.1,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:167984 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:63271 Archived-At: On Mar 25, 2:03=A0am, Glenn Morris wrote: > You don't say anything about having looked at sql.el, distributed with > Emacs for 10 years. That's true, I didn't mention that. I did have a look, but my impression was that this is mainly concerned with editing SQL, and invoking one of several databases to test (or evaluate) the SQL statements written. This is definitely a useful thing, and might prove handy later on, but is not quite what I want to do right now. I want to use an SQLite database in a rather hidden (or let's call it "user- friendly") way, i.e. write functions that do e.g. queries, but take care of the SQL themselves. Nevertheless, I tested the (sql-sqlite ..) function, and it does not seem like a function that has actually ever been tested: it asks for a user name, password, and server, none of which makes sense with SQLite (or, as I suspect, has ever made sense with it). And it does complain and die: "sqlite3.exe: unknown option: -user=3Dflorian". That leaves me a little suspicious about whether sql.el can serve as a model, let alone library, for what I want to do. But I'm open to be taught otherwise, of course ... Best regards, Florian