From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xavier Maillard Newsgroups: gmane.emacs.help Subject: Re: comint or start-process Date: Thu, 10 Dec 2009 08:29:45 +0100 Organization: GNU's Not UNIX! Message-ID: <200912100729.nBA7Tj5o031247@fed.local> References: <200912092329.nB9NTfJn013100@fed.local> Reply-To: Xavier Maillard NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1260430226 17443 80.91.229.12 (10 Dec 2009 07:30:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Dec 2009 07:30:26 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Kevin Rodgers Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 10 08:30:19 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 1NIdTe-0001Am-Mg for geh-help-gnu-emacs@m.gmane.org; Thu, 10 Dec 2009 08:30:18 +0100 Original-Received: from localhost ([127.0.0.1]:51366 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NIdTe-0006o5-Em for geh-help-gnu-emacs@m.gmane.org; Thu, 10 Dec 2009 02:30:18 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NIdSJ-0006XT-Hf for help-gnu-emacs@gnu.org; Thu, 10 Dec 2009 02:28:55 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NIdSF-0006Vl-RH for help-gnu-emacs@gnu.org; Thu, 10 Dec 2009 02:28:55 -0500 Original-Received: from [199.232.76.173] (port=40028 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NIdSF-0006Vg-La for help-gnu-emacs@gnu.org; Thu, 10 Dec 2009 02:28:51 -0500 Original-Received: from out1.smtp.messagingengine.com ([66.111.4.25]:40008) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NIdSD-0002TE-NC for help-gnu-emacs@gnu.org; Thu, 10 Dec 2009 02:28:51 -0500 Original-Received: from compute2.internal (compute2.internal [10.202.2.42]) by gateway1.messagingengine.com (Postfix) with ESMTP id 7C9D6BF002; Thu, 10 Dec 2009 02:28:49 -0500 (EST) Original-Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute2.internal (MEProxy); Thu, 10 Dec 2009 02:28:49 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=date:message-id:from:to:cc:in-reply-to:subject:reply-to:references; s=smtpout; bh=nJm9dqYDgMZoSuxHE2AEmVQkuGI=; b=HfRuXzyoHHhOpSHnj18zThMil6c+SJkm8Y1o+WtUf//6hdzDiT2Jp2aH0JVavH5duJd6N0s7Qox/vC05vl6cjCrDK8JgTWiDD7uGE0Z+ILkDYNb4dDseM69uBb+3TH50tt3iYCy+gey0+fY2DbZ4NPT12gGHzY6BA+wEukDpVfE= X-Sasl-enc: MpE9oYRZ5XvjOY1hbKmtnkObgO4+FhHXcIRBhx6cqQRO 1260430128 Original-Received: from fed.local (cha51-2-82-244-211-40.fbx.proxad.net [82.244.211.40]) by mail.messagingengine.com (Postfix) with ESMTPSA id D66724AA7B4; Thu, 10 Dec 2009 02:28:48 -0500 (EST) Original-Received: from fed.local (fed.local [127.0.0.1]) by fed.local (8.14.3/8.14.3) with ESMTP id nBA7Tj3x031249 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 10 Dec 2009 08:29:45 +0100 Original-Received: (from xavier@localhost) by fed.local (8.14.3/8.14.3/Submit) id nBA7Tj5o031247; Thu, 10 Dec 2009 08:29:45 +0100 X-Authentication-Warning: fed.local: xavier set sender to xma@gnu.org using -f In-reply-to: (message from Kevin Rodgers on Wed, 09 Dec 2009 20:00:35 -0700) User-Agent: Rmail/23.1.1 Emacs/23.1.1 (gnu/linux) Jabber-ID: xavier@maillard.im X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:70546 Archived-At: Xavier Maillard wrote: > Hi, > > I am thinking of using SQLite in a non interactive way for stuff > I am developing. > > As far as I know, there is nothing to play with sqlite > programatically in emacs. I know there is `sql-sqlite' based on > comint but it seems it is not designed to be run non > interactivaly (maybe I am wrong). > > My plans are quite simple: > > - connect to my db > - execute queries > - parse the output to retrieve my data > - disconnect > > The retrieved data will be used later in my mode. > > Questions: do I really need to do something with start-process > and friends or do you think I can hack around comint (and/or > sql-sqlite) ? I'd start with sql-sqlite: you should be able to get something working pretty quickly, and if it turns out to have features that get in the way you'll be familiar enough with it to drop down a level to comint. Ok, then let's try that. Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org