From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "aartist" Newsgroups: gmane.emacs.help Subject: Re: Building a database interface in Emacs Date: 20 Dec 2006 07:42:48 -0800 Organization: http://groups.google.com Message-ID: <1166629368.130069.193700@80g2000cwy.googlegroups.com> References: NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: sea.gmane.org 1166632841 19208 80.91.229.10 (20 Dec 2006 16:40:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 20 Dec 2006 16:40:41 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 20 17:40:40 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 1Gx4Ua-0004mi-Ar for geh-help-gnu-emacs@m.gmane.org; Wed, 20 Dec 2006 17:40:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gx4UZ-0007kA-09 for geh-help-gnu-emacs@m.gmane.org; Wed, 20 Dec 2006 11:40:31 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!80g2000cwy.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 28 Original-NNTP-Posting-Host: 216.27.249.220 Original-X-Trace: posting.google.com 1166629374 13856 127.0.0.1 (20 Dec 2006 15:42:54 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 20 Dec 2006 15:42:54 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: 80g2000cwy.googlegroups.com; posting-host=216.27.249.220; posting-account=bnXY7g0AAADX1jdCvJidxQUPIJp2L58F Original-Xref: shelby.stanford.edu gnu.emacs.help:144165 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:39768 Archived-At: You might want to look at Widget and Skeleton. M-x Customize-browse is one classic example, you might want to follow. C-h i m widget Mathias Dahl wrote: > 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