From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.help Subject: Re: filtering output to the *compilation* buffer Date: Sun, 29 Dec 2002 17:59:57 +0100 Organization: University of Dortmund, Germany Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <848yy8pxpu.fsf@lucy.cs.uni-dortmund.de> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1041181591 15137 80.91.224.249 (29 Dec 2002 17:06:31 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 29 Dec 2002 17:06:31 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18SgtR-0003w0-00 for ; Sun, 29 Dec 2002 18:06:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18SgsV-0004Zz-04 for gnu-help-gnu-emacs@m.gmane.org; Sun, 29 Dec 2002 12:05:31 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!pd951f026.dip.t-dialin.NET!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Original-NNTP-Posting-Host: pd951f026.dip.t-dialin.net (217.81.240.38) Original-X-Trace: fu-berlin.de 1041181215 8862118 217.81.240.38 (16 [73968]) User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) Cancel-Lock: sha1:1MaifJsrbdHTSxa8EvG1UzfueAg= Original-Xref: shelby.stanford.edu gnu.emacs.help:108585 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:5114 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:5114 "Theepa Somasundaram" writes: > Within emacs, using elisp, is there any way of filtering the output > to a compilation buffer? > > for instance if the shell echoes the line, > "gud dummy.exe" > can I pick it from compile.el, or something, and call my own > function, which might start the debugger? Of course, you can search the *compilation* buffer and then extract a line from it and so on. But I think that's not the right approach. Investigate the call-make-from-M-x-gdb approach that I suggested in the other message. Alas, you might have to fiddle with the Lisp source... -- Ambibibentists unite!