From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mathias Dahl Newsgroups: gmane.emacs.help Subject: Building a database interface in Emacs Date: Wed, 20 Dec 2006 13:28:17 +0100 Message-ID: NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1166618455 28441 80.91.229.10 (20 Dec 2006 12:40:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 20 Dec 2006 12:40:55 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 20 13:40:55 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1Gx0kW-0007SL-Da for geh-help-gnu-emacs@m.gmane.org; Wed, 20 Dec 2006 13:40:44 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gx0kW-0008WO-0S for geh-help-gnu-emacs@m.gmane.org; Wed, 20 Dec 2006 07:40:44 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 21 Original-X-Trace: individual.net NK1I7JC9/tvahOYaXZeUlAI1aDkrTkViJRCJf4f31EHWDmKY+z User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (windows-nt) Cancel-Lock: sha1:OwFTByTYRfEzNY6yY5+zVaZy2cI= Original-Xref: shelby.stanford.edu gnu.emacs.help:144160 Original-To: help-gnu-emacs@gnu.org 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:39763 Archived-At: I have been looking into using Emacs for doing queries etc against an Oracle database, for certain work purposes. I use the nice functions in sql.el (M-x sql-oracle in my case) for doing ad-hoc queries and such, but I want to build some small forms or similar to process certain data, with the intent of replacing some of the boring and heavy GUI apps we have. At first I just want to see if it is possible to do, by making up some simple form to browse records or similar. What would be the best approach for doing this? First I tried adding something on top of sql.el and comint.el but it seemed overkill as I am not interested in a command line interface. My current plan is to use `start-process' to start sqlplus in a process, and to send input and parse the output I get back from that process. Is there any smarter way of doing it? I want to do this on w32, btw. /Mathias