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: comint or start-process Date: Thu, 10 Dec 2009 00:29:41 +0100 Organization: GNU's Not UNIX! Message-ID: <200912092329.nB9NTfJn013100@fed.local> Reply-To: Xavier Maillard NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1260401396 11289 80.91.229.12 (9 Dec 2009 23:29:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Dec 2009 23:29:56 +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 Dec 10 00:29:49 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 1NIVyf-0007kU-0i for geh-help-gnu-emacs@m.gmane.org; Thu, 10 Dec 2009 00:29:49 +0100 Original-Received: from localhost ([127.0.0.1]:39110 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NIVye-0005YV-KQ for geh-help-gnu-emacs@m.gmane.org; Wed, 09 Dec 2009 18:29:48 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NIVxl-0005Kq-4S for help-gnu-emacs@gnu.org; Wed, 09 Dec 2009 18:28:53 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NIVxg-0005Ib-Ba for help-gnu-emacs@gnu.org; Wed, 09 Dec 2009 18:28:52 -0500 Original-Received: from [199.232.76.173] (port=42221 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NIVxg-0005IV-3N for help-gnu-emacs@gnu.org; Wed, 09 Dec 2009 18:28:48 -0500 Original-Received: from out1.smtp.messagingengine.com ([66.111.4.25]:51008) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NIVxf-00045D-Nw for help-gnu-emacs@gnu.org; Wed, 09 Dec 2009 18:28:47 -0500 Original-Received: from compute1.internal (compute1.internal [10.202.2.41]) by gateway1.messagingengine.com (Postfix) with ESMTP id 5F9D3C16E7 for ; Wed, 9 Dec 2009 18:28:47 -0500 (EST) Original-Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Wed, 09 Dec 2009 18:28:47 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=date:message-id:from:to:subject:reply-to; s=smtpout; bh=z5I/KRTH4/pBx19MAS0eYxkD84w=; b=GcjLzKzc6Jowwe1HQISrgeD1MzwSwHWWRclzcC3nI2grayPu/yoVJf3HIbD23EhUWPj/oTorLfjKtsVspBccNPesNI6RDa0jbHbvltINOcViV/FK5Q35GRXPfh04HWJta8Nr3imnRmzKo5yKnDpmYnbr+4mgrdrwvTJTqcIv3uw= X-Sasl-enc: AnJpp8EgMdKbqrOobTwxw22LCios0VDJACCEjfHlweok 1260401326 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 C554E36BD9 for ; Wed, 9 Dec 2009 18:28:46 -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 nB9NTgGA013102 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 10 Dec 2009 00:29:42 +0100 Original-Received: (from xavier@localhost) by fed.local (8.14.3/8.14.3/Submit) id nB9NTfJn013100; Thu, 10 Dec 2009 00:29:41 +0100 X-Authentication-Warning: fed.local: xavier set sender to xma@gnu.org using -f 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:70537 Archived-At: 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) ? Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org