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: Re: Building a database interface in Emacs Date: Wed, 20 Dec 2006 18:51:15 +0100 Message-ID: References: <1166629368.130069.193700@80g2000cwy.googlegroups.com> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1166640031 24650 80.91.229.10 (20 Dec 2006 18:40:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 20 Dec 2006 18:40:31 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 20 19:40:28 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 1Gx6Mc-0005RZ-3B for geh-help-gnu-emacs@m.gmane.org; Wed, 20 Dec 2006 19:40:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gx6Mb-0002hc-Le for geh-help-gnu-emacs@m.gmane.org; Wed, 20 Dec 2006 13:40:25 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news1.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 13 Original-X-Trace: individual.net hTiNTYFVdNSUe0qmym/kAwaJ8MwzZxrYTeqaiSSsCh0/gurEVV User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (windows-nt) Cancel-Lock: sha1:6DV9fNw/TadtYiMpt7f1j5ynRb8= Original-Xref: shelby.stanford.edu gnu.emacs.help:144175 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:39778 Archived-At: Lennart Borgman writes: > Perhaps these helps? > > (info "(elisp) Filter Functions") > (info "(elisp) Accepting Output") > (info "(elisp) Sentinels") Believe me, I have read those. More than once... :) The current approach seems to work quite well though. In my process filter I check for the SQL prompt and as soon as it is not seen I append all output to a global variable that I later use.