From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Theepa Somasundaram" Newsgroups: gmane.emacs.help Subject: filtering output from compile Date: Sun, 29 Dec 2002 00:54:18 -0000 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <000801c2aed4$dd8e8580$3e28fc3e@oemcomputer> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============89058688587825574==" X-Trace: main.gmane.org 1041122899 3954 80.91.224.249 (29 Dec 2002 00:48:19 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 29 Dec 2002 00:48:19 +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 18SRco-00011d-00 for ; Sun, 29 Dec 2002 01:48:18 +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 18SRdT-0007Hv-02 for gnu-help-gnu-emacs@m.gmane.org; Sat, 28 Dec 2002 19:48:59 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18SRcy-00078l-00 for help-gnu-emacs@gnu.org; Sat, 28 Dec 2002 19:48:28 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18SRcw-00074C-00 for help-gnu-emacs@gnu.org; Sat, 28 Dec 2002 19:48:27 -0500 Original-Received: from mta02-svc.ntlworld.com ([62.253.162.42]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18SRcv-0006zR-00 for help-gnu-emacs@gnu.org; Sat, 28 Dec 2002 19:48:26 -0500 Original-Received: from oemcomputer ([62.252.40.62]) by mta02-svc.ntlworld.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with SMTP id <20021229004823.VNB14589.mta02-svc.ntlworld.com@oemcomputer> for ; Sun, 29 Dec 2002 00:48:23 +0000 Original-To: X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 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:5094 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:5094 This is a multi-part message in MIME format. --===============89058688587825574== content-type: multipart/alternative; boundary="----=_NextPart_000_0005_01C2AED4.D1FFD7A0" This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C2AED4.D1FFD7A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I am completely new to elisp. I have a Make file which contains a line like, gdb dummy.exe I run the make file from Emacs in compile mode. I would like Emacs not = to send the command to the shell and instead to execute the debugger = within Emacs, as if I had started the debugger with a shotcut key. Is this possible? Thanks in advance, Theepa ------=_NextPart_000_0005_01C2AED4.D1FFD7A0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
 
I am completely new to = elisp.
 
I have a Make file which contains a = line=20 like,
        = gdb=20 dummy.exe
I run the make file from Emacs in = compile mode. I=20 would like Emacs not to send the command to the shell and instead to = execute the=20 debugger within Emacs, as if I had started the debugger with a shotcut=20 key.
 
Is this possible?
 
Thanks in advance,=20 Theepa
------=_NextPart_000_0005_01C2AED4.D1FFD7A0-- --===============89058688587825574== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://mail.gnu.org/mailman/listinfo/help-gnu-emacs --===============89058688587825574==-- 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 from compile Date: Sun, 29 Dec 2002 12:34:51 +0100 Organization: University of Dortmund, Germany Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <84bs35xdlw.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 1041162203 28047 80.91.224.249 (29 Dec 2002 11:43:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 29 Dec 2002 11:43:23 +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 18Sbqj-0007ID-00 for ; Sun, 29 Dec 2002 12:43:21 +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 18Sbk6-0003s8-04 for gnu-help-gnu-emacs@m.gmane.org; Sun, 29 Dec 2002 06:36:30 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!fu-berlin.de!uni-berlin.de!pd951f026.dip.t-dialin.NET!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 15 Original-NNTP-Posting-Host: pd951f026.dip.t-dialin.net (217.81.240.38) Original-X-Trace: fu-berlin.de 1041161707 9032517 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:Nfjr7+tcv73EEwg78zDyRjDHXOU= Original-Xref: shelby.stanford.edu gnu.emacs.help:108572 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:5101 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:5101 "Theepa Somasundaram" writes: > I have a Make file which contains a line like, > gdb dummy.exe > I run the make file from Emacs in compile mode. I would like Emacs > not to send the command to the shell and instead to execute the > debugger within Emacs, as if I had started the debugger with a > shotcut key. It is not possible for make to talk back to Emacs to do stuff. So you will have to circumvent make. I suggest you try M-x gdb RET. -- Ambibibentists unite! 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 from compile Date: Sun, 29 Dec 2002 17:57:48 +0100 Organization: University of Dortmund, Germany Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <84bs34pxtf.fsf@lucy.cs.uni-dortmund.de> References: <84bs35xdlw.fsf@lucy.cs.uni-dortmund.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1041181391 14559 80.91.224.249 (29 Dec 2002 17:03:11 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 29 Dec 2002 17:03:11 +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 18SgqD-0003ma-00 for ; Sun, 29 Dec 2002 18:03:09 +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 18Sgod-00030P-02 for gnu-help-gnu-emacs@m.gmane.org; Sun, 29 Dec 2002 12:01:31 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!news-out.cwix.com!newsfeed.cwix.com!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.nacamar.de!fu-berlin.de!uni-berlin.de!pd951f026.dip.t-dialin.NET!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Original-NNTP-Posting-Host: pd951f026.dip.t-dialin.net (217.81.240.38) Original-X-Trace: fu-berlin.de 1041181086 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:tQS6XlGLOB66vFRTJUvXMk3Jxts= Original-Xref: shelby.stanford.edu gnu.emacs.help:108584 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:5113 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:5113 kai.grossjohann@uni-duisburg.de (Kai Großjohann) writes: > "Theepa Somasundaram" writes: > >> I have a Make file which contains a line like, >> gdb dummy.exe >> I run the make file from Emacs in compile mode. I would like Emacs >> not to send the command to the shell and instead to execute the >> debugger within Emacs, as if I had started the debugger with a >> shotcut key. > > It is not possible for make to talk back to Emacs to do stuff. So > you will have to circumvent make. > > I suggest you try M-x gdb RET. I forgot to mention that it might be possible to change the command line. M-x gdb RET offers you to type a command. You could try typing "make frumple" there, if frumple is the target that invokes the debugger in the end. But this might fail because M-x gdb RET does some magic with the command line that you type. Investigate the function gud-gdb-massage-args for the gory details. -- Ambibibentists unite!